Hi All,
I need your help...
I have a large application written in C (compiled using VS 6), which needs to access functions within a library written in C#. Having done some research and it appears that calling C# from C is possible, if the C# is assembled with the "Register for COM interop" setting.
I have installed Visual Studio 2005, and compiled a sample C# program, however, my C program needs a header file, with the function prototypes etc.
I understand that you use the MIDL compiler to create the required header files, however, this in turn requires a IDL file, which is not being created.
I am taking the correct approach?
What steps do I need to take to generate the header files needed by my C program?
Thanks In Advance
Richard
I need your help...
I have a large application written in C (compiled using VS 6), which needs to access functions within a library written in C#. Having done some research and it appears that calling C# from C is possible, if the C# is assembled with the "Register for COM interop" setting.
I have installed Visual Studio 2005, and compiled a sample C# program, however, my C program needs a header file, with the function prototypes etc.
I understand that you use the MIDL compiler to create the required header files, however, this in turn requires a IDL file, which is not being created.
I am taking the correct approach?
What steps do I need to take to generate the header files needed by my C program?
Thanks In Advance
Richard
Comment