Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>loadstring()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LoadString()
Load a string resource
------------------------------------------------------------------------------

Syntax
LoadString( <hInst>, <nId> )   -->   cString

Arguments
<hInst> is the handle of the instance of the application (as
returned by the _GetInstance() function), or a handle of a DLL
(as returned by the LoadLibrary() function).  The default is the
current application.

<nId> is a number identifying the numeric id of a string
resource.

Returns
If successful, the string is returned.  Otherwise, a null
string ("" is returned.

Description
This function can be used to fetch strings from resource
files.  You might use string resources to allow messages to be
changed without having to re-build the program.

Example
cMsg = LoadString( hInst, "mymsg" )


See Also: LoadBitmap() LoadCursor() LoadIcon() LoadResource()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson