c++ builder 6

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created a c# dll. And I want to use it in a C++ Builder 6 program. But when
compiling, it gives a linker error: unresolved external........something goes
on.

But when i am writing a test program in C#, the dll works perfectly.

Is there a way that I can run this .dll?
 
When creating a .NET assembly, it can only be used by other .NET
applications. And C++ Builder does not support .NET.
If you want to use it from another platform, like C++ builder, you must add
a COM wrapper around you .NET assembly, so non-.NET applikatiosn can access
the code via COM.
 
Thomas said:
When creating a .NET assembly, it can only be used by other .NET
applications. And C++ Builder does not support .NET.
If you want to use it from another platform, like C++ builder, you
must add a COM wrapper around you .NET assembly, so non-.NET
applikatiosn can access the code via COM.

If its not object orietned, you can also export the functions and use P/Invoke.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Develop ASP.NET applications easier and in less time:
http://www.atozed.com/IntraWeb/
 
Back
Top