Hi,
I have a I/O driver that needs COM automation, I created an ATL wrapper around the original C code.
The linker has problems:
"ATL requires C++ compilation (use a .cpp suffix)"
This seams trivial but if I compile with CPP all the ENUMs and other basic types as unions might not work because of the strong type enforcement.
Any advise?
The question is how to Compile an ATL project that has C code.
I have a I/O driver that needs COM automation, I created an ATL wrapper around the original C code.
The linker has problems:
"ATL requires C++ compilation (use a .cpp suffix)"
This seams trivial but if I compile with CPP all the ENUMs and other basic types as unions might not work because of the strong type enforcement.
Any advise?
The question is how to Compile an ATL project that has C code.