Click here to Skip to main content
15,891,880 members
Home / Discussions / COM
   

COM

 
GeneralRe: The interface contract Pin
In-At23-Oct-01 20:35
In-At23-Oct-01 20:35 
GeneralRe: The interface contract Pin
Andrew McGrath23-Oct-01 21:09
Andrew McGrath23-Oct-01 21:09 
GeneralRe: The interface contract Pin
In-At23-Oct-01 23:59
In-At23-Oct-01 23:59 
Questionhow to pass USER_LOGON variable to ActiveX developed in VC++? Pin
Bartek27-Sep-01 0:26
Bartek27-Sep-01 0:26 
QuestionThe initial size in the resurce editor? Pin
George26-Sep-01 21:19
George26-Sep-01 21:19 
Questionhow to transfer Interface Pointer? Pin
maya26-Sep-01 16:05
maya26-Sep-01 16:05 
GeneralNewbie, please help Pin
Rob Brown26-Sep-01 9:25
Rob Brown26-Sep-01 9:25 
GeneralRe: Newbie, please help Pin
Daniel Turini29-Sep-01 3:30
Daniel Turini29-Sep-01 3:30 
I'm a VB programmer who is trying to convert an old C console application to a C++ ATL COM DLL for use with a VB GUI.
Good luck, you'll need

I've done async multithreaded programming in VB, and believe me: it's ugly, and for seasoned C++ COM programmers. MS says: "VB clients are monothreaded."

Well, you'll face 2 main problems, and I would start learning this topics to acomplish this:

- Building a message loop.
- Synchronizing Win32 objects: Events
- marshalling interface pointers between threads

If you fail to use them, your code will hang, or your code will cause a GPF.

Tip: You'll need another thread that creates the object and stay forever in a message pump.


Furor fit laesa saepius patientia
GeneralExport function Pin
Jose Fco Bonnin26-Sep-01 4:47
Jose Fco Bonnin26-Sep-01 4:47 
GeneralRe: Export function Pin
Not Active26-Sep-01 5:22
mentorNot Active26-Sep-01 5:22 
GeneralDCOM access denied Pin
Ali Issa25-Sep-01 1:16
Ali Issa25-Sep-01 1:16 
GeneralRe: DCOM access denied Pin
maya26-Sep-01 15:56
maya26-Sep-01 15:56 
GeneralRe: DCOM access denied Pin
Shadi Al-Kahwaji2-Oct-01 22:23
Shadi Al-Kahwaji2-Oct-01 22:23 
GeneralRe: DCOM access denied Pin
Shadi Al-Kahwaji8-Oct-01 0:33
Shadi Al-Kahwaji8-Oct-01 0:33 
Generalcomparioson of VB COM and ATL COM Pin
Ganesh Ramaswamy24-Sep-01 6:39
Ganesh Ramaswamy24-Sep-01 6:39 
GeneralRe: comparioson of VB COM and ATL COM Pin
Daniel Turini24-Sep-01 6:43
Daniel Turini24-Sep-01 6:43 
GeneralRe: comparioson of VB COM and ATL COM Pin
Amit Dey25-Sep-01 18:21
Amit Dey25-Sep-01 18:21 
GeneralRe: comparioson of VB COM and ATL COM Pin
David Salter27-Sep-01 11:11
David Salter27-Sep-01 11:11 
GeneralUnable to synchronize the data from SQL Server CE Pin
24-Sep-01 0:07
suss24-Sep-01 0:07 
Generalretrun BSTR Pin
Eran22-Sep-01 3:25
Eran22-Sep-01 3:25 
GeneralRe: retrun BSTR Pin
Aaron Schaefer24-Sep-01 5:49
Aaron Schaefer24-Sep-01 5:49 
GeneralRe: retrun BSTR Pin
Michael Dunn24-Sep-01 14:55
sitebuilderMichael Dunn24-Sep-01 14:55 
GeneralCOMAddin for Word2000 and Excel2000 Pin
Sree Ram21-Sep-01 8:55
Sree Ram21-Sep-01 8:55 
GeneralMFC CFtpFileFind CFtpConnection and timeout Pin
Amit Dey21-Sep-01 6:07
Amit Dey21-Sep-01 6:07 
GeneralRe: MFC CFtpFileFind CFtpConnection and timeout Pin
Carlos Antollini21-Sep-01 6:44
Carlos Antollini21-Sep-01 6: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.