DLL wizard in Pelles C - EXPORT section

Started by uzidengineer, February 16, 2011, 05:38:45 PM

Previous topic - Next topic

uzidengineer

Hi,

I was able to use, successfully, the wizaed
to create a simple (one function) .DLL.
I just replaced the Wizard's function with mine.

What if I nwould like more than on function -
- do I use the @8 on both?
Why @8 (and not @1)?
Can it be changed?

Thanks,
Uzi,
2/16/2011


TimoVJL

QuoteWhy @8 (and not @1)?
That depends functions parameters when using __stdcall calling convention.

"MyExportFunction"=_SampleFunction@8

int WINAPI SampleFunction(int, int);

two parameters => @8
May the source be with you