Click here to Skip to main content
15,912,507 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to list the connected USB devices or COM port Pin
BaySeagull3-Dec-05 1:34
BaySeagull3-Dec-05 1:34 
QuestionHow to generate a bmp file Pin
Ming Luo3-Dec-05 0:10
Ming Luo3-Dec-05 0:10 
AnswerRe: How to generate a bmp file Pin
BaySeagull3-Dec-05 1:16
BaySeagull3-Dec-05 1:16 
QuestionSaving a Bitmap from Window Enviornment Pin
Jeeva Mary Varghese2-Dec-05 22:15
Jeeva Mary Varghese2-Dec-05 22:15 
QuestionBN_DOUBLECLICKED Pin
LeeeNN2-Dec-05 20:02
LeeeNN2-Dec-05 20:02 
AnswerRe: BN_DOUBLECLICKED Pin
Branislav2-Dec-05 23:31
Branislav2-Dec-05 23:31 
GeneralRe: BN_DOUBLECLICKED Pin
LeeeNN3-Dec-05 6:34
LeeeNN3-Dec-05 6:34 
GeneralRe: BN_DOUBLECLICKED Pin
Branislav4-Dec-05 20:51
Branislav4-Dec-05 20:51 
AnswerRe: BN_DOUBLECLICKED Pin
Owner drawn4-Dec-05 22:23
Owner drawn4-Dec-05 22:23 
QuestionLNK2001 error Pin
QuickDeveloper2-Dec-05 18:20
QuickDeveloper2-Dec-05 18:20 
Answerwarning LNK4098 Pin
sunit52-Dec-05 18:49
sunit52-Dec-05 18:49 
Questionhow to display a transparent gif picture Pin
blackeye20042-Dec-05 15:57
blackeye20042-Dec-05 15:57 
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 

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.