Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Exporting DLL icon resources as .ICO files
Storing registration key in the resources of an executable file
    Add comment     W32 Constants      Translate this page
The FindResource function determines the location of a resource with the specified type and name in the specified module.
Code examples:
Storing registration key in the resources of an executable file
Exporting DLL icon resources as .ICO files
HRSRC FindResource(
    HMODULE hModule,
    LPCTSTR lpName,
    LPCTSTR lpType
FoxPro declaration:
DECLARE INTEGER FindResource IN kernel32;
    INTEGER hModule,;
    INTEGER lpName,;
    INTEGER lpType

[in] Handle to the module whose executable file contains the resource.

[in] Specifies the name of the resource.

[in] Specifies the resource type.
Return value:
If the function succeeds, the return value is a handle to the specified resource"s information block. To obtain a handle to the resource, pass this handle to the LoadResource function.
My comment:
For hModule a value of NULL specifies the module handle associated with the image file that the operating system used to create the current process.

To specify a language, use the FindResourceEx function.
Word Index links for the FindResource :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2003-05-16 10:25:52
Modified: 2003-05-16 10:28:44
Visited in last 7 days: 45
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
17 sec.Function: 'DrawIcon'
36 sec.Function: 'CeFindAllFiles'
53 sec.Function: 'accept'
1.18 min.Function: 'GetMenuItemInfo'
1.5 min.Function: 'GetBinaryType'
1.78 min.
Function group: 'Memory Management'
2.12 min.
Function group: 'Color'
2.42 min.
Function group: 'Window Class'
2.72 min.
Function group: 'Shell Functions'
3.03 min.Function: 'FtpRemoveDirectory'
Advertise here!