Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New function to a VFP Class / Server
Message
De
09/02/1999 14:55:55
 
 
À
09/02/1999 09:11:59
Andrew Logie
Institute of Food Research
Reading, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00185467
Message ID:
00185667
Vues:
27
>Hi,
>I need to add a new function to my VFP6 application server - simple, or so I thought! I have added and tested my new function and re-built the DLL. I build the new COM DLL and test it locally using the command window ;
>
>x = createobject("misap.misap")
>
>? x.newFunction("param")
>
>This returns OLE error unkown name. The other functions work OK, so it appears that only calls to the new function fail. Strangley when I go into Tools Class browser and select the TLB file I cannot see the function either - any ideas on how to rectify the problem? I am obviously missing something fairly fundamental.

Did you reregister the server? Any change to the interface requires reregistration in addition to recompilation.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform