Click here to Skip to main content
15,887,319 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

i am trying to make one application. i write all the code in vc++ its working fine..But now i have to make UI for the application..

i dnt have any knowledge about C#, MFC, win32.. thats why i went wid c#,as I thought vc# will be easy to make that.
but now the problem is how to make both projects work in synch. I know its a bad architechture.. n it will be better if either i port all the code in c# or use win32, MFC to create UI...

i am just taking a chance if there is any way.. to make it work.

One more thing i will like to add is i hav to keep passing the values from UI to the c++ files and viceversa.. can dll be used, as i am trying that option???
Posted

Named Pipes
MSMQ
TCP/IP
ActiveMQ


tush_2003 wrote:
One more thing i will like to add is i hav to keep passing the values from UI to the c++ files and viceversa.. can dll be used, as i am trying that option???


This is probably your best option it will certainly perform the best.
 
Share this answer
 
Two choices: use PInvoke [^] in your C# GUI app to access methods in your C++ dll, or write a managed c++ wrapper[^] around your C++ dll.
PInvoke is probably the simplest approach, the wrapper the most efficient.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900