----- Original Message ----- From: "Cosimo Streppone via RT" <bug-win32-...@rt.cpan.org>


Please send me your API_test64.dll.

Sure - I'll send it to you offlist. (Anyone else wants one just let me know.)


Otherwise, when trying to compile the obj file,

(by which I meant that when I ran 'cl -c API_test.cpp')

I got errors of the
type:

API_test.cpp(31) : error C2491: 'nAPI_test' : definition of dllimport
data
not allowed
API_test.cpp(33) : error C2491: 'sum_integers' : definition of
dllimport
function not allowed
API_test.cpp(37) : error C2491: 'sum_integers_ref' : definition of
dllimport
function not allowed
[and more similar]

That's strange. I don't understand.

Yes, seems odd to me that the existing source is (apparently) legal for some MS compilers, but not others.

I'm trying to get access to a x64 environment with a working MSVC, to
test this.

The compiler I'm using (which is the same compiler that ActiveState used to build their x64 perl) is not strictly an MSVC++ compiler - it's the "Microsoft Platform SDK for Windows Server 2003 R2".

Jan reckons it's still freely available, and he's probably right. But I can no longer find a link to the damn thing - every link I come up with morphs into a download of "Microsoft Platform SDK for Windows Server 2008", which (I think) is not the same thing.

Cheers,
Rob

Reply via email to