Click here to Skip to main content
16,006,605 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Sharing form controls between two forms Pin
ian mariano15-Mar-04 12:10
ian mariano15-Mar-04 12:10 
Questionhow do i?? Pin
Anonymous8-Mar-04 3:14
Anonymous8-Mar-04 3:14 
AnswerRe: how do i?? Pin
ian mariano9-Mar-04 9:22
ian mariano9-Mar-04 9:22 
Generallook ahead function in tic-tac-toe Pin
kclei4-Mar-04 21:58
kclei4-Mar-04 21:58 
GeneralRe: look ahead function in tic-tac-toe Pin
Shog95-Mar-04 11:35
sitebuilderShog95-Mar-04 11:35 
GeneralRe: look ahead function in tic-tac-toe Pin
Nick Parker6-Mar-04 8:34
protectorNick Parker6-Mar-04 8:34 
GeneralRe: look ahead function in tic-tac-toe Pin
kclei11-Mar-04 3:53
kclei11-Mar-04 3:53 
GeneralInstantiating unmanaged class from managed code Pin
xcvbxcvbxcv4-Mar-04 4:48
xcvbxcvbxcv4-Mar-04 4:48 
I am wrapping an managed class around and unmanaged dll. I am then building the managed class as a dll and using it in c#.
The comes when I try to instantiate the unmanaged classes from the managed constructor; I get a stackoverflowexception and do not know why. Also, when I run my managed class dll as a console app and test it, it works fine. Any help. The code is listed below.

#include "unmanaged_dll.h"
#using <mscorlib.dll>
#include <vcclr.h>

_nogc UnmanagedDll class
{
public:

// 'unmanaged_dll' is the name of the class in the unmanaged dll
unmanagedd_dll d;
};

namespace ManagedDll
{
public:

extern "C" public __ gc class ManagedWrapper
{
ManagedWrapper()
{d = new UnManagedDll();:
}

private:
UnmanagedDll *u;

};
GeneralRe: Instantiating unmanaged class from managed code Pin
ian mariano4-Mar-04 11:04
ian mariano4-Mar-04 11:04 
GeneralRe: Instantiating unmanaged class from managed code Pin
xcvbxcvbxcv10-Mar-04 5:35
xcvbxcvbxcv10-Mar-04 5:35 
GeneralC++Builder5 TListBox to char Pin
kjetilh4-Mar-04 2:22
kjetilh4-Mar-04 2:22 
Generalregsvr32 utility Pin
adarsh_sebiz3-Mar-04 18:55
adarsh_sebiz3-Mar-04 18:55 
GeneralRe: regsvr32 utility Pin
Dudi Avramov4-Mar-04 1:59
Dudi Avramov4-Mar-04 1:59 
GeneralRe: regsvr32 utility Pin
Steve S11-Mar-04 1:56
Steve S11-Mar-04 1:56 
GeneralRe: regsvr32 utility Pin
Anonymous11-Mar-04 17:11
Anonymous11-Mar-04 17:11 
GeneralRe: regsvr32 utility Pin
Steve S14-Mar-04 21:44
Steve S14-Mar-04 21:44 
Generalconverting win32 exe to win32 dll Pin
adarsh_sebiz3-Mar-04 18:50
adarsh_sebiz3-Mar-04 18:50 
GeneralRe: converting win32 exe to win32 dll Pin
Shi Zhu12-Mar-04 15:55
Shi Zhu12-Mar-04 15:55 
GeneralRe: converting win32 exe to win32 dll Pin
Anonymous14-Mar-04 17:41
Anonymous14-Mar-04 17:41 
Generaleeyyyhhh.... Pin
pnoy_ck3-Mar-04 13:12
pnoy_ck3-Mar-04 13:12 
GeneralByte array to Char array Pin
patardif2-Mar-04 3:15
patardif2-Mar-04 3:15 
Generalunresolved token Pin
mohammadQ29-Feb-04 21:30
mohammadQ29-Feb-04 21:30 
GeneralRe: unresolved token Pin
ian mariano1-Mar-04 11:48
ian mariano1-Mar-04 11:48 
GeneralRe: unresolved token Pin
Anonymous2-Mar-04 1:00
Anonymous2-Mar-04 1:00 
GeneralRe: unresolved token Pin
ian mariano4-Mar-04 11:49
ian mariano4-Mar-04 11:49 

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.