Bullock, Howard A. wrote:
1. The API wants the server name in UNICODE. I have looked at the
Unicode module docs but do not understand how they relate to this task.
How do I change my standard text name to UNICODE for use with this
function?
use Encode qw(encode);
printf(%s, encode(UCS-2LE,
With the help of willem my new code follows. It returns zero (0) as the
return code but the buffer does not appear to contain the expected data.
Any additional insights would be appreciated.
Results:
Returncode = 0
tod_elapsedt = 388696 - this val always the same
tod_msecs= 0
tod_hours=
Bullock, Howard A. wrote:
With the help of willem my new code follows. It returns zero (0) as the
return code but the buffer does not appear to contain the expected data.
Any additional insights would be appreciated.
tod_elapsedt = 388696 - this val always the same
if you read the msdn
Bullock, Howard A. wrote:
Thanks to both of you for the feedback. Unfortunately, I could get
neither to work. I did find a two call workaround using Win32::Lanman
methods. In the long run I really would like to understand how to get
this and other API calls to works. Thanks again.
- Original Message -
From: Bullock, Howard A. [EMAIL PROTECTED]
To: perl-win32-users perl-win32-users@listserv.ActiveState.com
Sent: Thursday, February 16, 2006 1:29 AM
Subject: Win32::API Help
I can't seems to get the API call to work. Can someone give me some
guidance?
.
.
Not
]
Sent: Thursday, February 16, 2006 7:09 AM
Subject: Re: Win32::API Help
--
Let me know if that gets it for you.
--
,-/- __ _ _ $Bill Luebkert
Mailto:[EMAIL PROTECTED]
(_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED
Sisyphus wrote:
my $DsEnumerateDomainTrusts = new Win32::API('Netapi32',
'DsEnumerateDomainTrusts', 'PNPP', 'N');
in my netapi32.dll there is no DsEnumerateDomainTrusts, it contains
a DsEnumerateDomainTrustsW and DsEnumerateDomainTrustsA version of this
call.
willem
Willem Wrote:
in my netapi32.dll there is no DsEnumerateDomainTrusts, it contains
a DsEnumerateDomainTrustsW and DsEnumerateDomainTrustsA version of this
call.
From the Win32::API docs:
Also note that many Win32 APIs are exported twice,
---8--
in my netapi32.dll there is no DsEnumerateDomainTrusts, it contains
a DsEnumerateDomainTrustsW and DsEnumerateDomainTrustsA version of this
call.
From the Win32::API docs:
Also note that many Win32 APIs are exported
Thanks Bill,
It works !
Thanks a lot again !
With Best Regards,
V.S. Jangale
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
10 matches
Mail list logo