ODBC Invalid Cursor State

Post Reply
wzaf
Posts: 38
Joined: Tue Sep 30, 2008 11:16 am

ODBC Invalid Cursor State

Post by wzaf »

I use Fw 2.1c and Mysql with myODBC connector.
I've installed new version of MyOdbc : 3.51.20 and I got the error:
[Microsoft][ODBC Driver Manager] Invalid cursor state: GetValue on field: 1, nType: 12, Len: 21.

Can someone help me ?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

You mak ask at mySQL tech support forums.

Anyhow, if you google for it, you will find that it is a common error that many people has experienced.
regards, saludos

Antonio Linares
www.fivetechsoft.com
wzaf
Posts: 38
Joined: Tue Sep 30, 2008 11:16 am

ODBC Invalid Cursor State

Post by wzaf »

Tank you,
I'm going to ask MySql forum,
anyway do you know if there is the same problem using FWH ?

Regards,
Walter Zafferami
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Walter,

We have never used myODBC connector so we don't know it, sorry

But to access 32 bits code from a 16 bits application is not a good idea. You should consider to port your application to 32 bits using FWH and Harbour/xHarbour. Its easy and you can have it ready in a couple of weeks or before.
regards, saludos

Antonio Linares
www.fivetechsoft.com
wzaf
Posts: 38
Joined: Tue Sep 30, 2008 11:16 am

ODBC Invalid Cursor State

Post by wzaf »

I've considered many times porting my applications on FWH , but I have a lot of dialog forms made with Microsft Apstudio and stored in DLL . There is a simple way to port them under FWH ?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Walter,

yes, of course! You just need to open your DLL from a tool like Borland Resources Workshop and save your resources as a RC file (ascii).

Then call:

FWH\DLL\RC2DLL32.bat YourRCFile

and it will create a 32 bits DLL with your resources inside it :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply