Click here to Skip to main content
15,919,132 members
Home / Discussions / COM
   

COM

 
AnswerRe: How do you implement an Event Sink without a Type Library? Pin
Stephen Hewitt21-Nov-06 11:50
Stephen Hewitt21-Nov-06 11:50 
GeneralRe: How do you implement an Event Sink without a Type Library? Pin
Bathory's Curse21-Nov-06 13:44
Bathory's Curse21-Nov-06 13:44 
GeneralRe: How do you implement an Event Sink without a Type Library? Pin
Stephen Hewitt21-Nov-06 14:38
Stephen Hewitt21-Nov-06 14:38 
GeneralRe: How do you implement an Event Sink without a Type Library? Pin
Bathory's Curse22-Nov-06 10:05
Bathory's Curse22-Nov-06 10:05 
Questionhow to know the name of dll? Pin
kalaveer21-Nov-06 1:05
kalaveer21-Nov-06 1:05 
QuestionCom exe and dll Pin
ashokvishnu20-Nov-06 16:42
ashokvishnu20-Nov-06 16:42 
AnswerRe: Com exe and dll Pin
Roger Stoltz20-Nov-06 21:43
Roger Stoltz20-Nov-06 21:43 
QuestionPorting D/COM OLE Server from W2K to WXP : Issues Pin
sebastien_pelle20-Nov-06 5:29
sebastien_pelle20-Nov-06 5:29 
Hi !! Smile | :)

I have to port an OLE Server from W2K to WXP. I didn't create the code (that was russian guys infact).

At the moment, We will consider, there is only One Server and One Client (an OCX). Both are in VC++ 6.

The first approach was to simply install the package (which was working under w2K) on the WXP computer.

Then, we saw that when the OCX connects to the Server, both the server and the OCX crashes.

The second approach, was to compile them under WXP, and then launch it. no changes, the server and the OCX crashes.

Third thing i did, I launched the Server and the Client step by step and saw where exactly it crashes. The server crashes on a DispatchMessage instruction in the _tWinMain function. But what makes the server to crash is a AfxConnectionAdvice instruction. I got no explanation. My understanding of technical aspects of COM is quite limitated. I Just started to retrieve some tuorials, aso...

I looked further to see what could make that to crash, and didn't foud a lot of informations a bout a similar problem.

I finally stepped over the AfxConnectionAdvice and the server didn't crash. but the OCX still had problems elsewhere. the list is quite long. Wink | ;-)

My questions are :
- what could make this happened ?
- What could be the good method to solve this issues ?
- What are the points to check ?

Thanks very much for your answers Wink | ;-)

Sebastien

QuestionConvert pdf to tiff Pin
Dudi Avramov20-Nov-06 3:57
Dudi Avramov20-Nov-06 3:57 
QuestionNewWIndow2 Event Sink problem Pin
yokos117-Nov-06 12:26
yokos117-Nov-06 12:26 
GeneralRe: NewWIndow2 Event Sink problem Pin
prasad_som19-Nov-06 18:31
prasad_som19-Nov-06 18:31 
Questionmemory issues Releasing Interface in VB 6 Pin
el_scrub16-Nov-06 22:34
el_scrub16-Nov-06 22:34 
AnswerRe: memory issues Releasing Interface in VB 6 Pin
prasad_som16-Nov-06 23:19
prasad_som16-Nov-06 23:19 
GeneralRe: memory issues Releasing Interface in VB 6 Pin
el_scrub16-Nov-06 23:38
el_scrub16-Nov-06 23:38 
GeneralRe: memory issues Releasing Interface in VB 6 Pin
prasad_som17-Nov-06 1:08
prasad_som17-Nov-06 1:08 
QuestionKilling Process Using WMI Pin
abhiramsss16-Nov-06 6:20
abhiramsss16-Nov-06 6:20 
QuestionA quesion about IE7 Pin
Armor Wei14-Nov-06 19:17
Armor Wei14-Nov-06 19:17 
AnswerRe: A quesion about IE7 Pin
Stephen Hewitt14-Nov-06 20:07
Stephen Hewitt14-Nov-06 20:07 
GeneralRe: A quesion about IE7 Pin
Armor Wei14-Nov-06 20:24
Armor Wei14-Nov-06 20:24 
Questionregarding connection points Pin
srinivas nch13-Nov-06 19:36
srinivas nch13-Nov-06 19:36 
QuestionOLE Afx Control erros Pin
earlgraham13-Nov-06 7:47
earlgraham13-Nov-06 7:47 
QuestionDataGrid in MFC? Pin
Franken13-Nov-06 1:23
Franken13-Nov-06 1:23 
Questionquestion about activex compability Pin
ingsgr01@gmail.com13-Nov-06 0:47
ingsgr01@gmail.com13-Nov-06 0:47 
QuestionHow can I let DCOM server be visited through internet? Pin
johnsonwen11-Nov-06 22:13
johnsonwen11-Nov-06 22:13 
QuestionBSTR thru COM does not seem to be passed..... Pin
morenz10-Nov-06 9:17
morenz10-Nov-06 9:17 

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.