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.
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.
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
shashank,
Please could you post the full example. Id be interested in seeing it.