News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Java JNI

Started by shashank_tulsyan, November 01, 2006, 06:37:21 PM

Previous topic - Next topic

shashank_tulsyan

Hello,
I found an article in java.net : Invoking Assembly Language Programs from Java. Well I compiled the example. I was not able to use the dll. But, the dll that was provided by writter did the work. When I compared the two, they were of exactly equal number of bytes. I found some difference in a few places, but nevertheless they are equal in size. I am using masm32 ver8. Am I wrong somewhere. Pardon me if you consider this topic should have been posted in java.net forum. It is actually in the asm part where I am finding difficulty.

shashank_tulsyan

Well I found the solution myself. I had just never made a useful dll before, so I didn't know that one needs to make a module definition file. I did that and it worked. Thanks.

PBrennick

You should consider posting future questions of this sort in the Campus so we will see it and help you. As it is, I stumbled across this thread quite by accident.

By the way, there is an example that shows how you should build a DLL in Iczelion's Tutorials.


Paul
The GeneSys Project is available from:
The Repository or My crappy website

James Ladd

shashank,
Please could you post the full example. Id be interested in seeing it.