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

Managed C++/CLI

 
QuestionWhat's the equivalent to C# static classes? Pin
mid=57417-Jul-07 6:36
mid=57417-Jul-07 6:36 
AnswerRe: What's the equivalent to C# static classes? Pin
Mark Salsbery7-Jul-07 7:27
Mark Salsbery7-Jul-07 7:27 
GeneralRe: What's the equivalent to C# static classes? Pin
mid=57417-Jul-07 7:34
mid=57417-Jul-07 7:34 
GeneralRe: What's the equivalent to C# static classes? Pin
Mark Salsbery7-Jul-07 8:04
Mark Salsbery7-Jul-07 8:04 
GeneralRe: What's the equivalent to C# static classes? Pin
mid=57417-Jul-07 8:08
mid=57417-Jul-07 8:08 
GeneralRe: What's the equivalent to C# static classes? Pin
Mark Salsbery7-Jul-07 9:07
Mark Salsbery7-Jul-07 9:07 
Questionunresolved external symbol error when using template function Pin
patrick.steal7-Jul-07 1:40
patrick.steal7-Jul-07 1:40 
QuestionC++/CLI Pin
Subodh Borker7-Jul-07 1:15
Subodh Borker7-Jul-07 1:15 
I have linked my C/C++ static libraries compiled in VS2005 to my C++/CLI interop project, I want to use C++/CLI interop to export this functionality to C# client.


If i put a call to any static lib function in this interop project, The Interop project compiles properly but gives runtime error

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: ...
File: dbgheap.c
Line: 1473

Expression: _CrtIsValidHeapPointer(pUserData)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------


Do I need to initialize CRT or somthing in the interop project

If i use a test static lib (static lib created for testing purpose by me) everything works fine, problem occurs when I link my products static libraries and try to call a function from these static lib in my interop project




Subodh Borker
AnswerRe: C++/CLI Pin
Bartosz Bien13-Jul-07 6:57
Bartosz Bien13-Jul-07 6:57 
QuestionTo add fields on a table Pin
mikobi6-Jul-07 21:47
mikobi6-Jul-07 21:47 
AnswerRe: To add fields on a table Pin
Christian Graus7-Jul-07 1:18
protectorChristian Graus7-Jul-07 1:18 
Question!declared to have 'C' linkage [modified] Pin
abbd6-Jul-07 0:14
abbd6-Jul-07 0:14 
AnswerRe: !declared to have 'C' linkage Pin
Christian Graus6-Jul-07 0:33
protectorChristian Graus6-Jul-07 0:33 
QuestionTo refresh DataSource Pin
mikobi4-Jul-07 23:22
mikobi4-Jul-07 23:22 
AnswerRe: To refresh DataSource Pin
Paul Conrad12-Jul-07 18:00
professionalPaul Conrad12-Jul-07 18:00 
GeneralRe: To refresh DataSource Pin
mikobi13-Jul-07 2:30
mikobi13-Jul-07 2:30 
QuestionHelp reading vector name from file Pin
empaleador4-Jul-07 14:52
empaleador4-Jul-07 14:52 
AnswerRe: Help reading vector name from file Pin
Christian Graus4-Jul-07 15:07
protectorChristian Graus4-Jul-07 15:07 
GeneralRe: Help reading vector name from file Pin
empaleador4-Jul-07 16:00
empaleador4-Jul-07 16:00 
GeneralRe: Help reading vector name from file Pin
Christian Graus4-Jul-07 17:16
protectorChristian Graus4-Jul-07 17:16 
GeneralRe: Help reading vector name from file Pin
empaleador5-Jul-07 1:41
empaleador5-Jul-07 1:41 
GeneralRe: Help reading vector name from file Pin
Christian Graus5-Jul-07 2:34
protectorChristian Graus5-Jul-07 2:34 
GeneralRe: Help reading vector name from file Pin
led mike5-Jul-07 6:36
led mike5-Jul-07 6:36 
GeneralRe: Help reading vector name from file Pin
Christian Graus5-Jul-07 7:24
protectorChristian Graus5-Jul-07 7:24 
QuestionRead lines in a file Pin
Perspx4-Jul-07 10:46
Perspx4-Jul-07 10:46 

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.