Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
_id_IMarshal not defined
June 10, 2013
20:07, EEST
Avatar
Francis Wai
New Member
Members
Forum Posts: 1
Member Since:
June 10, 2013
sp_UserOfflineSmall Offline

I am currently running the evaluation of Sentrol. I use C++ Builder 6 running on Windows 7 Pro.
I encounter a compilation error when following the tutorial.
The included header file PsOPC.hpp contains “_di_IMarshal” which is not declared in anywhere.

June 11, 2013
8:03, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Yes this is actually a known issue in Sentrol 6.1.0, which should be fixed in an upcoming version. I sent you a link to get Sentrol 6.0.1, which does not have the problem.

June 12, 2013
13:58, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

This line must be added to PsOPC.hpp:

DECLARE_DINTERFACE_TYPE(IMarshal)

It is missing from the C++Builder files up to Delphi XE.

Will be fixed in the next Sentrol release, which is due out pretty soon now. It will also add support to XE3 and XE4.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
87 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 749

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

scvchad954, misty3446453365, KelsonzFu, Kelsonz, lienbelisario, erick34s63346, Kaitlyntvsl, lonaerskine7, KTP21ideft, Georgecotag

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1