Michel Claveau wrote:
I have a problem for create DLL (Windows), with tcc version 0.9.25 and
__stdcall.
This code:
DLL_EXPORT void __stdcall Open(char *nom)
give a bad compile with tcc version 0.9.25
"bad compile" means what?
Also, it works for me with both 0.9.25 and mob branch, and using
#define DLL_EXPORT __declspec(dllexport)
but it was OK with tcc version 0.9.23
If I use:
DLL_EXPORT void Open(char *nom)
(without __stdcall )
it's OK, but other softs need to change all calls...
Sure, you don't want this.
Also, names of functions, in .def, change, if I use, or not, __stdcall
_o...@4 is (somehow standard) "stdcall decoration"
However if you got the .def file then it DID compile. What then
was "bad" about it?
An idea of solution?
You can try latest development branch:
http://repo.or.cz/w/tinycc.git?a=shortlog;h=refs/heads/mob
Thanks you in advance.
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel