Click here to Skip to main content
15,917,455 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Calling Unmanaged Class From DLL Pin
«_Superman_»5-Sep-09 5:34
professional«_Superman_»5-Sep-09 5:34 
GeneralRe: Calling Unmanaged Class From DLL Pin
İsmail Durmaz5-Sep-09 5:37
İsmail Durmaz5-Sep-09 5:37 
GeneralRe: Calling Unmanaged Class From DLL Pin
«_Superman_»5-Sep-09 5:42
professional«_Superman_»5-Sep-09 5:42 
GeneralRe: Calling Unmanaged Class From DLL Pin
İsmail Durmaz5-Sep-09 5:43
İsmail Durmaz5-Sep-09 5:43 
GeneralRe: Calling Unmanaged Class From DLL Pin
Joe Woodbury5-Sep-09 8:39
professionalJoe Woodbury5-Sep-09 8:39 
AnswerRe: Calling Unmanaged Class From DLL Pin
Hristo-Bojilov5-Sep-09 7:55
Hristo-Bojilov5-Sep-09 7:55 
GeneralRe: Calling Unmanaged Class From DLL Pin
Joe Woodbury5-Sep-09 8:48
professionalJoe Woodbury5-Sep-09 8:48 
AnswerRe: Calling Unmanaged Class From DLL Pin
Joe Woodbury5-Sep-09 8:55
professionalJoe Woodbury5-Sep-09 8:55 
As seen by my other answers, the phrasing of your question annoys me. The subject is "calling unmanaged class from DLL" and then you say you want to call "any class from unmanaged DLL." What is it? Are you wanting to call .NET from native C++ or call native C++ classes from .NET?

In the former case, you can host .NET in your C++ application (which is a lousy idea, but you can do it.) In the latter case you can convert the native C++ to C++/CLI and call it that way. I personally find it easier to convert the C++ classes to C# (and occasionally use a native, helper DLL with procedural APIs.)

On top of that you give a code snippet that makes no sense. If you have a C++ foo and a C# Foo, what do you care?
GeneralRe: Calling Unmanaged Class From DLL Pin
İsmail Durmaz6-Sep-09 3:12
İsmail Durmaz6-Sep-09 3:12 
GeneralRe: Calling Unmanaged Class From DLL Pin
Joe Woodbury6-Sep-09 7:36
professionalJoe Woodbury6-Sep-09 7:36 
QuestionSTL map in UNIX Pin
ashukasama4-Sep-09 23:24
ashukasama4-Sep-09 23:24 
AnswerRe: STL map in UNIX Pin
Richard MacCutchan4-Sep-09 23:36
mveRichard MacCutchan4-Sep-09 23:36 
GeneralRe: STL map in UNIX Pin
ashukasama4-Sep-09 23:53
ashukasama4-Sep-09 23:53 
GeneralRe: STL map in UNIX Pin
Stuart Dootson4-Sep-09 23:59
professionalStuart Dootson4-Sep-09 23:59 
GeneralRe: STL map in UNIX Pin
Stuart Dootson5-Sep-09 0:02
professionalStuart Dootson5-Sep-09 0:02 
GeneralRe: STL map in UNIX Pin
Richard MacCutchan5-Sep-09 0:43
mveRichard MacCutchan5-Sep-09 0:43 
GeneralRe: STL map in UNIX Pin
ashukasama5-Sep-09 0:47
ashukasama5-Sep-09 0:47 
GeneralRe: STL map in UNIX Pin
Stuart Dootson5-Sep-09 6:13
professionalStuart Dootson5-Sep-09 6:13 
AnswerRe: STL map in UNIX Pin
Stuart Dootson4-Sep-09 23:54
professionalStuart Dootson4-Sep-09 23:54 
QuestionCListBox Pin
thanhvinh09064-Sep-09 17:46
thanhvinh09064-Sep-09 17:46 
AnswerRe: CListBox Pin
Code-o-mat5-Sep-09 8:42
Code-o-mat5-Sep-09 8:42 
QuestionC++ Queue Pin
jonig194-Sep-09 15:00
jonig194-Sep-09 15:00 
AnswerRe: C++ Queue Pin
Joe Woodbury4-Sep-09 19:05
professionalJoe Woodbury4-Sep-09 19:05 
AnswerRe: C++ Queue Pin
N a v a n e e t h4-Sep-09 20:35
N a v a n e e t h4-Sep-09 20:35 
AnswerRe: C++ Queue Pin
«_Superman_»4-Sep-09 22:47
professional«_Superman_»4-Sep-09 22:47 

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.