Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLStringConnect() - working as .app, not as .exe
Message
 
 
À
04/07/2009 14:47:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01410028
Message ID:
01410111
Vues:
50
Can you post the connection string?

>Yes - I've verified that the connection string is both the same and correct.
>
>I ran the application .exe inside VFP and it works correctly.The most recent time I ran the .exe independently, I used ODBC tracing, and got a SQL.LOG file that included the following:
>
>
>2108            1654-b20	ENTER SQLDriverConnectW 
>		HDBC                0098BD68
>		HWND                00000000
>		WCHAR *             0x6FD6B1C0 [      -3] <Invalid string length!>
>		SWORD                       -3 
>		WCHAR *             0x6FD6B1C0 
>		SWORD                       -3 
>		SWORD *             0x00000000
>		UWORD                        0 <SQL_DRIVER_NOPROMPT>
>
>2108            1654-b20	EXIT  SQLDriverConnectW  with return code -1 (SQL_ERROR)
>		HDBC                0098BD68
>		HWND                00000000
>		WCHAR *             0x6FD6B1C0 [      -3] <Invalid string length!>
>		SWORD                       -3 
>		WCHAR *             0x6FD6B1C0 
>		SWORD                       -3 
>		SWORD *             0x00000000
>		UWORD                        0 <SQL_DRIVER_NOPROMPT>
>
>
>(2108.exe is the name of the application.)
>
>Anyone know how to read this, and if so, what does it mean?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform