Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMultiple DataType in List? Pin
bitpusher7-Dec-04 11:19
bitpusher7-Dec-04 11:19 
Generalconverting MFC App to dll Pin
vinayakdl7-Dec-04 10:47
vinayakdl7-Dec-04 10:47 
Generalmonitoring window usage Pin
BlackDice7-Dec-04 10:21
BlackDice7-Dec-04 10:21 
GeneralRe: monitoring window usage Pin
David Crow8-Dec-04 3:09
David Crow8-Dec-04 3:09 
GeneralRe: monitoring window usage Pin
BlackDice10-Dec-04 4:09
BlackDice10-Dec-04 4:09 
QuestionHow/Where to Change MFC Default Menu? Pin
bitpusher7-Dec-04 8:35
bitpusher7-Dec-04 8:35 
AnswerRe: How/Where to Change MFC Default Menu? Pin
Neville Franks7-Dec-04 9:11
Neville Franks7-Dec-04 9:11 
GeneralUsing VisStudio 2003 to make a COM in C++ Pin
caronwill7-Dec-04 7:01
caronwill7-Dec-04 7:01 
Hope this an appropriate forum for this.

I'm a longtime user of C++ MFC (4.2 in VS 6.0) but new to COM (and VS2003). I'm trying to write a control using COM, so I started with the VS2003 supplied step-by-step tutorial 'dispsink'.

Using the supplied files, I was able to create and build both the client and the server. The build process (apparently) registered the control according to the log window, and I could find the entries with regedit.

However, using VS menu Tools, Active X Container, then selecting Edit:Insert New Control the name of the control does not show in the list.

I tried re-registering using File, Register... and I can see the control in that list (DispClient.DispCtl.1). But I can't get it into the Insert Control list, or into the container tool. Why can't I see it in the Insert New Control list? It seems that unless I can, it won't go into the container and I can't work with it. I'm sure I'm missing something simple - what is it?

BTW, when I tried building the tutorial by hand, step-by-step, the compiler built the client OK, but when building the server it crashed with 'serious internal error' , 'Tell Microsoft about this..." dialogs, and non-helpful diagnostics about possible wrong options ... any comments on this? (I checked my code thoroughly, but you never know for sure...)

OS is XP Pro SP2.

Any reading suggestions for getting up to speed on this topic also welcome.

Confused | :confused:

caronwill
GeneralNeed AfxFindResourceHandle method on Win32 API Pin
Eugene Pustovoyt7-Dec-04 6:55
Eugene Pustovoyt7-Dec-04 6:55 
GeneralRe: Need AfxFindResourceHandle method on Win32 API Pin
David Crow7-Dec-04 7:36
David Crow7-Dec-04 7:36 
GeneralRe: Need AfxFindResourceHandle method on Win32 API Pin
Eugene Pustovoyt7-Dec-04 8:06
Eugene Pustovoyt7-Dec-04 8:06 
GeneralRe: Need AfxFindResourceHandle method on Win32 API Pin
David Crow7-Dec-04 8:14
David Crow7-Dec-04 8:14 
GeneralRe: Need AfxFindResourceHandle method on Win32 API Pin
Neville Franks7-Dec-04 8:56
Neville Franks7-Dec-04 8:56 
GeneralGroup box repaint problem in MDI Child Window Pin
FreeSync7-Dec-04 6:52
sussFreeSync7-Dec-04 6:52 
GeneralRe: Group box repaint problem in MDI Child Window Pin
David Crow7-Dec-04 7:41
David Crow7-Dec-04 7:41 
GeneralRe: Group box repaint problem in MDI Child Window Pin
FreeSync7-Dec-04 8:26
sussFreeSync7-Dec-04 8:26 
GeneralRe: Group box repaint problem in MDI Child Window Pin
David Crow7-Dec-04 9:21
David Crow7-Dec-04 9:21 
GeneralSolution in my own backyard ... : ) Pin
FreeSync7-Dec-04 10:41
sussFreeSync7-Dec-04 10:41 
GeneralCalling an EXE from a dialog app Pin
ravagga7-Dec-04 5:46
ravagga7-Dec-04 5:46 
GeneralRe: Calling an EXE from a dialog app Pin
BlackDice7-Dec-04 6:25
BlackDice7-Dec-04 6:25 
GeneralRe: Calling an EXE from a dialog app Pin
User 66587-Dec-04 6:43
User 66587-Dec-04 6:43 
GeneralRe: Calling an EXE from a dialog app Pin
David Crow7-Dec-04 7:37
David Crow7-Dec-04 7:37 
GeneralRe: Calling an EXE from a dialog app Pin
toxcct7-Dec-04 21:43
toxcct7-Dec-04 21:43 
GeneralStreams and MFC Pin
sweep1237-Dec-04 5:15
sweep1237-Dec-04 5:15 
GeneralRe: Streams and MFC Pin
Neville Franks7-Dec-04 9:04
Neville Franks7-Dec-04 9:04 

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.