The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Any Delphi/C++ Gurus in the house? by Intrinsic 2008-10-21 22:12:48
I've created a (Visual)C++ DLL with a single export, the single export returns an instance of a pure virtual interface class which is then used to control the attached device.

I need to be able to use this object from Delphi, I can load the DLL fine and calling the export returns the pointer to the object but Delphi chokes with a "Privileged Instruction" exception.

When I look at the returned object it's there but Delphi doesn't seem to "understand" it because in inspector it turns up as ().

Any suggestions greatly appreciated.
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)