[fpc-pascal]Win32 API function not working
kanzelsberger at rekt.umb.sk
Fri Jan 25 14:01:59 CET 2002
In Win32 libraries there are sometime more versions of procedures (ANSI,
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
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 ?
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal