Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLStringConnect() - working as .app, not as .exe
Message
 
 
To
04/07/2009 14:47:54
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01410028
Message ID:
01410111
Views:
49
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform