Unmanaged Functions call .net function RRS feed

  • Question




    I'd like to write a function in .NET (prefer C#).

    The interface is like   bool func(int &a, char* b);


    hope I can make it as dll and static lib, which can be used my VC++ 6.0.


    How to do it? Is there any sameple?

    Can /clr  in C++ help?


    Thanks very much!



    Wednesday, December 12, 2007 7:04 PM