Click here to Skip to main content
15,916,379 members
Home / Discussions / COM
   

COM

 
GeneralRe: Arrays of IUnknown.. Pin
first_sandy25-Jul-03 3:40
first_sandy25-Jul-03 3:40 
GeneralRe: Arrays of IUnknown.. Pin
ICBM25-Jul-03 13:44
ICBM25-Jul-03 13:44 
QuestionHow to prevent binding a Type library to a ATL Attributed DLL ? Pin
talhalfon21-Jul-03 22:39
talhalfon21-Jul-03 22:39 
GeneralIE plugin Pin
nettrinity20-Jul-03 17:04
nettrinity20-Jul-03 17:04 
GeneralRe: IE plugin Pin
ashxly21-Jul-03 18:41
ashxly21-Jul-03 18:41 
GeneralRe: IE plugin Pin
nettrinity21-Jul-03 21:35
nettrinity21-Jul-03 21:35 
GeneralRe: IE plugin Pin
ashxly21-Jul-03 18:41
ashxly21-Jul-03 18:41 
GeneralOCX issue Pin
carb18-Jul-03 9:58
carb18-Jul-03 9:58 
Hello:

My first post so apologies if I've put this in the wrong place or broken some (n)etiquette.

I'm using a grid control .ocx file from inside an MFC app; all C++, built under VC++ 6.0. It has worked fine since
1999 but now is starting to cause problems on Win2000 machines (shows up in all service packs). The identical code works fine under Win98, so I'm guessing it's an upgrade issue.

All the dialogs I try to launch via the ocx fail with the following error message in Visual C++ 6.0 (cut and pasted from the Debug window):

CoCreateInstance of OLE control {A8C3B720-0B5A-101B-B22E-00AA0037B2FC}
failed.
>>> Result code: 0x80040154
>>> Is the control is properly registered?
Warning: CreateDlgControls failed during dialog init.

The control is registered properly via regsvr32 before running the app.

The above error message appears on the call to:

hWnd = ::CreateDialogIndirect(hInst, lpDialogTemplate,
pParentWnd->GetSafeHwnd(), AfxDlgProc);

in CWnd::CreateDlgIndirect(), called from CDialog::DoModal() in the usual way.

The behavior seen in release versions is that no dialog appears in response to user action (menu choice, etc).

I know next to nothing about COM/ActiveX/OLE objects, so if there's either a quick fix, or an explanation why this would happen (so I can stop the wild goose chase), I'd appreciate it.

The original supplier of this commercial ocx can't supply an update.

I hope this is enough info; it's all I can share.

Thanks,
-Chuck.
C J Charbonneau
Ottawa, Canada
GeneralGetting an Explorer history item URL Pin
yarp18-Jul-03 0:06
yarp18-Jul-03 0:06 
GeneralCOM Support in new Windows OS Pin
Paul Roullier17-Jul-03 2:58
Paul Roullier17-Jul-03 2:58 
GeneralRe: COM Support in new Windows OS Pin
Michael P Butler22-Jul-03 4:38
Michael P Butler22-Jul-03 4:38 
GeneralDisplay name of components Pin
first_sandy16-Jul-03 21:14
first_sandy16-Jul-03 21:14 
GeneralRe: Display name of components Pin
Vi216-Jul-03 21:23
Vi216-Jul-03 21:23 
GeneralRe: Display name of components Pin
first_sandy16-Jul-03 22:27
first_sandy16-Jul-03 22:27 
GeneralRe: Display name of components Pin
Vi216-Jul-03 22:52
Vi216-Jul-03 22:52 
GeneralRe: Display name of components Pin
first_sandy16-Jul-03 23:00
first_sandy16-Jul-03 23:00 
GeneralRe: Display name of components Pin
Vi217-Jul-03 18:03
Vi217-Jul-03 18:03 
GeneralRe: Display name of components Pin
Mil1017-Jul-03 18:47
Mil1017-Jul-03 18:47 
GeneralIMAPI Sample Code Pin
Martin Hinchy16-Jul-03 15:49
Martin Hinchy16-Jul-03 15:49 
GeneralLose focus by using CoCreateInstance Pin
16-Jul-03 15:14
suss16-Jul-03 15:14 
GeneralAccessing Outlook Express Pin
Brigg Thorp16-Jul-03 9:57
Brigg Thorp16-Jul-03 9:57 
GeneralRe: Accessing Outlook Express Pin
Amit Dey18-Jul-03 9:34
Amit Dey18-Jul-03 9:34 
GeneralRe: Accessing Outlook Express Pin
Brigg Thorp25-Jul-03 9:45
Brigg Thorp25-Jul-03 9:45 
GeneralName of Component Servers Pin
first_sandy16-Jul-03 3:15
first_sandy16-Jul-03 3:15 
QuestionCOM handle leaks? Pin
Wayne Hutchinson15-Jul-03 7:53
Wayne Hutchinson15-Jul-03 7:53 

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.