Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Parameters in COM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Problem with Parameters in COM
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01040581
Message ID:
01040581
Vues:
58
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform