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

Managed C++/CLI

 
GeneralRe: HELP!!! compiler seems confused... Pin
Roger Stewart5-Feb-04 6:53
professionalRoger Stewart5-Feb-04 6:53 
GeneralRe: HELP!!! compiler seems confused... Pin
Nik Vogiatzis5-Feb-04 9:51
Nik Vogiatzis5-Feb-04 9:51 
GeneralCompile New Form Control Pin
Skute3-Feb-04 2:39
Skute3-Feb-04 2:39 
GeneralON_UPDATE_UI problem Pin
Keith Halligan3-Feb-04 0:08
Keith Halligan3-Feb-04 0:08 
QuestionHow to add a function that has both external and internal name into a ActiveX? Pin
ray_li2-Feb-04 8:37
ray_li2-Feb-04 8:37 
GeneralCrashing of .NET IDE when placing custom designer control in toolbox Pin
Tonkuz2-Feb-04 2:35
Tonkuz2-Feb-04 2:35 
GeneralRe: Crashing of .NET IDE when placing custom designer control in toolbox Pin
Anonymous5-Feb-04 17:05
Anonymous5-Feb-04 17:05 
GeneralGetting an HINSTANCE in a managed C++ dll Pin
dabs2-Feb-04 2:09
dabs2-Feb-04 2:09 
Even though the traffic seems to be relatively small here, I'll go ahead and ask anyway. I'm writing a managed dll in C++ (actually it's an NUnit test dll), and I need to be able to get the dll's HINSTANCE - to either load resources or to call GetModuleFileName( ). So far I've tried the following:

<br />
_pModule->get_m_hInstResource( )<br />
_pModule->get_m_hInst( )<br />
::GetModuleHandle( NULL )<br />
AfxGetResourceHandle( )<br />
AfxGetInstanceHandle( )<br />


But no luck. They just return NULL. Has anyone had any similar problem in the past, and if so, what did you do to solve it?

Daníel



Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
GeneralRe: Getting an HINSTANCE in a managed C++ dll Pin
Anonymous13-Feb-04 12:28
Anonymous13-Feb-04 12:28 
QuestionCasting of a Object * to a Enum value question?? Pin
araelgig2-Feb-04 1:27
araelgig2-Feb-04 1:27 
AnswerRe: Casting of a Object * to a Enum value question?? Pin
araelgig3-Feb-04 1:08
araelgig3-Feb-04 1:08 
GeneralLNK2005 Error. Pin
adarsh_sebiz1-Feb-04 19:05
adarsh_sebiz1-Feb-04 19:05 
GeneralRe: LNK2005 Error. Pin
Mike Dimmick2-Feb-04 2:36
Mike Dimmick2-Feb-04 2:36 
GeneralRe: LNK2005 Error. Pin
adarsh_sebiz10-Feb-04 1:46
adarsh_sebiz10-Feb-04 1:46 
Generalargument and matrix Pin
Dheeraj Mehta1-Feb-04 18:10
Dheeraj Mehta1-Feb-04 18:10 
Questionset /clr option in MFC application? Pin
scoct31-Jan-04 21:10
scoct31-Jan-04 21:10 
Generalreading inputs Pin
Liyana30-Jan-04 12:13
Liyana30-Jan-04 12:13 
GeneralRe: reading inputs Pin
Roger Wright3-Feb-04 4:25
professionalRoger Wright3-Feb-04 4:25 
GeneralRe: reading inputs Pin
Nik Vogiatzis18-Feb-04 17:22
Nik Vogiatzis18-Feb-04 17:22 
GeneralC++ and Database Pin
vin29-Jan-04 19:22
vin29-Jan-04 19:22 
GeneralRe: C++ and Database Pin
Selvam R2-Feb-04 6:31
professionalSelvam R2-Feb-04 6:31 
GeneralVirtual destructor causes LNK2001 !!! Pin
balkanese27-Jan-04 22:18
balkanese27-Jan-04 22:18 
Generalswfsource: wanted code regarding creating buttons, please help! Pin
adarsh_sebiz26-Jan-04 23:29
adarsh_sebiz26-Jan-04 23:29 
Questionlicensed control? Pin
Roger Alsing26-Jan-04 22:56
Roger Alsing26-Jan-04 22:56 
QuestionHow can I get the name of current theme from OS? Pin
rafamarmar25-Jan-04 5:36
rafamarmar25-Jan-04 5:36 

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.