I have a VFP 7 dll I have been using in a C# app and it has worked fine. I just got a new computer which is Win7 64 bit and now when the C# program calls the DLL it immediately crashes.
I compile the C# program in x86 mode which allows VFPOLEDB to work and I can compile the DLL in VFP by running VFP as administrator. The intellisense works in C# showing the methods of the VFP DLL.
This is the not too helpful error message I get:
{"The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"}
Any ideas on what I can do to get the DLL to work?
Thanks.
I compile the C# program in x86 mode which allows VFPOLEDB to work and I can compile the DLL in VFP by running VFP as administrator. The intellisense works in C# showing the methods of the VFP DLL.
This is the not too helpful error message I get:
{"The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"}
Any ideas on what I can do to get the DLL to work?
Thanks.