Does anyone knows how to pass a string from MFC file (written in c++) to c# file? My c# program is supposed to call the MFC file and get a string from it when it runs. Help is deeply appreciated!
Help: Pass string from MFC(c++) to c#Help inpassing string from MFC(c++) to c#
Page 1 of 1
6 Replies - 1609 Views - Last Post: 01 July 2010 - 06:56 PM
Replies To: Help: Pass string from MFC(c++) to c#
#3 Guest_white*
#4
Re: Help: Pass string from MFC(c++) to c#
Posted 30 June 2010 - 07:44 PM
Well the maybe you should have specified that when asking your initial question. That way people did not waste their time trying to find a solution that isn't going to work from jump street.
#5
Re: Help: Pass string from MFC(c++) to c#
Posted 01 July 2010 - 07:39 AM
Though the process is still the same. You need to put your C++ code into a dll and then call the function using dllimport -- the OS version is irrelevant here so long as your C++ code works on Windows CE. The process is exactly the same.
#7 Guest_White*
Re: Help: Pass string from MFC(c++) to c#
Posted 01 July 2010 - 06:56 PM
PsychoCoder, on 30 June 2010 - 06:44 PM, said:
Well the maybe you should have specified that when asking your initial question. That way people did not waste their time trying to find a solution that isn't going to work from jump street.
Sorry if i make you unhappy, i was in a hurry typing this i didn't really consider much.
Btw, the dll i have now is created in c but i don't get the part about linking "core.dll" coz i'm not using it.
Page 1 of 1
|
|

New Topic/Question
Reply
MultiQuote








|