Hello All,,,
I am working on a project using C++ and MFC programming.. and i am also working on another one using C Graphics.. the two projects are almost done,, but i am facing a problem, i need to cause the .exe file of the C project to open when a button in the MFC project is clicked..
The problem is that the C project needs some values from the MFC project to work correctly.. this is what i am not able to do.. How shall i change the C file so that it accepts parameters from a C++ one, and how can i pass the parameters from the C++???
I really wish if anyone can help me on this..
Thanks in advance..
Carol
Archived topic from Iceteks, old topic ID:1889, old post ID:15520
Linking C with C++ ??
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
Linking C with C++ ??
Is this two different applications? If yes, just make it so the mfc program executes the other exe file. I forget what the function for that is. I think it's WinExec().
Archived topic from Iceteks, old topic ID:1889, old post ID:15528
Archived topic from Iceteks, old topic ID:1889, old post ID:15528
Honk if you love Jesus, text if you want to meet Him!