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

Managed C++/CLI

 
GeneralRe: swfsource: error2664 Pin
IceBerG7126-Jan-04 14:55
IceBerG7126-Jan-04 14:55 
GeneralRe: swfsource: error2664 Pin
adarsh_sebiz26-Jan-04 23:21
adarsh_sebiz26-Jan-04 23:21 
Generalsockets VC++ 6.0 and C# Pin
mduarte17-Jan-04 18:42
mduarte17-Jan-04 18:42 
GeneralRe: sockets VC++ 6.0 and C# Pin
Mazdak17-Jan-04 19:30
Mazdak17-Jan-04 19:30 
GeneralRe: sockets VC++ 6.0 and C# Pin
mduarte17-Jan-04 20:17
mduarte17-Jan-04 20:17 
GeneralRe: sockets VC++ 6.0 and C# Pin
Mazdak17-Jan-04 20:54
Mazdak17-Jan-04 20:54 
GeneraleTraping windows messages Pin
Member 12103317-Jan-04 4:43
Member 12103317-Jan-04 4:43 
GeneralStandard C++ DLL Pin
dcasmey16-Jan-04 5:25
dcasmey16-Jan-04 5:25 
Granted, I'm a longtime VB, VB.NET guy, but I have a small project in C++ for I have 2 questions. If they're complicated answers, I understand you might want me to do more research, so just let me know.

I am attempting to expose a function from a C++ SDK. I created a new DLL and for testing, created a test function "DoTheMath" which receives a value and returns the value plus ten. I am using managed extensions. THE TEST FUNCTION WORKS!. That is, I declare the DLL in VB.NET, call the test function and receive a return value... So, this works fine.

Now, I bring in my other SDK code and receive the values from VB.NET into an EmbedWM function. This code is executing! BUT, as soon as it hits an external library function

DWM_Get_EmbedCapabilities(&g_dwmCaps);

it says:

An unhandled exception of type 'System.NullReferenceException' occurred in DLLExpose.dll

Additional information: Object reference not set to an instance of an object.

Now, when I place my cursor over &g_dwmCaps it gives me my value which has been dimensioned public, so that can't be it. The only warning give to me before the successful build is that it can't find the libc.pdb. Could that be it?

Secondly, can't I step through the public variable initialization?

Any help, I'd appreciate it. Thx.

Dwaine

GeneralRe: Standard C++ DLL Pin
fin21-Jan-04 13:07
fin21-Jan-04 13:07 
GeneralRe: Standard C++ DLL Pin
dcasmey21-Jan-04 13:27
dcasmey21-Jan-04 13:27 
GeneralMessageboxes in managed C++ Pin
tom7615-Jan-04 23:42
tom7615-Jan-04 23:42 
GeneralRe: Messageboxes in managed C++ Pin
leppie16-Jan-04 6:04
leppie16-Jan-04 6:04 
GeneralRe: Messageboxes in managed C++ Pin
Nathan Blomquist26-Jan-04 14:47
Nathan Blomquist26-Jan-04 14:47 
GeneralRe: Messageboxes in managed C++ Pin
bollwerj6-Feb-04 4:41
bollwerj6-Feb-04 4:41 
GeneralResolving NetBIOS name for IP address Pin
---Ranger---14-Jan-04 22:51
---Ranger---14-Jan-04 22:51 
GeneralNamespace Extension Starting point help please Pin
Paul Farry11-Jan-04 20:42
professionalPaul Farry11-Jan-04 20:42 
QuestionIs there a similar to MFC property pages in .net UserControl? Pin
Daed8-Jan-04 2:40
Daed8-Jan-04 2:40 
AnswerRe: Is there a similar to MFC property pages in .net UserControl? Pin
leppie8-Jan-04 6:09
leppie8-Jan-04 6:09 
GeneralRe: Is there a similar to MFC property pages in .net UserControl? Pin
Daed11-Jan-04 3:36
Daed11-Jan-04 3:36 
GeneralUserControl properties persistency Pin
Severino4-Jan-04 3:35
Severino4-Jan-04 3:35 
GeneralRe: UserControl properties persistency Pin
Nick Hodapp5-Jan-04 7:13
sitebuilderNick Hodapp5-Jan-04 7:13 
GeneralRe: UserControl properties persistency Pin
Hamzeh5-Jan-04 21:06
Hamzeh5-Jan-04 21:06 
GeneralRe: UserControl properties persistency Pin
leppie8-Jan-04 6:11
leppie8-Jan-04 6:11 
QuestionWhat do i need? Pin
Anthony_Yio2-Jan-04 0:19
Anthony_Yio2-Jan-04 0:19 
AnswerRe: What do i need? Pin
leppie2-Jan-04 6:06
leppie2-Jan-04 6:06 

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.