in reply to Win32::Lanman for 5.10

or share the module with me?

Well ... I've hacked up a perl-5.10 version that is quite probably usable. It does not have the NetDfsRename(), NetDfsMove(), NetEnumerateTrustedDomains() and I_NetGetDCList() functions - the first 2 of those functions are no longer supported (according to comments in the source), I don't know why I couldn't get support for the last 2.

And it was built using MSVC++ 7.0 - ymmv. (It would be better built with MSVC++ 6.0 or MinGW if someone gets around to it.)

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Win32::Lanman for 5.10
by jd2006a (Initiate) on Nov 27, 2009 at 19:02 UTC
    Thanks for your advice. I was actually able to compile the module based on your instructions. I resolved the 4 undefined symbols by simply commenting them out anywhere I could find them. The make file worked but there were some issues in the paths, e.g. the misc folder for the ppd and pp file did not exist in my folder structure. As compiler I used VC6++ with SP5 or 6. I used the 2003 SDK.
Re^2: Win32::Lanman for 5.10
by taitcyrus (Initiate) on Dec 16, 2009 at 00:25 UTC
    I've tried following these steps and they have helped, but I must have a different mix of compiler/SDK since I've no luck compiling.

    I tried Visual Studio 2005 with no luck (it complained about missing Perl modules and since I'm not a VS2005 expert, I couldn't figure out how to build the dll without it trying to link in all of the needed Perl modules).

    I then tried MSVC++ 6.0 but I must have the wrong SDK. I tried both the 2.0 SDK as well as the 3.0 SDK with no luck (2.0 complaining about NETSETUP_NAME_TYPE not defined, 3.0 complaining about sal.h missing)

    Any additional help, thoughts, suggestions, etc. would be appreciated (if a pre-compiled dll can't be provided).

    I'm trying to link against a Strawberry version of Perl (5.10.1). And I 2nd the thought that it would be very helpful if a true cpan version of this module were available.
      I'm trying to link against a Strawberry version of Perl (5.10.1)

      I can send you the version that I built if you /msg me the details of how to send it to you. It seems to work ok with my Strawberry Perl (5.10.1), but I haven't tested beyond checking that the module loads ok.

      Cheers,
      Rob