Using Win32 functions in Visual FoxPro Image Gallery
Shell Lightweight Utility APIs -- misc. functions
..msdn
DllInstall
HashData
Code examples:
DllInstall
..msdn    Add comment     W32 Constants      Translate this page
Handles installation and setup for a dynamic-link library (DLL).
Code examples:
Declaration:
 
HRESULT DllInstall(
    BOOL bInstall,
    LPCWSTR pszCmdLine
);
 
FoxPro declaration:
 
DECLARE INTEGER DllInstall IN shlwapi;
    INTEGER bInstall,;
    STRING  pszCmdLine
 
 
Parameters:
bInstall
Value that is set to TRUE if the DLL is being installed, or FALSE if it is being uninstalled.

pszCmdLine
String passed in by regsvr32 that indicates which setup procedure to use.
Return value:
Returns NOERROR (0) if successful, or an OLE-defined error value otherwise.
My comment:
Minimum operating systems: Windows 2000, Windows NT 4.0 with Internet Explorer 4.0, Windows 98.

To use DllInstall with regsvr32, add a "/i" flag followed by a colon (:) and a string. The string will be passed to DllInstall as the pszCmdLine parameter. If you omit the colon and string, pszCmdLine will be set to NULL. The following example would be used to install a DLL:

regsvr32 /i:"Install_1" dllname.dll

Word Index links for the DllInstall :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-11-26 09:14:29
Modified: 2002-11-26 09:18:19
Visited in last 7 days: 41
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.234.42.16)
1.64 hrs.Function: 'waveOutGetDevCaps'
 Function: 'GetHGlobalFromStream'
Function group: 'COM'
2.14 hrs.Function: 'GdipGetPageUnit'
 Function: 'LoadBitmap'
8.33 hrs.Function: 'GetMenuBarInfo'
 Example: 'How to find which fonts Windows uses for drawing captions, menus and message boxes'
8.34 hrs.Example: 'Copying picture of the active form to the Clipboard using Enhanced Metafile API functions'
10.49 hrs.Example: 'URL: splitting into its component parts'
10.5 hrs.Function: 'CeRapiInvoke'
14.43 hrs.Example: 'Printing text on the main VFP window'
Google
Advertise here!