Hi,

I have these files with C code that I need to use in my development. Since I
am doing most of my work in C#, my idea was to create a class library in
Managed C++ and use it in my C# application. So far so good. I have created
a managed C++ class library project and added all the C files. When I
compile the project, I am getting errors saying that the ".c" files cannot
be compiled as C++. If I change the "/TP" (Compile as C++ code) compilation
option to "/TC" (Compile as C code) I get a similar error for the ".cpp"
files. Is there a way to mix these things together?

TIA,
Eddie


===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to