Click here to Skip to main content
15,914,014 members
Home / Discussions / COM
   

COM

 
GeneralRe: C# and COM - exporting enum-s Pin
Vitaly Tomilov4-Jan-07 3:11
Vitaly Tomilov4-Jan-07 3:11 
GeneralRe: C# and COM - exporting enum-s Pin
Pete O'Hanlon5-Jan-07 3:30
mvePete O'Hanlon5-Jan-07 3:30 
Questionattaching com component to window (CWnd) Pin
praveen kumar agarwal3-Jan-07 20:38
praveen kumar agarwal3-Jan-07 20:38 
AnswerRe: attaching com component to window (CWnd) Pin
Aamir Butt3-Jan-07 20:45
Aamir Butt3-Jan-07 20:45 
Questionsend data with com port Pin
omidcomputer2-Jan-07 20:40
omidcomputer2-Jan-07 20:40 
AnswerRe: send data with com port Pin
CPallini2-Jan-07 21:12
mveCPallini2-Jan-07 21:12 
GeneralRe: send data with com port Pin
omidcomputer9-Jan-07 19:17
omidcomputer9-Jan-07 19:17 
GeneralRe: send data with com port Pin
CPallini9-Jan-07 20:42
mveCPallini9-Jan-07 20:42 
It depends on the language (and libraries) you intend to use.
I wrote:
(1) VB6 applications using MsComm control.
(2) C++ ones using the Win32 API (CreateFile(), ReadFile(), WriteFile().

the (1) are fairly simpler, 'cause the (2) are much more low level (and usually you've to deal with threads.

Of course you can also use MsComm control in C++ applications (for instance using MFC). Though I've never done it.

AFAIK the .NET framework provides (so Visual Basic.NET, C#, ...) a SerialPort component that can make communication stuff as easy as MsComm do for VB6 (I never made an attempt). There is also a Microsoft example [^].

hope that helps.
Smile | :)


If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

QuestionMy DLL is a normal API without any COM interface Pin
stellvia2-Jan-07 19:49
stellvia2-Jan-07 19:49 
AnswerRe: My DLL is a normal API without any COM interface Pin
CPallini2-Jan-07 21:14
mveCPallini2-Jan-07 21:14 
AnswerRe: My DLL is a normal API without any COM interface Pin
User 2155974-Jan-07 0:02
User 2155974-Jan-07 0:02 
QuestionSetting the position of a toolbar in IE Pin
georgekjolly29-Dec-06 23:45
georgekjolly29-Dec-06 23:45 
QuestionAlternate control for DSO Framer in .net Pin
indian14329-Dec-06 19:19
indian14329-Dec-06 19:19 
QuestionHow to make a toolbar for mozilla Pin
georgekjolly28-Dec-06 22:26
georgekjolly28-Dec-06 22:26 
AnswerRe: How to make a toolbar for mozilla Pin
User 21559728-Dec-06 23:17
User 21559728-Dec-06 23:17 
GeneralRe: How to make a toolbar for mozilla Pin
georgekjolly28-Dec-06 23:43
georgekjolly28-Dec-06 23:43 
GeneralRe: How to make a toolbar for mozilla [modified] Pin
User 21559730-Dec-06 8:09
User 21559730-Dec-06 8:09 
QuestionCan i import the MODI.dll into visual c++ 2005? Pin
$uresh $hanmugam28-Dec-06 1:52
$uresh $hanmugam28-Dec-06 1:52 
QuestionCOM exe registration ? Pin
Sakthiu27-Dec-06 23:35
Sakthiu27-Dec-06 23:35 
AnswerRe: COM exe registration ? Pin
User 21559728-Dec-06 3:29
User 21559728-Dec-06 3:29 
QuestionHow can i call COM DLL in vc++ 2005? Pin
$uresh $hanmugam27-Dec-06 22:51
$uresh $hanmugam27-Dec-06 22:51 
AnswerRe: How can i call COM DLL in vc++ 2005? Pin
Sakthiu27-Dec-06 23:40
Sakthiu27-Dec-06 23:40 
GeneralRe: How can i call COM DLL in vc++ 2005? Pin
$uresh $hanmugam28-Dec-06 1:40
$uresh $hanmugam28-Dec-06 1:40 
AnswerRe: How can i call COM DLL in vc++ 2005? Pin
prasad_som28-Dec-06 1:54
prasad_som28-Dec-06 1:54 
GeneralRe: How can i call COM DLL in vc++ 2005? Pin
$uresh $hanmugam28-Dec-06 23:44
$uresh $hanmugam28-Dec-06 23:44 

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.