Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxISAPI and USER32.DLL Failed
Message
De
20/12/1999 14:08:03
 
 
À
20/12/1999 13:54:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00305995
Message ID:
00306324
Vues:
33
>>>The FoxWeb example worked. But after many attempts of trying to get other revisions of FoxWeb to respond, I had cluttered the registry. So I deleted any references in the registry related to FoxWeb and my other attempts. Then recompiled and registered, and confirmed dcomcnfg for FoxWeb. Now it produced the USER32 error too.
>>
>>I can't really say what's going on here, except to guess that maybe you hosed something you didn't mean to. Did you remove both the entry from the ProgID entry under HKCR, and the GUID entry under CLSID?
>>
>
>Yes, I used find to locate all occurances and then finished off any CLSID that dcomcnfg complained about. I think it may be hosed too. I will reinstall the server tonight and try again.
>
>>>Is there a better way of removing DCOM objects from the registry?
>>
>>RegSvr32 /u ?
>

If it's an .EXE, you need to run the .EXE with the /UNREGSERVER command line flag. This is cleanly documented in the Programmer's Reference in the on-line help. I've quoted the applicable section below:

Registering an Automation server
Your Automation servers are available to other applications once the servers have been added to the Windows Registry. When you build an Automation server, it's automatically registered on the build machine. You can also register your servers on other machines.

When you use the Visual FoxPro Setup Wizard to create setup disks, the setup program registers your servers on your customers’ machines. You can also manually register servers.

To register an .exe component

Run the .exe file with the /regserver switch.
For example, to register Myserver.exe, run the following command:

myserver /regserver

To remove an .exe component registry entry

Run the .exe file with the /unregserver switch.
For example, to unregister Myserver.exe, run the following command:

myserver /unregserver

To register a .dll component

Run REGSVR32 with the name of the server.
For example, to register Myserver.dll run the following command:

REGSVR32 myserver.dll

To remove a .dll component registry entry

Run REGSVR32 with the name of the server and the /u switch.
For example, to register Myserver.dll run the following command:

REGSVR32 /u myserver.dll

Note The registry contains the full path name to the file, so if you move the file, you’ll need to register it again.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform