in reply to Re^11: [OT - MS Visual Studio] How to build a dll that Win32::API can access
in thread [OT - MS Visual Studio] How to build a dll that Win32::API can access

There's no such thing as __cdeclspec(dllexport)

Ooops ... the strain is starting to show. I meant __declspec(dllexport) (as is written in the code I'm running).

I don't think that Win32::API ever attempted to cater for non-__cdecl function calls

Strange ... I recall it as being the other way round (in the early days, of Win32::API, at least). My recollection has it that you needed to use the __stdcall convention for Win32::API to work - and that catering for __cdecl is only a recent development. No matter ... as for you, nothing works for me any more, and I no longer have the box on which things did work - so I can't even see how it used to work.

Cheers,
Rob
  • Comment on Re^12: [OT - MS Visual Studio] How to build a dll that Win32::API can access
  • Download Code

Replies are listed 'Best First'.
Re^13: [OT - MS Visual Studio] How to build a dll that Win32::API can access
by Anonymous Monk on May 25, 2008 at 10:51 UTC
    Time for some penicillin :p