Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New function to a VFP Class / Server
Message
From
09/02/1999 14:55:55
 
 
To
09/02/1999 09:11:59
Andrew Logie
Institute of Food Research
Reading, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00185467
Message ID:
00185667
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform