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:17:11
 
 
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:
00185646
Views:
25
Andrew,

Unfortunately I know *nothing* about this stuff, so take this with a grain of salt. . .

I remember reading about OLE/COM that new versions with new functionality had to have some kind of 'version ID' which was unique to that new functionality.
The purpose was, if I remember correctly, to ensure that any existing app using an existing (older) version would not be "broken" by the newer version.

Good luck,

Jim N

>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.
>
>Andrew Logie
>
>logiea@bbsrc.ac.uk
Previous
Reply
Map
View

Click here to load this message in the networking platform