Calling C/C++ DLL from java using JNI

I have Java win32-Application/exe, which calls C++ dll. There is one method implemented in C++ DLL. Visual Cafe is development environment for Java application and VC++6.0 for C++ dll. My Java application hangs when native method is called. Native Java Exception Error!!
I am using implib to convert the C++ .dll into an OMF .lib file.

Would appreciate quick response.
nilu011700Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vivexpCommented:

Hi,
Visit http://www.javaworld.com/javaworld/javatips/jw-javatip86.html
for an example for on win32 platform

best of luck!!!
nilu011700Author Commented:
I'm affraid to say this , but this is not what I need. I do not need AWT native interface.
My Java application which runs as Win32 executable is not calling DLL. I have done all what I need to do and what I know to call native DLL.
If you still think the URL would help please let me know in bit of a detail.
Thanx for your time.
nilu011700Author Commented:
I'm affraid to say this , but this is not what I need. I do not need AWT native interface.
My Java application which runs as Win32 executable is not calling DLL. I have done all what I need to do and what I know to call native DLL.
If you still think the URL would help please let me know in bit of a detail.
Thanx for your time.
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

jini36Commented:
Just a thought !! Did u check out all the services are running ?? If you have done everything correct than check out if DLL having some problem running!!

I have a question which relats to this one.. I am not able to use DebugBreak() in my native DLL accessing from Java application !! Do anyone know about this ??

Enjoy!!
jini36Commented:
Just a thought !! Did u check out all the services are running ?? If you have done everything correct than check out if DLL having some problem running!!

I have a question which relats to this one.. I am not able to use DebugBreak() in my native DLL accessing from Java application !! Do anyone know about this ??

Enjoy!!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.