I have some existing C++ code that is an ODBC driver to a custom flat file database system. The problem is I'm not proficient at C++ and need to somehow convert it to C# or VB.NET.
I don't think it is possible to have a pure .NET ODBC driver (I could be wrong - Please let me know your opinion). Another option would be to have a C++ to .NET bridge so I can do the bulk of the programming in .NET and just use C++ as a conduit for the driver (Is this possible?).
This is what I'm looking to accomplish. Please see the attached C++ source code for the existing driver. I need someone who can write the interfaces for all of the ODBC calls? in C++ to call a .NET assembly to perform the specific ODBC tasks (I will be writing the .NET assembly). I need the programmer to tell me what functions need to be implemented in the .NET assembly? (Name of function, input parameters, output parameters). I want the C++ code to be as minimal as possible (looking for this code to just be a passthrough to the .NET assembly).
The original application was written using Microsoft Visual Studio 6 C++ compiler and the Microsoft ODBC SDK. It is the ODBC driver to the proprietary flat file database system.
The included source code is an ODBC Driver. The problem is the only way to use the Microsoft ODBC SDK is using C++ or C. The current source code implements some of the ODBC SDK but it needs to be extended to add functionallity. So my idea is to use the ODBC SDK as a shell to call a .NET component that will implement all of the ODBC SDK calls.
Example: The ODBC Driver manager will call the C++ DLL that you would write (When a connection needs to be made to the datasource, a Query needs to be executed, etc.), which in turn will make a call to the .NET component. The component will then process the request and return the requested information back to the C++ DLL. The C++ DLL would then return the data back to the ODBC Driver manager.
If you have any questions please let me know.