Click here to Skip to main content
15,921,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Check whether click is part of double-click Pin
pie9-Apr-04 3:35
pie9-Apr-04 3:35 
GeneralRe: Check whether click is part of double-click Pin
toxcct9-Apr-04 3:50
toxcct9-Apr-04 3:50 
GeneralRe: Check whether click is part of double-click Pin
2249179-Apr-04 5:21
2249179-Apr-04 5:21 
GeneralStack Commit Size Vs Stack Reserve Size Vs Stack param Pin
Anonymous9-Apr-04 2:31
Anonymous9-Apr-04 2:31 
GeneralCommunication between C++ app and Java Pin
Kuniva9-Apr-04 2:26
Kuniva9-Apr-04 2:26 
GeneralRe: Communication between C++ app and Java Pin
toxcct9-Apr-04 2:33
toxcct9-Apr-04 2:33 
GeneralRe: Communication between C++ app and Java Pin
Kuniva9-Apr-04 9:49
Kuniva9-Apr-04 9:49 
GeneralRe: Communication between C++ app and Java Pin
antlers9-Apr-04 6:19
antlers9-Apr-04 6:19 
I'm going to pretend to be an expert on this because I just hooked up a browser-based Java application to a complex C++ library using JNI.

To get meaningful communication between the Java applet and your C++ application, you are probably going to need to remove the security restrictions on the applet so it runs outside the browser's sandbox. You can do this by signing the applet with a cryptographic signature, or by running the Java code as an application instead of an applet. Once you do this, the Java app and your C++ app can communicate by sockets, or writing files to the local filesystem, or you could use JNI (or COM if the applet is written for the Microsoft VM) and package your C++ app as a DLL that the Java applet can call.

If you can't or don't want to change the security restrictions on the Java applet, pretty much the only way to get it to communicate is to have both it and your C++ app talk to the same server on the applet's host (I suppose you could also send Windows messages to the applet's window, but that's a really limited form of communication). Applets are allowed to open a socket, but only back to a server on the host from which they were downloaded. Hosting the applet on your local machine might work for you as well.
GeneralRe: Communication between C++ app and Java Pin
Kuniva9-Apr-04 9:50
Kuniva9-Apr-04 9:50 
GeneralRe: Communication between C++ app and Java Pin
antlers12-Apr-04 5:20
antlers12-Apr-04 5:20 
GeneralRe: Communication between C++ app and Java Pin
Kuniva12-Apr-04 6:55
Kuniva12-Apr-04 6:55 
GeneralRe: Communication between C++ app and Java Pin
antlers12-Apr-04 10:34
antlers12-Apr-04 10:34 
GeneralRestarting Services Pin
Bassam Abdul-Baki9-Apr-04 1:47
professionalBassam Abdul-Baki9-Apr-04 1:47 
GeneralRe: Restarting Services Pin
2249179-Apr-04 4:25
2249179-Apr-04 4:25 
GeneralRe: Restarting Services Pin
Bassam Abdul-Baki9-Apr-04 9:09
professionalBassam Abdul-Baki9-Apr-04 9:09 
Generalsaving complete webpage to HD (with images) Pin
midupk9-Apr-04 1:26
midupk9-Apr-04 1:26 
GeneralRe: saving complete webpage to HD (with images) Pin
toxcct9-Apr-04 1:49
toxcct9-Apr-04 1:49 
GeneralRe: saving complete webpage to HD (with images) Pin
midupk11-Apr-04 23:05
midupk11-Apr-04 23:05 
GeneralRe: saving complete webpage to HD (with images) Pin
2249179-Apr-04 3:41
2249179-Apr-04 3:41 
GeneralRe: saving complete webpage to HD (with images) Pin
midupk11-Apr-04 23:07
midupk11-Apr-04 23:07 
GeneralProject settings for initial stack Pin
Anonymous9-Apr-04 1:22
Anonymous9-Apr-04 1:22 
GeneralRe: Project settings for initial stack Pin
David Crow9-Apr-04 3:50
David Crow9-Apr-04 3:50 
GeneralCAsyncSocket Client/server Pin
VBZ9-Apr-04 1:21
VBZ9-Apr-04 1:21 
General2G limit when creating threads Pin
Anonymous9-Apr-04 1:17
Anonymous9-Apr-04 1:17 
GeneralRe: 2G limit when creating threads Pin
David Crow9-Apr-04 3:53
David Crow9-Apr-04 3:53 

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.