Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetFilePointer() + WriteFile() Problems? Pin
Stuart Dootson23-Jun-09 0:22
professionalStuart Dootson23-Jun-09 0:22 
GeneralRe: SetFilePointer() + WriteFile() Problems? Pin
krish_kumar23-Jun-09 1:13
krish_kumar23-Jun-09 1:13 
QuestionCalling C#dll via C++ from Java Pin
Santhosh Sebastian22-Jun-09 21:12
Santhosh Sebastian22-Jun-09 21:12 
AnswerRe: Calling C#dll via C++ from Java Pin
KarstenK22-Jun-09 21:26
mveKarstenK22-Jun-09 21:26 
GeneralRe: Calling C#dll via C++ from Java Pin
Santhosh Sebastian22-Jun-09 21:44
Santhosh Sebastian22-Jun-09 21:44 
GeneralRe: Calling C#dll via C++ from Java Pin
Stuart Dootson22-Jun-09 22:31
professionalStuart Dootson22-Jun-09 22:31 
GeneralRe: Calling C#dll via C++ from Java Pin
Santhosh Sebastian22-Jun-09 23:42
Santhosh Sebastian22-Jun-09 23:42 
GeneralRe: Calling C#dll via C++ from Java Pin
Stuart Dootson22-Jun-09 23:49
professionalStuart Dootson22-Jun-09 23:49 
I'll suggest you get busy with the debugger Smile | :)

If the target machine hasn't got Visual Studfio, then use WinDbg[^]. Debug java.exe, specifying the entrypoint class on the command-line as you would normally and run the Java app. When the exception occurs (looks like it's in kernel32 during a call to the C run-time) the debugger should give you better information about where it's happened.

The debugger will warn you that Java.exe has no debug information, but that doesn't matter.

This approach does work for debugging native+Java hybrids - I used it myself last week to debug my very first app using JNI Smile | :)

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Calling C#dll via C++ from Java Pin
KarstenK22-Jun-09 22:34
mveKarstenK22-Jun-09 22:34 
GeneralRe: Calling C#dll via C++ from Java Pin
Santhosh Sebastian23-Jun-09 0:36
Santhosh Sebastian23-Jun-09 0:36 
GeneralRe: Calling C#dll via C++ from Java Pin
KarstenK23-Jun-09 0:57
mveKarstenK23-Jun-09 0:57 
GeneralRe: Calling C#dll via C++ from Java Pin
Santhosh Sebastian23-Jun-09 1:54
Santhosh Sebastian23-Jun-09 1:54 
Questionadd variable Module size for datamatrix ??? Pin
aa_zz22-Jun-09 20:51
aa_zz22-Jun-09 20:51 
QuestionRe: add variable Module size for datamatrix ??? Pin
CPallini22-Jun-09 21:46
mveCPallini22-Jun-09 21:46 
QuestionIterate Registry key for value Pin
Mahesh Kulkarni22-Jun-09 20:49
Mahesh Kulkarni22-Jun-09 20:49 
AnswerRe: Iterate Registry key for value Pin
KarstenK22-Jun-09 21:28
mveKarstenK22-Jun-09 21:28 
QuestionOutput like a webcam Pin
squirly422-Jun-09 20:47
squirly422-Jun-09 20:47 
AnswerRe: Output like a webcam Pin
Code-o-mat22-Jun-09 22:40
Code-o-mat22-Jun-09 22:40 
Questioninverse function of SystemTimeToTzSpecificLocalTime() - OS = Win2K Pin
includeh1022-Jun-09 20:43
includeh1022-Jun-09 20:43 
AnswerRe: inverse function of SystemTimeToTzSpecificLocalTime() Pin
Stuart Dootson22-Jun-09 21:36
professionalStuart Dootson22-Jun-09 21:36 
GeneralRe: inverse function of SystemTimeToTzSpecificLocalTime() Pin
includeh1022-Jun-09 21:52
includeh1022-Jun-09 21:52 
GeneralRe: inverse function of SystemTimeToTzSpecificLocalTime() Pin
Stuart Dootson22-Jun-09 22:25
professionalStuart Dootson22-Jun-09 22:25 
GeneralRe: inverse function of SystemTimeToTzSpecificLocalTime() Pin
includeh1022-Jun-09 22:51
includeh1022-Jun-09 22:51 
GeneralRe: inverse function of SystemTimeToTzSpecificLocalTime() Pin
Stuart Dootson22-Jun-09 22:57
professionalStuart Dootson22-Jun-09 22:57 
AnswerRe: inverse function of SystemTimeToTzSpecificLocalTime() - OS = Win2K Pin
cmk23-Jun-09 10:42
cmk23-Jun-09 10:42 

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.