Hi, I am writing a unit to "automatically" write Trampoline functions on the fly. So assigning "plain" callbacks to TMethod's work.
Currently it can handle cdecl on linux32/64. I've tested it with up to 9 parameters and it works well. I would like to implement whatever is common to interface winapi(stdcall?) on win32 and just wanted to know if stdcall is for sure what I want. I know on x64 there is only one calling convention each for windows64 and everything_else_64. On linux32 and win32 what cc does fpc use by default? Thanks, Andrew Haines _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel