Click here to Skip to main content
16,021,810 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetFilePointer() + WriteFile() Problems? Pin
krish_kumar23-Jun-09 0:06
krish_kumar23-Jun-09 0:06 
GeneralRe: SetFilePointer() + WriteFile() Problems? Pin
Stuart Dootson23-Jun-09 0:08
professionalStuart Dootson23-Jun-09 0:08 
GeneralRe: SetFilePointer() + WriteFile() Problems? Pin
krish_kumar23-Jun-09 0:18
krish_kumar23-Jun-09 0:18 
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 
Thanks for ur reply

I dnt think Sniff | :^) the problem is with the installation of .net framework..

coz... same application works fine when the C++ project is complied/build
there..


this is the log file...


--------------- T H R E A D ---------------

Current thread (0x000360a0): JavaThread "main" [_thread_in_native, id=4028]

siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520 0x0007fa2c 0x10011a4c

Registers:
EAX=0x0007f98c, EBX=0x26a745f8, ECX=0x00000000, EDX=0x00000003
ESP=0x0007f988, EBP=0x0007f9dc, ESI=0x0007fa1c, EDI=0x0007fa1c
EIP=0x7c81eb33, EFLAGS=0x00000206

Top of Stack: (sp=0x0007f988)
0x0007f988: 102d8f88 e06d7363 00000001 00000000
0x0007f998: 7c81eb33 00000003 19930520 0007fa2c
0x0007f9a8: 10011a4c 00000000 00000017 00000000
0x0007f9b8: 00000001 00000000 0007fa10 00000000
0x0007f9c8: 0007f9ec 77525fcf 10006684 00000000
0x0007f9d8: 00000017 0007fa1c 10243990 e06d7363
0x0007f9e8: 00000001 00000003 0007fa10 000360a0
0x0007f9f8: 26a745f8 e06d7363 00000001 00000000

Instructions: (pc=0x7c81eb33)
0x7c81eb23: 8d 7d c4 f3 a5 5f 8d 45 b0 50 ff 15 04 15 80 7c
0x7c81eb33: 5e c9 c2 10 00 85 ff 0f 8e e6 d0 fe ff 8b 55 fc


Stack: [0x00040000,0x00080000), sp=0x0007f988, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [kernel32.dll+0x1eb33]
C [MSVCR80D.dll+0x43990]
C [test_latestDllCpp.dll+0x4346]
C [test_latestDllCpp.dll+0x415f]
C [test_latestDllCpp.dll+0x16d1]
C [test_latestDllCpp.dll+0x162a]
j testjava.inDll1()V+0
j testjava.main([Ljava/lang/String;)V+17
v ~StubRoutines::call_stub
V [jvm.dll+0x86e84]
V [jvm.dll+0xddead]
V [jvm.dll+0x86d55]
V [jvm.dll+0x8dda7]
C [java.exe+0x14c5]
C [java.exe+0x69cd]
C [kernel32.dll+0x16d4f]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j testjava.inDll1()V+0
j testjava.main([Ljava/lang/String;)V+17
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x00a70fe0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1948]
0x00a6fc58 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4044]
0x00a6ef30 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4048]
0x0003ee40 JavaThread "Finalizer" daemon [_thread_blocked, id=4040]
0x00a432e8 JavaThread "Reference Handler" daemon [_thread_blocked, id=4036]
=>0x000360a0 JavaThread "main" [_thread_in_native, id=4028]

Other Threads:
0x00a40930 VMThread [id=4032]
0x00a72330 WatcherThread [id=3148]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 576K, used 156K [0x22a70000, 0x22b10000, 0x22f50000)
eden space 512K, 30% used [0x22a70000, 0x22a972d8, 0x22af0000)
from space 64K, 0% used [0x22af0000, 0x22af0000, 0x22b00000)
to space 64K, 0% used [0x22b00000, 0x22b00000, 0x22b10000)
tenured generation total 1408K, used 0K [0x22f50000, 0x230b0000, 0x26a70000)
the space 1408K, 0% used [0x22f50000, 0x22f50000, 0x22f50200, 0x230b0000)
compacting perm gen total 8192K, used 18K [0x26a70000, 0x27270000, 0x2aa70000)
the space 8192K, 0% used [0x26a70000, 0x26a74970, 0x26a74a00, 0x27270000)
ro space 8192K, 63% used [0x2aa70000, 0x2af7d860, 0x2af7da00, 0x2b270000)
rw space 12288K, 46% used [0x2b270000, 0x2b810728, 0x2b810800, 0x2be70000)

Dynamic libraries:
0x00400000 - 0x0040d000 C:\WINDOWS\system32\java.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
0x6d6c0000 - 0x6d85b000 C:\Program Files\Java\jre1.5.0_09\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre1.5.0_09\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d690000 - 0x6d69c000 C:\Program Files\Java\jre1.5.0_09\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\Program Files\Java\jre1.5.0_09\bin\java.dll
0x6d6b0000 - 0x6d6bf000 C:\Program Files\Java\jre1.5.0_09\bin\zip.dll
0x10000000 - 0x10016000 D:\java_dll\test_latestDllCpp.dll
0x79000000 - 0x79046000 C:\WINDOWS\system32\mscoree.dll
0x774e0000 - 0x7761c000 C:\WINDOWS\system32\ole32.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
0x10200000 - 0x10320000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.dll
0x02cb0000 - 0x02db2000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcm80d.dll
0x10480000 - 0x1057c000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCP80D.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x20000000 - 0x202c5000 C:\WINDOWS\system32\xpsp2res.dll

VM Arguments:
java_command: testjava
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Perl\bin\;C:\Program Files\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Java\jdk1.5.0_09\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\servlet-api.jar;C:\gs\gs7.06\bin;C:\gs\gs7.06\lib;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;D:\90\Tools\binn\;D:\90\DTS\Binn\;D:\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;E:\IsoBuster;C:\Program Files\Intel\DMIX
USERNAME=Santhosh
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 1037308k(420180k free), swap 2496452k(1944308k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_09-b01) for windows-x86, built on Sep 7 2006 13:59:31 by "java_re" with MS VC++ 6.0


Pls do checkk... Smile | :)

once agaon thanks

Santo
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 
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 

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.