I post here as I think the main users of old fashioned C++ win32 dlls might
well be VB developers hacking up the odd bit of fast code.
I have followed the instructions in the MSDN notes that deal exactly with
this, but __stdcall is not behaving. The function I declare as
__decslspec(dllexport) int __stdcall funkyfunc1 (int i)
should be described in the .map file as
rather than
I can get VB to call the function if I give it the gibberish name in the
Declare alias, but the output from the function is aslo gibberish. I have
the "use __stdcall" option turned on in the project settings and I am using
MS Visual Studio 6.
Has anyone else had similar problems with __stdcall / __declspec(dllexport)
in VC++ 6?
TIA
Steven
--
----------------------------------
Steven Riley
----------------------------------
Wellcome Trust Centre for the
Epidemiology of Infectious Disease
University of Oxford
South Parks Road
Oxford
OX1 3PS
----------------------------------
Linacre College
Oxford
OX1 3JA
----------------------------------
01865 - (2)81229 (W)
01865 - 209295 (H)
----------------------------------