Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Parameters in COM
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Problem with Parameters in COM
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01040581
Message ID:
01040581
Views:
60
Hi there,

once I have written a com-server with vfp6 which was used by a vb-app and which worked fine. But when I recompiled the component with VFP8 it
does not work anymore:

The component has a method which starts like this:
procedure do_nopen
lparameters cDatabase
if ! file(cDatabase)
   return .F.
Else
   open Database (cDatabase)
Endif
It is used in VB like this
Dim ot as galserve.gdserve
Dim lRet as boolean
set ot = new galserve.gdserve
lret = ot.do_nopen("D:\KASSE\DATA\GALIDATA.DBC")
But now, compiled in VFP8 this crushes because the parameter cDatabase
is no longer a string like in VFP6 but has a logical value.
By the way, when I test the server with VFP it works.
Can anybody tell me what is happening there?

Thanks in advance

Thomas
Next
Reply
Map
View

Click here to load this message in the networking platform