I have a line of text in my Inno Setup file that is:
TextBox.Text := GetComputerNameString();
to get the computers name. I'm getting this error when trying to go through the setup wizard once it's built:
Do I have to do some sort of code setup (like registering an external function or something) to call this function or should I just be able to call it since it's built in?

GetLastErrorreturn after trying to retrieve the computer name? vincenzo.net/isxkb/index.php?title=GetLastError_%28%29 - WosiGetComputerNameString? Can you putLog('Before GetComputerNameString');before theTextBox.Text := GetComputerNameString();andLog('After GetComputerNameString');after and show us the installer log? - Martin Prikryl