include file for a COM client (consumer)
-
Hello everyone, When writing an ATL COM server, MIDL compiler will automatically generated file _i.c and _i.h from IDL definition. My question is whether my below usage for the two files are correct when writing a COM client (consumer)? 1. I put _i.h file into the "Header files" of the client project, and using it to make the build for client project; 2. I put the _i.c into the "Source files" of the client project, and using it to make the build for client project. thanks in advance, George
-
Hello everyone, When writing an ATL COM server, MIDL compiler will automatically generated file _i.c and _i.h from IDL definition. My question is whether my below usage for the two files are correct when writing a COM client (consumer)? 1. I put _i.h file into the "Header files" of the client project, and using it to make the build for client project; 2. I put the _i.c into the "Source files" of the client project, and using it to make the build for client project. thanks in advance, George