Post a reply to the thread: FormatMessage
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: FormatMessage Friedrich
Re: FormatMessage
Re: FormatMessage Now that's excellent! Thanks
Re: FormatMessage Allan, New "Handle String Operation (Format System Message)..." Operation added. Thank you for your suggestion. Friedrich
Re: FormatMessage Okay. I have use the kernel32.dll call instead, so the error can be written to a log file.
Re: FormatMessage Allan, That was in one of the first SB7 alpha releases four years ago and we removed it (function did not make sense). It did not make it into the Gold version (beta tester poll voted against it). Friedrich
FormatMessage Hi. In the NewsArchive a reply on 02-24-2009, 09:42 AM Hi Arnór, >> %_SB_RETURNEX% gives you all you need now. > > Would it be possible to have something like %_SB_ERROR_TEXT% that returned > the value of FormatMessage() for the %_SB_RETURNEX% ? I have added a new "Get System Error Text..." function to SetupBuilder 7 to get the text description of a Windows error number. Friedrich I have tried to find this function but I am not able to find something like this. For now I will try the example file (in sb6) from the same thread. But has this function slipped out somehow (or more possible just me being blind)
FormatMessage
Forum Rules