Click here to Skip to main content
15,902,189 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: One further problem with intercommunicating between managed classes Pin
AnsGe21-Oct-04 10:48
AnsGe21-Oct-04 10:48 
GeneralNew to CLI Pin
Matt Newman17-Oct-04 17:51
Matt Newman17-Oct-04 17:51 
GeneralRe: New to CLI Pin
Nish Nishant17-Oct-04 18:43
sitebuilderNish Nishant17-Oct-04 18:43 
GeneralRe: New to CLI Pin
Matt Newman18-Oct-04 6:02
Matt Newman18-Oct-04 6:02 
GeneralAborting a Thread:; won't leave AbortRequested state Pin
jblau17-Oct-04 14:56
jblau17-Oct-04 14:56 
GeneralWin32 like message loop Pin
Member 141177716-Oct-04 20:07
Member 141177716-Oct-04 20:07 
QuestionDOS 16-BIT client/server ??? Pin
porac6916-Oct-04 14:22
porac6916-Oct-04 14:22 
GeneralManaged Wrapper to Unmanaged DLL Pin
bluerpk15-Oct-04 18:24
bluerpk15-Oct-04 18:24 
I have a dll written using VC++ 6. I cannot change it. But, I need to use it in C#. I am trying to write a wrapper in MC++ and then access it.

This is what I am trying.

In C#
------
static void Main()
{
try
{
F6xBscWrap f6bscW;

f6bscW = new F6xBscWrap();
//f6bscW.Reset();
}
catch(Exception e)
{
string s = e.StackTrace.ToString();
}
Application.Run(new Form1());
}
----

F6xBscWrap is the wrapper written in Managed C++. But as soon as the constructor is called it gives me a
An unhandled exception of type 'System.StackOverflowException' occurred in wrapf6com.dll

and crashes.

The managed wrapper for the constructor is
----
F6xBscWrap::F6xBscWrap()
{
try

{
f6bsc = new F6XBasicCfg();
}
catch(System::StackOverflowException *e)
{
Object *s = e->StackTrace;
}
}
----

and the wrapper .h file is
----
public __gc class F6xBscWrap
{
private:
F6XBasicCfg __nogc* f6bsc;

public:
F6xBscWrap();
~F6xBscWrap();

void Reset(); // Reset to zero


};
----

Any and all help will be appreciated.
Generalhowto addHotkey to Form/Button Pin
Krissh13-Oct-04 0:06
Krissh13-Oct-04 0:06 
GeneralRe: howto addHotkey to Form/Button Pin
Krissh18-Oct-04 6:55
Krissh18-Oct-04 6:55 
Generalpermutation in lexiographic order Pin
webmanc12-Oct-04 10:36
webmanc12-Oct-04 10:36 
GeneralContainer set versus STL Pin
Gammill11-Oct-04 8:41
Gammill11-Oct-04 8:41 
GeneralRe: Container set versus STL Pin
John M. Drescher11-Oct-04 9:18
John M. Drescher11-Oct-04 9:18 
Generalpls help Pin
mrdudein9-Oct-04 4:15
mrdudein9-Oct-04 4:15 
GeneralRe: pls help Pin
Christian Graus12-Oct-04 10:57
protectorChristian Graus12-Oct-04 10:57 
GeneralRe: pls help Pin
Anonymous18-Oct-04 0:01
Anonymous18-Oct-04 0:01 
GeneralKeyDown problem Pin
yuvald8-Oct-04 12:06
yuvald8-Oct-04 12:06 
GeneralRe: KeyDown problem Pin
AnsGe8-Oct-04 21:11
AnsGe8-Oct-04 21:11 
GeneralRe: KeyDown problem Pin
yuvald8-Oct-04 23:37
yuvald8-Oct-04 23:37 
GeneralRe: KeyDown problem Pin
AnsGe9-Oct-04 0:43
AnsGe9-Oct-04 0:43 
GeneralRe: KeyDown problem Pin
yuvald9-Oct-04 1:59
yuvald9-Oct-04 1:59 
Generalambiguous error Pin
ISUstudent7-Oct-04 14:19
ISUstudent7-Oct-04 14:19 
GeneralStrings Pin
gremlin067-Oct-04 8:04
gremlin067-Oct-04 8:04 
GeneralRe: Strings Pin
George L. Jackson8-Oct-04 2:39
George L. Jackson8-Oct-04 2:39 
GeneralRe: Strings Pin
AnsGe8-Oct-04 21:18
AnsGe8-Oct-04 21:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.