Click here to Skip to main content
15,890,185 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to create C++/CLI Interface to access .net API from C++ code? Pin
litu kumar3-Oct-12 2:14
litu kumar3-Oct-12 2:14 
AnswerCrosspost Pin
Peter_in_27803-Oct-12 2:24
professionalPeter_in_27803-Oct-12 2:24 
GeneralRe: Crosspost Pin
litu kumar3-Oct-12 2:30
litu kumar3-Oct-12 2:30 
GeneralRe: Crosspost Pin
Richard MacCutchan3-Oct-12 2:32
mveRichard MacCutchan3-Oct-12 2:32 
GeneralRe: Crosspost Pin
Peter_in_27803-Oct-12 2:48
professionalPeter_in_27803-Oct-12 2:48 
GeneralRe: Crosspost Pin
David Crow3-Oct-12 3:19
David Crow3-Oct-12 3:19 
GeneralRe: Crosspost Pin
Richard MacCutchan3-Oct-12 4:35
mveRichard MacCutchan3-Oct-12 4:35 
AnswerRe: How to create C++/CLI Interface to access .net API from C++ code? Pin
jschell3-Oct-12 10:26
jschell3-Oct-12 10:26 
litu kumar wrote:
I have created a win32 dll(VC++).


Presumably this is NOT managed C++.

litu kumar wrote:
But i'm very new to C++/CLI


That is problematic. I am rather certain it is not easy even for an experienced programmer. So rather than figuring out details your going to be fighting your lack of knowledge.

It the following a possible solution?
1. Create an managed C++ executable. It wraps your target library and provides the functionality that your other app needs (from the library.)
2. Provide a communications API for that executable. Either sockets, files or stdin/out.
3. Test it
4. Use unmanaged C++ system calls to run the executable and communicate with it.


litu kumar wrote:
If have any any sample example (running)



Google seemed to provide plenty of answers. I used the following.

unmanaged c++ to managed c++


One of the links from that google search

Mixing Managed and Unmanaged code[^]
Questioncan you help me Pin
emanalshboul2-Oct-12 11:23
emanalshboul2-Oct-12 11:23 
AnswerRe: can you help me Pin
Richard Andrew x642-Oct-12 11:42
professionalRichard Andrew x642-Oct-12 11:42 
AnswerRe: can you help me Pin
Joan M2-Oct-12 23:18
professionalJoan M2-Oct-12 23:18 
QuestionRe: can you help me Pin
David Crow3-Oct-12 2:28
David Crow3-Oct-12 2:28 
QuestionGet all substrings from an application Pin
Brandon-X120001-Oct-12 3:43
Brandon-X120001-Oct-12 3:43 
AnswerRe: Get all substrings from an application Pin
pasztorpisti1-Oct-12 4:18
pasztorpisti1-Oct-12 4:18 
GeneralRe: Get all substrings from an application Pin
Brandon-X120003-Oct-12 8:34
Brandon-X120003-Oct-12 8:34 
GeneralRe: Get all substrings from an application Pin
pasztorpisti3-Oct-12 10:26
pasztorpisti3-Oct-12 10:26 
QuestionRe: Get all substrings from an application [OT] Pin
David Crow1-Oct-12 6:27
David Crow1-Oct-12 6:27 
GeneralRe: Get all substrings from an application [OT] Pin
pasztorpisti1-Oct-12 8:52
pasztorpisti1-Oct-12 8:52 
AnswerRe: Get all substrings from an application [OT] Pin
Brandon-X120003-Oct-12 8:38
Brandon-X120003-Oct-12 8:38 
AnswerRe: Get all substrings from an application Pin
CPallini1-Oct-12 10:33
mveCPallini1-Oct-12 10:33 
JokeRe: Get all substrings from an application Pin
Chris Meech1-Oct-12 13:11
Chris Meech1-Oct-12 13:11 
JokeRe: Get all substrings from an application Pin
CPallini1-Oct-12 21:10
mveCPallini1-Oct-12 21:10 
JokeRe: Get all substrings from an application Pin
Joan M2-Oct-12 23:22
professionalJoan M2-Oct-12 23:22 
GeneralRe: Get all substrings from an application Pin
CPallini2-Oct-12 23:25
mveCPallini2-Oct-12 23:25 
QuestionHow to get a C++ console application run in a terminal/powershell type of environment? Pin
infectedprof30-Sep-12 13:53
infectedprof30-Sep-12 13:53 

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.