Re: Win32::API help

2006-03-08 Thread willem
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 m

RE: Win32::API help

2006-03-08 Thread Bullock, Howard A.
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=

Re: Win32::API help

2006-03-08 Thread willem
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

Re: Win32::API Help

2006-02-18 Thread willem
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. >>

RE: Win32::API Help

2006-02-16 Thread Allegakoen, Justin Devanandan
---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 tw

RE: Win32::API Help

2006-02-16 Thread Bullock, Howard A.
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, wit

Re: Win32::API Help

2006-02-16 Thread willem
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 __

RE: Win32::API Help

2006-02-16 Thread Bullock, Howard A.
] 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

Re: Win32::API Help

2006-02-16 Thread Sisyphus
- Original Message - From: "Bullock, Howard A." <[EMAIL PROTECTED]> To: "perl-win32-users" 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 sure ... and I'm not really set up to

RE: Win32::API help

2003-08-27 Thread Jangale V-S SPEL-TIT
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