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

Managed C++/CLI

 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
raitz20-Oct-03 10:31
raitz20-Oct-03 10:31 
GeneralWhat's .NET equivalent of a VC++ COM component with OLE DB via ATL?? Can't find info! Pin
ThomasH117-Oct-03 9:03
ThomasH117-Oct-03 9:03 
GeneralRe: What's .NET equivalent of a VC++ COM component with OLE DB via ATL?? Can't find info! Pin
Bo Hunter17-Oct-03 10:58
Bo Hunter17-Oct-03 10:58 
GeneralRe: What's .NET equivalent of a VC++ COM component with OLE DB via ATL?? Can't find info! Pin
ThomasH117-Oct-03 11:15
ThomasH117-Oct-03 11:15 
GeneralRe: What's .NET equivalent of a VC++ COM component with OLE DB via ATL?? Can't find info! Pin
J. Dunlap17-Oct-03 11:50
J. Dunlap17-Oct-03 11:50 
GeneralRe: What's .NET equivalent of a VC++ COM component with OLE DB via ATL?? Can't find info! Pin
ThomasH120-Oct-03 5:01
ThomasH120-Oct-03 5:01 
GeneralRe: What's .NET equivalent of a VC++ COM component with OLE DB via ATL?? Can't find info! Pin
ThomasH120-Oct-03 5:49
ThomasH120-Oct-03 5:49 
GeneralI know its is obvious ! Pin
Andrew Torrance17-Oct-03 0:43
Andrew Torrance17-Oct-03 0:43 
I know the answer is simple , so simple that mr simple the village simpleton of simple village would find it very simple. But do you think I can see the answer ? No , its friday and I finish early and what happens ? This ....

I have the job of wrapping a V6 DLL in a shiney new managed dll. So to get me into it I write a very very simple app:-
An unmanaged c++ class that has a show method that calls AfxMessageBox and says "Hello World" (Well its Friday what do you want , originality?).
Then I make a wrapper which has a pointer to the unmanaged , calls the new and delete on the unmanaged in its nice new shiny managed constructors and destructors , and has its own Show() which calls the unmanaged show().
What happens is I get an unresolved external on new and delete . It is looking for a mangled new and delete .MSDN even says use the unmanaged new and delete , presumably for this reason . How do I get around it and force the call to the unmanaged new ? Overloading the new in the unmanaged class is one option that I would rather avoid ,I would prefere to leave the unmanaged alone ( the real world classes are immense and I do not want to touch them ). So come on tell me what I am missing, I know it is obvious , I just cannot see it.
I am sure that writing in C# for months has caused my C++ neurons to sulk , they are just sitting around in my Cortex (or wherever) saying , 'bloody told you so , wouldn't listen to us !' . Help , with minimal sarcasm , would be greatly appreciated.
GeneralRe: I know its is obvious ! Pin
Heath Stewart22-Oct-03 3:39
protectorHeath Stewart22-Oct-03 3:39 
GeneralRe: I know its is obvious ! Pin
George L. Jackson20-Nov-03 7:54
George L. Jackson20-Nov-03 7:54 
GeneralConsole window in VC Managed C++ extension samples Pin
Liaqat Fayyaz16-Oct-03 6:30
Liaqat Fayyaz16-Oct-03 6:30 
GeneralOk so I am dull Pin
Andrew Torrance16-Oct-03 4:31
Andrew Torrance16-Oct-03 4:31 
GeneralRe: Ok so I am dull Pin
leppie16-Oct-03 8:31
leppie16-Oct-03 8:31 
GeneralRe: Ok so I am dull Pin
Andrew Torrance16-Oct-03 23:09
Andrew Torrance16-Oct-03 23:09 
GeneralRe: Ok so I am dull Pin
jhwurmbach17-Oct-03 1:15
jhwurmbach17-Oct-03 1:15 
AnswerRe: Attack of the covariant return types or How do you implement IList? Pin
Null_Vector14-Oct-03 5:02
Null_Vector14-Oct-03 5:02 
QuestionAttack of the covariant return types or How do you implement IList? Pin
Null_Vector14-Oct-03 4:19
Null_Vector14-Oct-03 4:19 
GeneralWaitForSingleObject... Pin
raitz10-Oct-03 6:07
raitz10-Oct-03 6:07 
GeneralRe: WaitForSingleObject... Pin
Nish Nishant10-Oct-03 6:17
sitebuilderNish Nishant10-Oct-03 6:17 
GeneralRe: WaitForSingleObject... Pin
raitz10-Oct-03 7:17
raitz10-Oct-03 7:17 
GeneralRe: WaitForSingleObject... Pin
Rod O10-Oct-03 20:58
Rod O10-Oct-03 20:58 
GeneralRe: WaitForSingleObject... Pin
raitz15-Oct-03 10:21
raitz15-Oct-03 10:21 
GeneralDataGrids Pin
Tom S Morton9-Oct-03 21:26
sussTom S Morton9-Oct-03 21:26 
GeneralRe: DataGrids Pin
RBlyth9-Oct-03 21:54
RBlyth9-Oct-03 21:54 
GeneralDataGrids Pin
Anonymous9-Oct-03 21:25
Anonymous9-Oct-03 21:25 

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.