flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
LocoDelAssembly 06 Dec 2006, 19:23
Your C program is assuming that your DLL proc is stdcall. Make your DLL stdcall too or try to fix your C environment. IMHO it's better to use stdcall in the DLL
|
|||
![]() |
|
madmatt 06 Dec 2006, 21:04
Hey thanks!
![]() ![]() [EDIT] Corrected version in the first post. [END EDIT] |
|||
![]() |
|
LocoDelAssembly 07 Dec 2006, 01:40
Note that stdcall is the default so you can pass from "proc c ...." to "proc ...." if you want.
|
|||
![]() |
|
RedGhost 08 Dec 2006, 11:35
There is nothing wrong with having stdcall but if it's purely for C, C/cdecl is the default type for C functions and if you're compiler is assuming the functions are stdcall you have default calling convention set to stdcall. Anyways you should probably declare procedures with "type convention name( ... )" if it's in a Windows environment, even if they are cdecl.
_________________ redghost.ca |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.