G Guest Aug 3, 2005 #1 Does anyone know how to call a DLL from VBA if the DLL uses a 'cdecl' calling convention?
J Jake Marx Aug 4, 2005 #2 Hi Tommysaurus, Does anyone know how to call a DLL from VBA if the DLL uses a 'cdecl' calling convention? Click to expand... Here's a KB article that addresses this: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q153586 Sounds like you'll either have to either 1) recreate the DLL using the _stdcall calling convention OR 2) create a wrapper DLL using the _stdcall calling convention. -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored]
Hi Tommysaurus, Does anyone know how to call a DLL from VBA if the DLL uses a 'cdecl' calling convention? Click to expand... Here's a KB article that addresses this: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q153586 Sounds like you'll either have to either 1) recreate the DLL using the _stdcall calling convention OR 2) create a wrapper DLL using the _stdcall calling convention. -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored]