Ok, this is going to seem long and drawn out, but here goes :)
I've been pulling my hair out for several days now trying to get an NT
system together with both Win32::API and Win32::DDE on it. This appears to
be a virtually impossible task though.
I don't have access to Visual C/C++ so I'm using Mingw32 with GCC. I'm
able to compile perl from the 5.6 sources just fine, and able to compile
Win32::DDE for that build with no problems. However, when I try to compile
Win32::API I get all sorts of errors about undefined variables
(specifically 'na' and '_asm').
On the other hand, if I use ActivePerl 5.6, I'm able to use Win32::API just
fine from the PPM distribution, but when I try to compile Win32::DDE I get
almost 1000 undefined reference errors to various Perl_??? variables (i.e.
Perl_Get_Context etc.). Boy was it fun just reconfiguring ActivePerl to
use GCC instead of Visual C :)
I read somwhere that in order to compile a module, one must use the same
compiler that Perl was built with. Is this true?
Anyway, I really need access to both of these modules, but unfortunately I
don't know enough about C programming to fix what's going wrong with the
build process, and I also don't know enough about creating modules to write
one for the DLL I need to access (hence my need for Win32::API). Can
anyone help? Thanks in advance!
---
You are currently subscribed to perl-win32-users as: [[email protected]]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]