glassonion
Programmer
Hi all,
I'm writing an ATL COM wrapper object for a 3rd party library. The library is implemented in a suite of "C" dll's. I can successfully call the dll functions from a MFC project or a WIN32 console project but when I try and call them from within my ATL COM object I get error codes returned from the dll.
Any ideas?
Is it anything to do with the calling convention used/marshalling in COM objects to non-COM functions?
Any help would be greatly appreciated.
Mark
I'm writing an ATL COM wrapper object for a 3rd party library. The library is implemented in a suite of "C" dll's. I can successfully call the dll functions from a MFC project or a WIN32 console project but when I try and call them from within my ATL COM object I get error codes returned from the dll.
Any ideas?
Is it anything to do with the calling convention used/marshalling in COM objects to non-COM functions?
Any help would be greatly appreciated.
Mark