Click here to Skip to main content
16,005,206 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question.How to connect VC++ with C51 programs Pin
sheshidar5-Dec-05 3:26
sheshidar5-Dec-05 3:26 
AnswerRe: .How to connect VC++ with C51 programs Pin
toxcct5-Dec-05 3:52
toxcct5-Dec-05 3:52 
GeneralRe: .How to connect VC++ with C51 programs Pin
khan++5-Dec-05 4:05
khan++5-Dec-05 4:05 
AnswerRe: .How to connect VC++ with C51 programs Pin
normanS5-Dec-05 18:27
normanS5-Dec-05 18:27 
Questionng you.How to connect VC++ with C51 programs Pin
sheshidar5-Dec-05 3:25
sheshidar5-Dec-05 3:25 
AnswerRe: ng you.How to connect VC++ with C51 programs Pin
khan++5-Dec-05 3:39
khan++5-Dec-05 3:39 
GeneralRe: ng you.How to connect VC++ with C51 programs Pin
sheshidar23-Dec-05 3:19
sheshidar23-Dec-05 3:19 
GeneralRe: ng you.How to connect VC++ with C51 programs Pin
khan++23-Dec-05 3:51
khan++23-Dec-05 3:51 
The thing you are trying to do could be hard to implement, since the C51 program running in the Keil compiler is in Keil's own address space etc, and not running independently, because it is not an executable program; It only runs inside the Microcontroller.

My personal opinion:
If you need to create communication between two different programs, then write them both in VC++.

If you really need to communicate with a C51 program, then you would have to take a look at:
Inter-process communication. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/interprocess_communications.asp[^]
API Hooking. (Maybe too.) http://www.codeproject.com/system/hooksys.asp[^]

Also you could do some research on emulating the Keil compiler; (i.e, writing a program which in turn runs a Keil's C51 program).


this is this.
QuestionMFC doc/view printing: printing a different document Pin
-Dy5-Dec-05 2:30
-Dy5-Dec-05 2:30 
AnswerRe: MFC doc/view printing: printing a different document Pin
Cool Ju5-Dec-05 21:59
Cool Ju5-Dec-05 21:59 
AnswerRe: MFC doc/view printing: printing a different document (solution) Pin
-Dy5-Dec-05 22:44
-Dy5-Dec-05 22:44 
Question[Message Deleted] Pin
newbie53455-Dec-05 1:13
newbie53455-Dec-05 1:13 
AnswerRe: error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." Pin
2249175-Dec-05 1:22
2249175-Dec-05 1:22 
GeneralRe: error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." Pin
newbie53455-Dec-05 1:54
newbie53455-Dec-05 1:54 
AnswerRe: error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." Pin
Cool Ju5-Dec-05 1:46
Cool Ju5-Dec-05 1:46 
GeneralRe: error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." Pin
newbie53455-Dec-05 1:55
newbie53455-Dec-05 1:55 
AnswerRe: [Message Deleted] Pin
Cedric Moonen5-Dec-05 2:05
Cedric Moonen5-Dec-05 2:05 
GeneralRe: [Message Deleted] Pin
ThatsAlok5-Dec-05 21:20
ThatsAlok5-Dec-05 21:20 
GeneralRe: [Message Deleted] Pin
Cedric Moonen5-Dec-05 21:25
Cedric Moonen5-Dec-05 21:25 
GeneralRe: [Message Deleted] Pin
ThatsAlok5-Dec-05 22:26
ThatsAlok5-Dec-05 22:26 
QuestionCatching messages in a subclass of CFileDialog Pin
mrKlister5-Dec-05 1:05
mrKlister5-Dec-05 1:05 
AnswerRe: Catching messages in a subclass of CFileDialog Pin
Sheng Jiang 蒋晟5-Dec-05 7:36
Sheng Jiang 蒋晟5-Dec-05 7:36 
GeneralRe: Catching messages in a subclass of CFileDialog Pin
mrKlister6-Dec-05 23:19
mrKlister6-Dec-05 23:19 
QuestionHow to determine a folder is empty Pin
emmatty4-Dec-05 23:50
emmatty4-Dec-05 23:50 
AnswerRe: How to determine a folder is empty Pin
ThatsAlok5-Dec-05 0:38
ThatsAlok5-Dec-05 0:38 

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.