[Issue 985] dll-imported functions return values broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 23 14:36:36 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=985


thomas-dloop at kuehne.cn changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from thomas-dloop at kuehne.cn  2007-02-23 16:36 -------
dlltest.h:
# extern "C"{
# extern unsigned long __cdecl get_test();
# }

dlltest.d:
#
# extern(C) ulong get_test();
#

On 32bit systems dlltest.d should be:
#
# extern(C) uint get_test();
#


-- 



More information about the Digitalmars-d-bugs mailing list