[fpc-pascal]Win32 API function not working

James_Wilson at i2.com James_Wilson at i2.com
Fri Jan 25 15:28:53 CET 2002

> Try GetComputerNameW. In Win32 libraries there are sometime more 
versions of
> procedures (ANSI, Unicode...)
Unfortunately, this function produces the same error, so I'm still stuck.

> Anyway do not use "Try & Compile" method, it's a time killer. Just 
download the RTL sources
> and check real procedure/function definition.
I never develop in a "try & compile" manner. As you can tell from my 
original post I research what I want to do beforehand and then code. 
That's why I knew what was included in FPC's rtl and the Win32 API 
reference -- because I did do my homework. Perhaps it's something about 
this function I don't quite understand, or perhaps there's a bug in FPC, 
but whatever the ultimate answer is I can assure you that it won't be 
related to how much effort I put into determining what it was before I 
posted my question.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20020125/34726691/attachment.html>

More information about the fpc-pascal mailing list