Calling C runtime methods in Managed C++ - getting exception, please help
From: Paul Brun (pb_newsgroup_at_pbrun.net)
Date: 02/24/04
- Next message: Motoxcat: "GCHandle / Delegate Design Guidelines"
- Previous message: Eugene Khosid: "Passing arrays from VB6 to C# ActiveX"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Feb 2004 15:31:24 -0500
Hey guys,
I have a method defined in a C header and want to call it from Managed C++. The header
definition is:
extern int SXInit (int, ...);
now...the problem I have is that I can a runtime exception:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at SXInit(Int32 )
.
.
.
.
How do I go about remedying this issue so I can call variable length C runtime methods correctly?
Thanks
Paul
- Next message: Motoxcat: "GCHandle / Delegate Design Guidelines"
- Previous message: Eugene Khosid: "Passing arrays from VB6 to C# ActiveX"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|