Applies to: a client running XP, as reported. The Clarion and SQL Server versions are not named in the thread.
Problem
When a client opened the application, it stopped with: "File dbo.PM10100 could not be opened. Error: General error: invalid window handle (S1000). Press ok to end this application". The developer had never seen this error connecting to SQL Server.
Solution
- The poster found the cause himself: the application was calling a non-existent DLL.
- The thread does not say which DLL, or how he found it.
Before that, the replies asked for the details a diagnosis needs and listed things to check first:
- which SQL Server, which driver (ODBC or the native driver), which Clarion version and what connection string;
- the SQL Server ports, the firewall on both ends, then the user credentials;
- whether the ODBC driver is installed on the client.
Caveats
- The error text itself does not point at a DLL; the thread shows only that this was the cause in one case.
- The checks above were suggestions; the poster did not say that any of them applied.
Today (2026)
Likely a reasonable first check on a current build too: confirm that every DLL the application calls is present on the client. Not re-tested.
Sources: Don G. (Dec 2009, the question and the answer), Arthur K. (Dec 2009), Sean H. (Dec 2009) in softvelocity.clarion.databasedrivers.