----- Original Message ----- 
From: "Lyle Kopnicky"
.
.
>
> According to MSDN, you're supposed to feed SetTargetComputer() a NULL to
> get it to target the local host.  But I don't have any way of passing a
> NULL to the Perl version.  I tried undef, and that generates an error.
> I tried 0, and that fails.
>
> Any ideas?
>

Perhaps:

SetTargetComputer("\0");

I actually tried testing that out with Inline::C and Inline::CPP scripts
that wrap the SetTargetComputer() function. Both my MSVC++6.0 and MSVC++7.0
compilers have an 'MSTask.h' that defines SetTargetComputer() and the
various constants, but neither appears to have a library (.lib) capable of
resolving the term .... actually, on closer inspection, it might be an
Inline::C/CPP issue.

Anyway, I was unable to complete the test as I couldn't get the script to
compile owing to the "unresolved external symbol" .... must take a closer
look at why it fails.

Cheers,
Rob

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to