in reply to Creating a perl module on windows

...i'm using Visual Studio 9.0 and I tried to compile it with Visual Studio 6.0, this is not an option since some of my C++ code can't be compiled with older versions of VC

Then why did you attempt it??

You need to decide the version with which the C++ code is compileable and stick to it - in the above you appear to have decided on V9.0 ... and then promptly deliberately broken the [your own] rule!!

A user level that continues to overstate my experience :-))