Reply to Thread

Post a reply to the thread: FormatMessage

Your Message

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

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 07-10-2013, 04:45 AM
    linder

    Re: FormatMessage



    Friedrich
  • 07-10-2013, 04:38 AM
    Allan Greis Eriksen

    Re: FormatMessage

    Now that's excellent!

    Thanks
  • 07-10-2013, 03:03 AM
    linder

    Re: FormatMessage

    Allan,

    New "Handle String Operation (Format System Message)..." Operation added. Thank you for your suggestion.

    Friedrich
  • 07-09-2013, 06:52 AM
    Allan Greis Eriksen

    Re: FormatMessage

    Okay.

    I have use the kernel32.dll call instead, so the error can be written to a log file.
  • 07-09-2013, 06:45 AM
    linder

    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
  • 07-09-2013, 06:33 AM
    Allan Greis Eriksen

    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)

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •