![]() |
【转帖】dwgdirect calling convention
dwgdirect calling convention
dwgdirect calling convention hello! would someone please explain why dwgdirect uses the __cdecl calling convention on windows when __stdcall is the defacto standard for modular products? also, is there a #define i can use to get my code to expect __cdecl for dwgdirect functions? i've looked (briefly) and didn't find anything that looked useful for this purpose. finally, the user documentation for dwgdirect doesn't mention #define'ing dd_client_build to avoid problems with your memcpy() redefinition. could you add mention of this, please? thanks!! regards, rick spates dimension4, inc. __stdcall is standard when functions are to be called from non-c++ modules. dd is not supposed to be used from non-c++ modules, and therefore it uses default c++ calling convention. vladimir |
所有的时间均为北京时间。 现在的时间是 02:39 AM. |