News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

[SOLVED] Using a DLL

Started by TheLastArrived, May 12, 2008, 05:00:42 PM

Previous topic - Next topic

TheLastArrived

Here I am, again  :?

I thought I solved my problem but I was mistaken. Changing calling convention ain't a good idea, it get me a lot of segmentation errors (well I should know, shame on me  :oops:).
So I found another way out,

  • with pexports I create a .def file
  • in the .def file I add a @nn decoration to each function by hand
  • I create a import library with dlltool with the -k switch

Now it works but I've to do the step 2 by hand, do you know how I can get this done by some routine?
(yes, I know I could write down a routine by myself, but why bother if it already exists?)