How do I call the C function
int __fastcall QuickAllocate (int size);
from my assembly code? This is not inline assembler, but a real assembly code file, I use ml.exe to assemble it. If I use the code
I get the linker error
"error LNK2001: unresolved external symbol _@QuickAllocate@4"
The assembler seems desperate to add the _ name decoration to the C function name, but that is not correct in the case of __fastcall, so even though I specify the correct name decoration it won't leave it alone.
Using VC++ 6.0 and ml version 6.11