I don't believe there's a solution to my problem, but I thought I'd ask just in case I missed or misunderstood some aspect of it:
- I have a C# program that creates and writes to an Access Database. More specifically, a C# library that will be part of a suite of applications.
- This library cannot be targeted at 32 or 64 bit specifically because that would mean all the programs in the suite would have to be targeted specifically (can't load the dll into a 64 bit operating space if it's built for 32 bit, or vice versa. I think?).
- I believe the "2010 Office System Driver Connectivity Components" allow me to connect and write to an Access database (.mdb) from a 64 bit environment. However, one of the other requirements would be to not have an outside dependency on various Microsoft Access redistributable versions (we had issues with an Access application in the past).
Therefore, what I'm really looking for is some OS-independent (and 32/64bit independent) way to create and write to an Access database from C#. Does such a thing exist, or are my options pretty much as outlined above?
One thought was that we could pull out the dlls we depend on from the connectivity components, but I'm fairly certain those are targeted to either a 32bit or 64bit environment, so it would fail when we tried to run on the non-target platform. Or would they run like a C# program targeted to "Any" and just adjust depending on the environment?