[fpc-pascal]Win32 API function not working
Kanzelsberger Pavel
kanzelsberger at rekt.umb.sk
Fri Jan 25 14:01:59 CET 2002
Try GetComputerNameW
In Win32 libraries there are sometime more versions of procedures (ANSI,
Unicode...)
Anyway do not use "Try & Compile" method, it's a time killer. Just download
the RTL sources and check real procedure/function definition.
regards, Pavel Kanzelsberger
-----Original Message-----
From: James_Wilson at i2.com [mailto:James_Wilson at i2.com]
Sent: Friday, January 25, 2002 1:49 PM
To: fpc-pascal at deadlock.et.tudelft.nl
Subject: Re: [fpc-pascal]Win32 API function not working
> GetComputerName.Windows ?
> Windows.GetComputerName?
Yup, I missed that one. :-) I had it backwards in the code, and looked at
it 10 times, but still didn't see that.
Unfortunately, that doesn't solve the problem. Calling the function properly
(Windows.GetComputerName) still results in the same error "Can't determine
which overloaded function to call". Any other ideas?
Thanks,
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20020125/4cedb89a/attachment.html>
More information about the fpc-pascal
mailing list