Win32::API latest news

brian_d_foy on 2006-12-08T20:14:00

After taking the maintainership of Win32::API, I have been busy trying to build several useful environments to be able to test the module, including combinations of:

  1. Flavour: Vanilla, Strawberry, bleadperl
  2. Compiler: Gcc/MinGW, msvc6, msvc2003, borland?
  3. Make: nmake, dmake, GNU make

If we also consider that cygwin is entirely another story, this is definitely a great mess, at least for me: I'm not a Win32 development genius... :-)

The latest version distributed on CPAN, marked v0.45, should build and install (but not test) cleanly on at least VC6 and gcc/MinGW. The test suite is not yet ready to be enough "cross-platform" as we all want.

I'm now working on that, and on cygwin environment integration. I already applied some cygwin-related patches dated 2002 or so, but there are problems with msvc2003 Makefiles compatibility and API_test.dll building in the test suite.


This is just great!

bart on 2006-12-07T19:51:44

I had just finished a journal entry about this when I saw your post.

Re:This is just great!

cosimo on 2006-12-08T14:54:06

In fact, I'm working on the API_test.dll bit. It's a test dll that is included in the distribution to run some meaningful tests that everything passes as expected when invoking test dll functions.

The problem is that the API_test.dll built by MinGW GCC is totally different from that built by MSVC (obviously). When you run the test scripts, there are nasty segfaults all over...

I'll be back... :-)