Hi,
1. I do not think it is necessary to build your dll on the command line. You can use
Visual Studio.
2. If you want to debug your dll, one good trick is to put an ASSERT(0) statement at the
entry point, and run your java app. It will assert in the dll and then you can attach
a debugger and see what's happenning.
sachin
-----Original Message-----
From: mickb [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 9:12 PM
To: [EMAIL PROTECTED]
Subject: JNI and Multithreaded DLL
Hi,
More questions, I am using JNI( Java Native interface) to call the C
program from the Java application that performs the encryption.
I managed to build the required shared library but when I run it crashes
with the unhandled NTTDLL exception. Since I have to compile and
link my implementation of the native methods on the command line ( in order
to create a shared dll) with the VC 6.0 I used the /MTd option
with the CL command, which as far as I understand should compile and link
with the multithreaded library and it shouldnt crash.
Any insights are appreciated, Nothing seems to be working for me
Mick Bozovic.
SecurePay Pty. Ltd.
e-mail: [EMAIL PROTECTED]
Bachelor of Software Engineering - RMIT
e-mail: [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]