Can not link directly to DLL using __stdcall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I thought I had figured it all out, read and understood everything I could find on the web, but now my linking fails and I don't know why.

I create a DLL, use a .DEF file to export some functions. The functions have calling convention __std_call, and in my .DEF file I have appended @n to each exported functions. The executable that uses this DLL declares the exported functions in an identical way: i.e. with __std_call

Using MinGW, linking fails, stating an undefined reference to `fucntionX@n'
When I use the default calling conventions, it works fine.

Who can knock me to the floor, and tell me what I'm doing wrong?
tx!

Kurt.

_________________________________________________________________
Gratis bloggen op MSN Spaces  http://spaces.msn.com/?mkt=nl-be


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux