Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
A lot of people still use Visual Foxpro, even though Microsoft stopped supporting it years ago. You can download the legacy oledb driver (VFPOLEDB) but it is only 32 bit. There are lots of well documented troubles of people struggling to use it due to incompatibility with 64 bit clients, e.g. Power BI.

I had the idea of taking the 32 bit driver and wrapping it in my own 64 bit driver, effectively extending it.

Can anyone give me any pointers? Or tell me not to bother because it won't work for some reason?

I have MS Visual Studio and I'm a reasonably competent programmer, although I've never attempted to build a driver or anything as low level as this. From my reading it seems I need to use the ATL framework in C++. I only know enough C++ to get myself into trouble, but I have dabbled in it and I'm prepared to give it a go.

Any advice greatly appreciated.

What I have tried:

I have done preliminary research on building an OLEDB driver but it is still early days. I want to make sure there isn't a show-stopping reason why I shouldn't bother trying.
Posted
Updated 30-May-21 23:36pm

1 solution

Your starting point should be OLE DB Providers Overview from Microsoft.

But I think that your efforts to "ride a dead horse" arent the best investment of time and money. Consider changing the data connection of VFP to the database. My best guess is some layer like some SQL or networking code like csv.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900