Click here to Skip to main content
15,915,703 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Did anybody ever use MSFlexGrid control in VC++ before? Pin
Rashid Thadha20-Jan-02 22:10
Rashid Thadha20-Jan-02 22:10 
GeneralRe: Did anybody ever use MSFlexGrid control in VC++ before? Pin
Aaron K.B. Huang20-Jan-02 22:44
Aaron K.B. Huang20-Jan-02 22:44 
GeneralRe: Did anybody ever use MSFlexGrid control in VC++ before? Pin
Aaron K.B. Huang21-Jan-02 20:54
Aaron K.B. Huang21-Jan-02 20:54 
GeneralSerial Communication Pin
et20-Jan-02 21:28
et20-Jan-02 21:28 
GeneralRe: Serial Communication Pin
Jon Hulatt20-Jan-02 21:47
Jon Hulatt20-Jan-02 21:47 
GeneralRe: Serial Communication Pin
et21-Jan-02 2:59
et21-Jan-02 2:59 
GeneralRe: Serial Communication Pin
NormDroid21-Jan-02 3:41
professionalNormDroid21-Jan-02 3:41 
GeneralTwo aplications communicate through a dll... Pin
Mr.Freeze20-Jan-02 20:29
Mr.Freeze20-Jan-02 20:29 
Hi,

I have two application which need to communicate though a dll (one application is written in C++, the other in Java). The Java application makes calls to the dll through its native interface. My problem is the following:

The dll has to transmit data (just a string and a float) to my C++ application which should immediately react. I use a shared data segment in my dll. The data which has to be transmited is first stored in that data segment, and then my C++ application periodically looks if something in the shared data segment is waiting. This is not so elegant and also my C++ application doesn't immediately react since it only does polling.
What is the best way to proceed? Should I use a PostMessage to announce that there is data waiting? And in that case will my C++ application immediately be able to react? (the C++ application is just a dialog doing nothing if no button is pressed). Or can the data directly be transmitted in a PostMessage? (there's just a string and a float to transmit).

Should you have some good idea, please let me know Smile | :)

Thanks
GeneralRe: Two aplications communicate through a dll... Pin
Christopher Lord20-Jan-02 21:55
Christopher Lord20-Jan-02 21:55 
GeneralRe: Two aplications communicate through a dll... Pin
Andreas Saurwein20-Jan-02 23:07
Andreas Saurwein20-Jan-02 23:07 
GeneralRe: Two aplications communicate through a dll... Pin
Mr.Freeze22-Jan-02 23:17
Mr.Freeze22-Jan-02 23:17 
GeneralCHtmlView and cookies Pin
StuartHall20-Jan-02 19:34
StuartHall20-Jan-02 19:34 
GeneralRe: CHtmlView and cookies Pin
StuartHall21-Jan-02 13:19
StuartHall21-Jan-02 13:19 
GeneralGlobalReAlloc Pin
alex.barylski20-Jan-02 19:31
alex.barylski20-Jan-02 19:31 
GeneralRe: GlobalReAlloc Pin
Christian Graus20-Jan-02 20:30
protectorChristian Graus20-Jan-02 20:30 
GeneralHide Dialog Pin
Mazdak20-Jan-02 19:01
Mazdak20-Jan-02 19:01 
GeneralRe: Hide Dialog Pin
Christian Graus20-Jan-02 19:20
protectorChristian Graus20-Jan-02 19:20 
GeneralRe: Hide Dialog Pin
Jon Hulatt20-Jan-02 21:51
Jon Hulatt20-Jan-02 21:51 
GeneralRe: Hide Dialog Pin
Anna-Jayne Metcalfe20-Jan-02 22:01
Anna-Jayne Metcalfe20-Jan-02 22:01 
GeneralRe: Hide Dialog Pin
Mazdak20-Jan-02 22:23
Mazdak20-Jan-02 22:23 
GeneralRe: Hide Dialog Pin
Joaquín M López Muñoz20-Jan-02 23:55
Joaquín M López Muñoz20-Jan-02 23:55 
General[Message Deleted] Pin
VladTheImpaler20-Jan-02 18:18
VladTheImpaler20-Jan-02 18:18 
GeneralRe: File Compiling Order in VC++ Pin
Jon Hulatt20-Jan-02 21:52
Jon Hulatt20-Jan-02 21:52 
GeneralRe: File Compiling Order in VC++ Pin
Aaron K.B. Huang20-Jan-02 21:58
Aaron K.B. Huang20-Jan-02 21:58 
GeneralCProgressCtrl Pin
RobJones20-Jan-02 18:13
RobJones20-Jan-02 18:13 

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.