----- Original Message ----- From: "Bill Luebkert" <[EMAIL PROTECTED]> To: "Perl-Win32-Users" <[email protected]> Sent: Monday, May 21, 2007 11:53 PM Subject: Re: GoldMine DLL access
> Sisyphus wrote: >> >> On the other side of the ledger, I think that Win32::API still requires >> that >> the dll has been built using __stdcall calling convention, whereas that's >> not a requirement with Inline::C/Inline::CPP. (Perhaps things have >> changed >> on that score. I think there's a version of Win32::API-0.20 around >> somewhere >> that supports __cdecl calling convention, and perhaps that has been >> extended >> to the latest version of Win32::API, too .... not sure.) >> >> One often finds that third party dll's use __cdecl calling convention. > > Would be nice if that logic could be folded into the current version. The version of Win32::API (patch, source and ppm) which can supposedly interface with 'cdecl' functions can be found at: http://www.xs4all.nl/~itsme/projects/perl/ It's version 0.41 (not 0.20 as I originally speculated). The current maintainer of Win32::API is Cosimo Streppone ( http://search.cpan.org/~cosimo/ ) - and I think he'd be grateful for any pointers, advice and bug reports - especially those that also supply fixes. (However, I don't know how actively he's maintaining the module - it has been 5 months since the last release. If he has lost enthusiasm he might be prepared to hand it over to someone else.) Bug reports (and fixes) are probably best submitted to: http://rt.cpan.org/Public/Dist/Display.html?Name=Win32-API I see that the cdecl issue has already been raised there, and it looks like a patch has been submitted. > > I think there are bugs in Struct.pm also that I'd like to track down one > of these days. There's also an existing bug report regarding Struct's sizeof() method, but that seems to be the only one (in relation to Struct.pm). Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
