Wednesday, April 20, 2011

VS2005 Class Library containing c code?

Can a Class Library be built containing c code? If so, how?

From stackoverflow
  • If by that you mean whether it's possible to write object oriented code in C, then yes. The first results from Google when searching for Object Oriented Programming in C:

    Object Oriented Programming in C

    Object-Oriented Programming with ANSI C (PDF)

    ANSI C and object-oriented programming

    I'm sure you can find the rest of the few hundred different papers on the topic.

    A good example is the GLib library.

    : Actually, I have c code with which I would like to a library, preferably a Class Library DLL. But I don't know if this is possible. Alternatively, is there a way to package this code into a library which is accessible from a VS2008 solution?
    Mihai Limbășan : It's still highly unclear what you mean. Even more unclear, if that was possible. Perhaps you could rephrase your question?

0 comments:

Post a Comment