473,395 Members | 1,418 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

c++ builder 6

Syd
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?
Nov 17 '05 #1
3 1428
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.
"Syd" <Sy*@discussions.microsoft.com> wrote in message
news:56**********************************@microsof t.com...
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?

Nov 17 '05 #2
Sorry - ignroe my last answer. I thought the user wanted to import a C++ DLL to C#, in fact he wants
to do the opposite.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Empower ASP.NET with IntraWeb
http://www.atozed.com/IntraWeb/
Nov 17 '05 #3
"Thomas" <no****@nospam.nospam> wrote in
news:OF**************@tk2msftngp13.phx.gbl:
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/
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Anand K Rayudu | last post by:
Hi All, I am new to python & want to build some GUI dialogs. Can some one please suggest some document reference. I am hoping that standard python install will have some GUI development...
0
by: Justin Hanson | last post by:
Red Earth Technologies announces the release of version 1.5 of Superior SQL Builder, its SQL tool that allows users to build complete SQL scripts without typing any code. Superior SQL Builder...
0
by: Xproblem | last post by:
FTP Client Engine for C/C++ 2.4 Screenshot - Soft.comFTP Client Engine for C/C++ 2.4. ... System Requirements: Windows C/C++ compiler - Microsoft operating system: Windows 95, Windows 98, Windows...
2
by: Mike Turco | last post by:
I like using the expression builder for a lot of different things but it isn't always available when I want to use it, for example in the code window, or in all of the control properties. I am...
0
by: FluffyCat | last post by:
Last fall I started a series of design pattern examples using PHP5. I think the last pattern I did was the Singleton in January. Getting back to it here is my first cut at the Builder pattern. ...
2
by: sicapitan | last post by:
FYI, with something like this: hotelement = "hotelement"+hotcount; hotspot = Builder.node('div', { id:'hotspot'+hotcount, className:'hotspot', style:''+divstyle }, ) ]);
7
by: simonZ | last post by:
I have array variable transfer: String transfer which has some data Than I would like to convert this data into string: Which way is more efficient: StringBuilder rezult=new StringBuilder(); ...
8
by: EddieTH | last post by:
Hello everyone, I am new to this forum so I'll give my greetings to everyone! I am using oracle forms builder and reports builder for 1 year now and I have a problem I cannot seem to be able to...
0
by: JosAH | last post by:
Greetings, Introduction Before we start designing and implementing our text builder class(es), I'd like to mention a reply by Prometheuzz: he had a Dutch version of the entire bible ...
2
xarzu
by: xarzu | last post by:
Platform Builder is a tool for building a Windows CE Operating system on your computer and then loading it on a Windows CE device. All this is done through Platform Builder. And I do it all...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.