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

Managed C++/CLI

 
GeneralRe: Typical issues in managed c++ Pin
John Schroedl21-Jul-11 5:30
professionalJohn Schroedl21-Jul-11 5:30 
GeneralBook for Managed Extenstion for Vc++ Pin
Vijjuuu.1-Jul-11 22:34
Vijjuuu.1-Jul-11 22:34 
GeneralRe: Book for Managed Extenstion for Vc++ Pin
Ger Hayden1-Jul-11 23:44
Ger Hayden1-Jul-11 23:44 
GeneralRe: Book for Managed Extenstion for Vc++ Pin
Vijjuuu.3-Jul-11 8:22
Vijjuuu.3-Jul-11 8:22 
QuestionRe: Book for Managed Extenstion for Vc++ Pin
Mark Salsbery3-Jul-11 8:50
Mark Salsbery3-Jul-11 8:50 
GeneralRe: Book for Managed Extenstion for Vc++ [modified] Pin
ian__lindsay4-Jul-11 6:34
ian__lindsay4-Jul-11 6:34 
GeneralRe: Book for Managed Extenstion for Vc++ Pin
Vijjuuu.4-Jul-11 22:08
Vijjuuu.4-Jul-11 22:08 
QuestionProblem with managed and unmanaged mixed coding Pin
Lighter Joul1-Jul-11 14:56
Lighter Joul1-Jul-11 14:56 
This maybe a common question, and maybe there are many articles and threads talking about the mixed coding.

But all the mixed coding seems prefer to using #pragram unmanaged/managed, and using dll import, something like this. I plan to make a winform program, and when I press some button, the program can call the unmanged function. So in that case, I should call the unamaged function in button click event, like this:

private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
// call the unmanaged function
CallUnmanaged();
}

However, I had compile error: 'CallUnmanaged': identifier not found. I tried to use extern the unmanged function in the managed codes, there are still many errors.

Anyone can tell me how to fix this without using dll import? just simpile function call. Thanks.

Best wishes
Joul

AnswerRe: Problem with managed and unmanaged mixed coding Pin
Philippe Mori1-Jul-11 16:45
Philippe Mori1-Jul-11 16:45 
GeneralRe: Problem with managed and unmanaged mixed coding Pin
Lighter Joul2-Jul-11 2:33
Lighter Joul2-Jul-11 2:33 
GeneralRe: Problem with managed and unmanaged mixed coding Pin
Philippe Mori2-Jul-11 2:55
Philippe Mori2-Jul-11 2:55 
GeneralRe: Problem with managed and unmanaged mixed coding Pin
Lighter Joul2-Jul-11 4:35
Lighter Joul2-Jul-11 4:35 
QuestionEDIT CONTROL password style Pin
RomTibi30-Jun-11 8:04
RomTibi30-Jun-11 8:04 
AnswerRe: EDIT CONTROL password style Pin
Mark Salsbery30-Jun-11 9:20
Mark Salsbery30-Jun-11 9:20 
QuestionDebugging an application minidump using windbg Pin
Prasann Mayekar10-Jun-11 0:01
Prasann Mayekar10-Jun-11 0:01 
Answercross-post alert Pin
Luc Pattyn10-Jun-11 2:08
sitebuilderLuc Pattyn10-Jun-11 2:08 
QuestionMulti-Project Solution in visual studio 2008 (C++/CLI) (Windows Form Application). Pin
PrajaktPatil6-Jun-11 2:24
PrajaktPatil6-Jun-11 2:24 
QuestionRe: Multi-Project Solution in visual studio 2008 (C++/CLI) (Windows Form Application). Pin
Mark Salsbery6-Jun-11 8:04
Mark Salsbery6-Jun-11 8:04 
GeneralRe: Multi-Project Solution in visual studio 2008 (C++/CLI) (Windows Form Application). Pin
PrajaktPatil7-Jun-11 0:20
PrajaktPatil7-Jun-11 0:20 
AnswerRe: Multi-Project Solution in visual studio 2008 (C++/CLI) (Windows Form Application). Pin
Albert Holguin8-Jun-11 19:48
professionalAlbert Holguin8-Jun-11 19:48 
AnswerRe: Multi-Project Solution in visual studio 2008 (C++/CLI) (Windows Form Application). Pin
Philippe Mori2-Jul-11 3:17
Philippe Mori2-Jul-11 3:17 
QuestionAccess methods from .Net C# COM object from Unmanaged C++ code Pin
Member 79736702-Jun-11 0:20
Member 79736702-Jun-11 0:20 
AnswerRe: Access methods from .Net C# COM object from Unmanaged C++ code Pin
MicroVirus18-Jun-11 4:49
MicroVirus18-Jun-11 4:49 
AnswerRe: Access methods from .Net C# COM object from Unmanaged C++ code Pin
Philippe Mori2-Jul-11 3:30
Philippe Mori2-Jul-11 3:30 
QuestionQuestion about Connecting to Postgresql with ODBC Pin
Lighter Joul27-May-11 6:07
Lighter Joul27-May-11 6:07 

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.