tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Problem DLL and __stdcall


From: grischka
Subject: Re: [Tinycc-devel] Problem DLL and __stdcall
Date: Sat, 20 Nov 2010 16:27:00 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

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

address@hidden 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]