<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2712.300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=904505612-25012002><FONT face=Arial color=#0000ff size=2>Try
GetComputerNameW</FONT></SPAN></DIV>
<DIV><SPAN class=904505612-25012002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=904505612-25012002><FONT face=Arial color=#0000ff size=2>In
Win32 libraries there are sometime more versions of procedures (ANSI,
Unicode...)</FONT></SPAN></DIV>
<DIV><SPAN class=904505612-25012002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=904505612-25012002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=904505612-25012002><FONT face=Arial color=#0000ff size=2>Anyway
do not use "Try & Compile" method, it's a time killer. Just download the RTL
sources and check real procedure/function definition.</FONT></SPAN></DIV>
<DIV><SPAN class=904505612-25012002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=904505612-25012002><FONT face=Arial color=#0000ff
size=2>regards, Pavel Kanzelsberger</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
James_Wilson@i2.com [mailto:James_Wilson@i2.com] <BR><B>Sent:</B> Friday,
January 25, 2002 1:49 PM<BR><B>To:</B>
fpc-pascal@deadlock.et.tudelft.nl<BR><B>Subject:</B> Re: [fpc-pascal]Win32 API
function not working<BR><BR></FONT></DIV><BR><FONT face="Courier New"
size=2>> GetComputerName.Windows ?<BR>>
Windows.GetComputerName?<BR><BR>Yup, I missed that one. :-) I had
it backwards in the code, and looked at it 10 times, but still didn't see
that.</FONT> <BR><BR><FONT face="Courier New" size=2>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?</FONT> <BR><BR><FONT
face="Courier New" size=2>Thanks,</FONT> <BR><FONT face="Courier New"
size=2>Jim</FONT></BLOCKQUOTE></BODY></HTML>