Using Win32 functions in Visual FoxPro Image Gallery
Resource
..msdn
BeginUpdateResource
CopyImage
EndUpdateResource
FindResource
LoadImage
LoadResource
LoadString
LockResource
SizeofResource
UpdateResource
Code examples:
Exporting DLL icon resources as .ICO files
Storing registration key in the resources of an executable file
FindResource
    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
Declaration:
HRSRC FindResource(
    HMODULE hModule,
    LPCTSTR lpName,
    LPCTSTR lpType
);
FoxPro declaration:
DECLARE INTEGER FindResource IN kernel32;
    INTEGER hModule,;
    INTEGER lpName,;
    INTEGER lpType

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

lpName
[in] Specifies the name of the resource.

lpType
[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  
FreeTranslation.com 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: 17
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.196.72.162)
12 sec.Function: 'ShellExecute'
25 sec.Function: 'HeapWalk'
37 sec.Function: 'WNetGetConnection'
50 sec.Function: 'FtpGetFileSize'
1.03 min.Function: 'GetObject'
1.27 min.Function: 'CountClipboardFormats'
1.48 min.Function: 'mmioRead'
1.68 min.Function: 'CeCreateDatabase'
1.87 min.
Function group: 'GDI+ Graphics'
2.08 min.Function: 'GetVolumeNameForVolumeMountPoint'
Google
Advertise here!