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: 853
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: 853
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: 267

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 103

pramanj: 86

ibrahim: 70

kapsl: 57

gjevremovic: 49

TimK: 41

Fransua33: 39

fred: 38

Rainer Versteeg: 32

Thomas Reuther: 31

Member Stats:

Guest Posters: 0

Members: 1118

Moderators: 14

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1034

Posts: 4352

Newest Members:

aldayr, Python techie, emanuel45q, Patrick, sammycontrols, hellema, linoy, subranna, ray, richN9177

Moderators: Jouni Aro: 853, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 559, Heikki Tahvanainen: 402, Jukka Asikainen: 1, Teppo Uimonen: 21, Markus Johansson: 24, Matti Siponen: 64, Lusetti: 0

Administrators: admin: 1