NO

Author Topic: DLL wizard in Pelles C - EXPORT section  (Read 3185 times)

uzidengineer

  • Guest
DLL wizard in Pelles C - EXPORT section
« on: February 16, 2011, 05:38:45 PM »
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


Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: DLL wizard in Pelles C - EXPORT section
« Reply #1 on: February 16, 2011, 06:05:39 PM »
Quote
Why @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