Click here to Skip to main content
15,913,361 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: add-in problem... Pin
Mike Melnikov4-Aug-00 4:48
Mike Melnikov4-Aug-00 4:48 
GeneralUpload files to server Pin
tl20-Jun-00 13:02
tl20-Jun-00 13:02 
GeneralVariable arguments Pin
RootAir20-Jun-00 8:39
sussRootAir20-Jun-00 8:39 
GeneralRe: Variable arguments Pin
Uwe Keim20-Jun-00 9:09
sitebuilderUwe Keim20-Jun-00 9:09 
GeneralRe: Variable arguments Pin
RootAir20-Jun-00 10:23
sussRootAir20-Jun-00 10:23 
GeneralRe: Variable arguments Pin
Uwe Keim20-Jun-00 10:34
sitebuilderUwe Keim20-Jun-00 10:34 
GeneralActiveX components in Regular DLLs Pin
Sid Price20-Jun-00 7:13
Sid Price20-Jun-00 7:13 
GeneralRe: ActiveX components in Regular DLLs Pin
Blake Miller20-Jun-00 12:41
Blake Miller20-Jun-00 12:41 
I am thinking that maybe the OLE or COM Initialization has not occurred.

Isn't there usually a call like AfxOleInit() at the beginning of a MFC program? But maybe you are not getting that in your DLL.

Seems to me that you might need to call CoInitialize()
because the hosting program might not necessarily have done that, and your DLL is always running in some thread of that parent process, which means it does not necessarily have an initialization of OLE or COM going for it be default.


GeneralRe: ActiveX components in Regular DLLs Pin
Sid Price20-Jun-00 15:23
Sid Price20-Jun-00 15:23 
GeneralCListCtrl Pin
solex20-Jun-00 6:01
solex20-Jun-00 6:01 
GeneralRe: CListCtrl Pin
Paolo Messina20-Jun-00 7:04
professionalPaolo Messina20-Jun-00 7:04 
GeneralRe: CListCtrl Pin
Mike Dunn20-Jun-00 7:25
Mike Dunn20-Jun-00 7:25 
GeneralRe: CListCtrl Pin
solex20-Jun-00 21:41
solex20-Jun-00 21:41 
GeneralSetting a paper size Pin
Member 355920-Jun-00 5:41
Member 355920-Jun-00 5:41 
GeneralProblems with Get- /Set Capture & Message handling Pin
Karl Klose20-Jun-00 0:12
sussKarl Klose20-Jun-00 0:12 
GeneralRe: Problems with Get- /Set Capture & Message handling Pin
Yimin Guo20-Jun-00 22:04
sussYimin Guo20-Jun-00 22:04 
GeneralThe cursor keys changed + how to change get a edit control to use a return like a tab Pin
Member 135619-Jun-00 23:29
Member 135619-Jun-00 23:29 
GeneralDLL Hell Pin
Mike Puddephat19-Jun-00 23:08
Mike Puddephat19-Jun-00 23:08 
GeneralRe: DLL Hell Pin
Mike Dunn20-Jun-00 7:22
Mike Dunn20-Jun-00 7:22 
GeneralRe: DLL Hell Pin
Mike Puddephat20-Jun-00 23:21
Mike Puddephat20-Jun-00 23:21 
GeneralRe: DLL Hell Pin
Mike Dunn20-Jun-00 23:41
Mike Dunn20-Jun-00 23:41 
GeneralRe: DLL Hell Pin
Mike Puddephat21-Jun-00 2:11
Mike Puddephat21-Jun-00 2:11 
GeneralWindows Leeks Pin
FuMo19-Jun-00 10:25
FuMo19-Jun-00 10:25 
GeneralRe: Windows Leeks Pin
Timo19-Jun-00 20:23
Timo19-Jun-00 20:23 
QuestionCan I make a Menu Item invisible? Pin
Uwe Keim19-Jun-00 6:33
sitebuilderUwe Keim19-Jun-00 6:33 

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.