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

Managed C++/CLI

 
AnswerRe: Running an executable through C++.Net code [modified] Pin
2bee 6-Jun-06 20:54
2bee 6-Jun-06 20:54 
GeneralRe: Running an executable through C++.Net code [modified] Pin
Bob X7-Jun-06 14:41
Bob X7-Jun-06 14:41 
Questioncalling function in unmanaged dll with paramter char** Pin
guestcat5-Jun-06 1:32
guestcat5-Jun-06 1:32 
QuestionC++/CLI and your experience Pin
vassilux@4-Jun-06 7:14
vassilux@4-Jun-06 7:14 
QuestionProblem with VC++ 2003 code Pin
fudicator3-Jun-06 16:21
fudicator3-Jun-06 16:21 
QuestionTemperature conversion Pin
klutez1232-Jun-06 3:28
klutez1232-Jun-06 3:28 
AnswerRe: Temperature conversion Pin
Michael Dunn2-Jun-06 7:53
sitebuilderMichael Dunn2-Jun-06 7:53 
QuestionMixed Assembly for a wrapper class Pin
greggor31-May-06 11:39
greggor31-May-06 11:39 
I have a MC++ project in VS 2005 – A Windows Forms project. I want to be able to call some native functions from my pool of VC++ 6.0 code, so I’m trying to create a wrapper class to allow me to access these functions. Can anyone offer advice on this?

Right now I’m trying to just get my files together in the same project so I can then create my wrapper class. The steps I’ve taken are:
1 – Created my test project (C++ Windows Form Project)
2 – Added my native file to the project. It’s a simple c++ file that only contains global functions… so I can start out simple.
3 – Changed the “Compile with Common Language Runtime Support” property for my native file to “No Common Language Runtime Support”.
4 – Changed the “Common Language Runtime Support” property for my project to “/clr” (the default was /clr:pure)
5 – Changed the “Use of MFC” property for my project to “Use MFC in a Shared DLL”
6 – Added the text “UNICODE;_UNICODE” to the “Undefine Preprocessor Definitions” property of my native file. Unless I do this step, my project will not build.

This creates a project that will build, but when I attempt to run it I get an assertion in dbgheap.c line 1394. The assertion appears to happen even before the Main method is called.

I’m not sure about the steps I’ve listed above, so it’s possible that I have the process of creating a wrapper class all wrong.


-- greggor
QuestionAbout C++/CLI spec... Pin
Jun Du31-May-06 5:05
Jun Du31-May-06 5:05 
AnswerRe: About C++/CLI spec... Pin
Nemanja Trifunovic31-May-06 6:16
Nemanja Trifunovic31-May-06 6:16 
Questionmaking PictureBox component transparent Pin
9ine31-May-06 4:14
9ine31-May-06 4:14 
QuestionHow to place an edit box and dialog box on a window(SDI)in VC++ dot Net Pin
Ashutosh Bagaria30-May-06 8:00
Ashutosh Bagaria30-May-06 8:00 
QuestionThreading [modified] Pin
satsumatable30-May-06 1:36
satsumatable30-May-06 1:36 
AnswerRe: Threading [modified] Pin
2bee 30-May-06 2:31
2bee 30-May-06 2:31 
GeneralRe: Threading [modified] Pin
satsumatable30-May-06 2:38
satsumatable30-May-06 2:38 
GeneralRe: Threading [modified] Pin
George L. Jackson30-May-06 11:22
George L. Jackson30-May-06 11:22 
QuestionC++/CLI or Native Pin
Sarath C29-May-06 3:26
Sarath C29-May-06 3:26 
AnswerRe: C++/CLI or Native Pin
Milton Karimbekallil29-May-06 7:25
Milton Karimbekallil29-May-06 7:25 
QuestionUse Managed Pin
satsumatable29-May-06 2:07
satsumatable29-May-06 2:07 
AnswerRe: Use Managed Pin
Milton Karimbekallil29-May-06 7:18
Milton Karimbekallil29-May-06 7:18 
Questionhow to search a keyword in all files and folders in c++ [modified] Pin
B.L.MALYADA DEVI28-May-06 23:20
B.L.MALYADA DEVI28-May-06 23:20 
AnswerRe: how to search a keyword in all files and folders in c++ [modified] Pin
Milton Karimbekallil29-May-06 6:52
Milton Karimbekallil29-May-06 6:52 
Questionhow to concatenate 2 .wav files with different frequencies in c++ [modified] Pin
B.L.MALYADA DEVI28-May-06 23:17
B.L.MALYADA DEVI28-May-06 23:17 
Questionhelp in using plugin for MS word Pin
ismailkhan2u28-May-06 4:08
ismailkhan2u28-May-06 4:08 
QuestionHow to convert String^ to LPCTSTR ? Pin
zenzero27-May-06 12:28
zenzero27-May-06 12:28 

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.