Click here to Skip to main content
16,006,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralJust one document open at the same time Pin
senn2-Mar-05 0:18
senn2-Mar-05 0:18 
GeneralRe: Just one document open at the same time Pin
David Crow2-Mar-05 2:26
David Crow2-Mar-05 2:26 
GeneralRe: Just one document open at the same time Pin
senn2-Mar-05 2:37
senn2-Mar-05 2:37 
GeneralRe: Just one document open at the same time Pin
David Crow2-Mar-05 2:56
David Crow2-Mar-05 2:56 
GeneralRe: Just one document open at the same time Pin
senn2-Mar-05 3:16
senn2-Mar-05 3:16 
GeneralRe: Just one document open at the same time Pin
David Crow2-Mar-05 8:31
David Crow2-Mar-05 8:31 
GeneralRe: Just one document open at the same time Pin
senn2-Mar-05 19:47
senn2-Mar-05 19:47 
Generaljvm invoke Pin
alpha_101-Mar-05 23:58
alpha_101-Mar-05 23:58 
i need to invoke a jvm, but i don't know why FindClass() returns 0.
i think it's about class.path settings or the name of the class i'm trying to access.
what do i have to put in class.path? the path of my java class or the path of jdk?
do java class and .exe have to be in the same directory?

help me please, thanks!!

here is my code:

// ============= java class ============ //
package embedding;
// ...
public static void main(String[] args)
{
MyClass prova = new MyClass();
prova.run();
}

// ============= c++ code ============ //
//...
options[0].optionString = "-Djava.class.path=C:\\aa\\MyClass"; // the directory path where my java class is saved
//...
//cls = env->FindClass("C:/aa/MyClass");
cls = env->FindClass("MyClass");



GeneralResource Files ( .rc .res) Pin
kedar.dave1-Mar-05 22:14
kedar.dave1-Mar-05 22:14 
GeneralRe: Resource Files ( .rc .res) Pin
Mike Dimmick1-Mar-05 23:42
Mike Dimmick1-Mar-05 23:42 
GeneralRe: Resource Files ( .rc .res) Pin
kedar.dave2-Mar-05 0:29
kedar.dave2-Mar-05 0:29 
Generalasynchonous download file internet Pin
sunit51-Mar-05 22:13
sunit51-Mar-05 22:13 
GeneralRe: asynchonous download file internet Pin
ThatsAlok2-Mar-05 2:32
ThatsAlok2-Mar-05 2:32 
GeneralRe: asynchonous download file internet Pin
Blake Miller2-Mar-05 8:50
Blake Miller2-Mar-05 8:50 
GeneralHotkeys working in Debug build but not working in Release build Pin
PravinSingh1-Mar-05 22:11
PravinSingh1-Mar-05 22:11 
GeneralRe: Hotkeys working in Debug build but not working in Release build Pin
V.1-Mar-05 22:45
professionalV.1-Mar-05 22:45 
GeneralRe: Hotkeys working in Debug build but not working in Release build Pin
PravinSingh1-Mar-05 23:28
PravinSingh1-Mar-05 23:28 
GeneralRe: Hotkeys working in Debug build but not working in Release build Pin
Mike Dimmick1-Mar-05 23:43
Mike Dimmick1-Mar-05 23:43 
Questionhow to make a stealth application Pin
Mohsen Saad1-Mar-05 21:35
Mohsen Saad1-Mar-05 21:35 
AnswerRe: how to make a stealth application Pin
V.1-Mar-05 22:44
professionalV.1-Mar-05 22:44 
AnswerRe: how to make a stealth application Pin
RicoH2-Mar-05 0:17
RicoH2-Mar-05 0:17 
AnswerRe: how to make a stealth application Pin
ThatsAlok2-Mar-05 2:33
ThatsAlok2-Mar-05 2:33 
AnswerRe: how to make a stealth application Pin
JWood2-Mar-05 5:17
JWood2-Mar-05 5:17 
GeneralRe: how to make a stealth application Pin
David Crow2-Mar-05 8:37
David Crow2-Mar-05 8:37 
QuestionHow to minimize Form to taskbar like mediaplay9 Pin
sprewellkobe1-Mar-05 19:47
sprewellkobe1-Mar-05 19:47 

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.