Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan C++ DLL developed with Visual Studio .NET 2003 be used by Delphi, Borland C++ etc Pin
FFKONG2-Dec-05 14:22
FFKONG2-Dec-05 14:22 
AnswerRe: Can C++ DLL developed with Visual Studio .NET 2003 be used by Delphi, Borland C++ etc Pin
Jörgen Sigvardsson2-Dec-05 14:53
Jörgen Sigvardsson2-Dec-05 14:53 
GeneralRe: Can C++ DLL developed with Visual Studio .NET 2003 be used by Delphi, Borland C++ etc Pin
FFKONG2-Dec-05 16:50
FFKONG2-Dec-05 16:50 
GeneralRe: Can C++ DLL developed with Visual Studio .NET 2003 be used by Delphi, Borland C++ etc Pin
Jörgen Sigvardsson2-Dec-05 22:08
Jörgen Sigvardsson2-Dec-05 22:08 
GeneralRe: Can C++ DLL developed with Visual Studio .NET 2003 be used by Delphi, Borland C++ etc Pin
Gary R. Wheeler3-Dec-05 1:47
Gary R. Wheeler3-Dec-05 1:47 
GeneralRe: Can C++ DLL developed with Visual Studio .NET 2003 be used by Delphi, Borland C++ etc Pin
Jörgen Sigvardsson3-Dec-05 9:57
Jörgen Sigvardsson3-Dec-05 9:57 
GeneralRe: Can C++ DLL developed with Visual Studio .NET 2003 be used by Delphi, Borland C++ etc Pin
FFKONG3-Dec-05 13:39
FFKONG3-Dec-05 13:39 
GeneralRe: Can C++ DLL developed with Visual Studio .NET 2003 be used by Delphi, Borland C++ etc Pin
Jörgen Sigvardsson3-Dec-05 14:34
Jörgen Sigvardsson3-Dec-05 14:34 
I must admit that I have not used Delphi myself, but I do know that it supports ActiveX controls. In order to do that, there must be support for COM1. Borland C++ does have support for COM, that I know for sure.

COM is essentially a set of specifications. COM is built upon the notion that all components are communicated with through an interface. How the interface is represented in memory, is dictated by COM. Hence you will not need to provide different interfaces or implementations for each client language (Delphi, Borland C++, .NET-languages, etc). Write once in Visual C++ (or even Borland C++, VB6, .NET-languages, you name it), and use it in all COM capable client languages. Despite what Microsoft says, there were solutions for cross language development prior to .NET. Wink | ;)

I should warn you though that COM has a rather steep learning curve. But in all honesty, books like Essential COM[^], and ATL Internals[^] makes that learning curve much flatter. ATL by the way, is a C++ class library, which takes care of much of the "boiler plate coding" needed for COM. It allows you to use wizards, as well as hand wire COM stuff quite easily. Should you chose the COM route, please use ATL. It'll spare your fingers from all that typing. Smile | :)

1 Well, to be honest, there doesn't have to be support for COM. It could be that all COM/ActiveX details are embedded into the language itself, shielding the programmer from COM. I doubt that though, because that would be utterly stupid, should the COM and ActiveX specifications change.

--
Pictures[^] from my Japan trip.
GeneralRe: Can C++ DLL developed with Visual Studio .NET 2003 be used by Delphi, Borland C++ etc Pin
Gary R. Wheeler4-Dec-05 1:56
Gary R. Wheeler4-Dec-05 1:56 
QuestionSerial Port communication Pin
picazo2-Dec-05 12:58
picazo2-Dec-05 12:58 
AnswerRe: Serial Port communication Pin
Branislav2-Dec-05 23:14
Branislav2-Dec-05 23:14 
GeneralRe: Serial Port communication Pin
picazo3-Dec-05 13:20
picazo3-Dec-05 13:20 
GeneralRe: Serial Port communication Pin
Branislav4-Dec-05 20:37
Branislav4-Dec-05 20:37 
QuestionDialogs and dlls, normal or annoying? (MFC) Pin
T1TAN2-Dec-05 12:58
T1TAN2-Dec-05 12:58 
AnswerRe: Dialogs and dlls, normal or annoying? (MFC) Pin
Roger Allen2-Dec-05 13:27
Roger Allen2-Dec-05 13:27 
GeneralRe: Dialogs and dlls, normal or annoying? (MFC) Pin
T1TAN2-Dec-05 14:01
T1TAN2-Dec-05 14:01 
Questionerror C3861: 'GetEditCtrl': identifier not found Pin
myst4ever2-Dec-05 12:19
myst4ever2-Dec-05 12:19 
AnswerRe: error C3861: 'GetEditCtrl': identifier not found Pin
Gary R. Wheeler3-Dec-05 2:12
Gary R. Wheeler3-Dec-05 2:12 
Questionicons in win32 Pin
pplshero542-Dec-05 9:36
pplshero542-Dec-05 9:36 
AnswerRe: icons in win32 Pin
Gary R. Wheeler3-Dec-05 2:15
Gary R. Wheeler3-Dec-05 2:15 
QuestionCSliderCtrl ? Pin
Jader892-Dec-05 8:51
Jader892-Dec-05 8:51 
GeneralRe: CSliderCtrl ? Pin
Jader892-Dec-05 8:53
Jader892-Dec-05 8:53 
AnswerRe: CSliderCtrl ? Pin
David Crow2-Dec-05 9:16
David Crow2-Dec-05 9:16 
GeneralRe: CSliderCtrl ? Pin
Jader892-Dec-05 9:29
Jader892-Dec-05 9:29 
GeneralRe: CSliderCtrl ? Pin
David Crow2-Dec-05 9:49
David Crow2-Dec-05 9:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.