Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
QuickBooks QBFC - from VFP6 to VFP9
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01605538
Message ID:
01605724
Vues:
101
>
>QBSessionManager.OpenConnection() returns .NULL. This does not indicate failure.

Hi Brandon,

Yes, that was indeed the problem. Interestingly, in VFP6, it's an empty string and that's what I was checking for. VFP9 correctly returns .NULL. which I was not checking for so switching from VFP6 to VFP9 caused my app to *think* there was an error when there actually was not. In fact, checking the return value is pointless but I was even dumber 10 years ago when I wrote that than I am now.

Thank you for your reply.

Thank you also to Marcia and Tamar for your responses.


Carl
Carl Chambers
Cardol Data Systems
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform