Well, given the purpose of mCtrl project, it's often seen
as an extension of USER32.DLL and COMCTL32.DLL and as such
it is better to follow their conventions. That includes
stdcall and no decorations.

Furthermore, in the past I was told from several sides that 
DLL can be used from some other languages on Windows iff
the exported functions are stdcall.

As far as I can remember, that included Delphi, VisualBasic
and some other languages (often those made by MS).

And, last but not least, such change at this point would mean
quite nasty break of DLL's binary compatibility.

M.


Dne 17. 7. 2017 v 15:50 LRN napsal(a):
> On 7/17/2017 1:21 PM, Martin Mitáš wrote:
>>  The aim is to have
>> the DLL without the typical symbol suffix decorations (@num).
>>
>> Is there better way, how to achieve the goal without manual
>> maintaining of two .def files?
> 
> Um...don't use stdcall? IIRC, the @X decorations only apply to stdcall 
> functions.
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to