Click here to Skip to main content
15,910,787 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHardware I/O address Pin
AZhao4-Mar-03 12:42
AZhao4-Mar-03 12:42 
GeneralChanging the MFC logo Pin
orcblood4-Mar-03 12:42
orcblood4-Mar-03 12:42 
GeneralRe: Changing the MFC logo Pin
Dave Bryant4-Mar-03 12:53
Dave Bryant4-Mar-03 12:53 
GeneralRe: Changing the MFC logo Pin
Chintan5-Mar-03 5:10
Chintan5-Mar-03 5:10 
GeneralCombo ListBox alignment Pin
Bartosz Bien4-Mar-03 11:53
Bartosz Bien4-Mar-03 11:53 
GeneralRe: Combo ListBox alignment Pin
ColinDavies4-Mar-03 14:27
ColinDavies4-Mar-03 14:27 
GeneralComboBox: how to MOVE a dropdown ListBox? Pin
Bartosz Bien5-Mar-03 5:45
Bartosz Bien5-Mar-03 5:45 
GeneralShell embedding unwanted Pin
DREVET Olivier4-Mar-03 11:19
DREVET Olivier4-Mar-03 11:19 
Hi there,

I try to make a plug-in system for a multiple SDI application : this application should loads FormViews from separate DLLs. Formviews are rightly showed but the problem stopping me is that I don't have any controls on my view, only a small white and unwanted dialog whose class is "Shell Embedding" (according to SpyXX) !

Furthermore, if I try to bind controls to member variables, my application crash with the following message : "Error: no data exchange control with ID 0x????"

Obviously, I missed something, does anybody could give my some hints about these errors ?

Technically : the application browse a folder hoping to found .dll. Each DLL have an exported function called Init (based on "Using a Doc/View exported from a dynamically loaded DLL (SDI)" By Dave Loeser) who fill up a CRuntimeClass pointer with the RUNTIME_CLASS(CMyFormView) contained in the DLL.

Those pointers are used to register the view through the following code :

pDocTemplate = new CSDIDocTemplate
(
IDR_MAINFRAME,
RUNTIME_CLASS(CSdiMultiDoc),
RUNTIME_CLASS(CMainFrame), // main SDI frame window
lpFormView
);
AddDocTemplate(pDocTemplate);

Thank you, it's very important for me Big Grin | :-D
GeneralRe: Shell embedding unwanted Pin
Roger Allen5-Mar-03 4:41
Roger Allen5-Mar-03 4:41 
Generalexternal exe return values Pin
Sunny Day4-Mar-03 10:21
Sunny Day4-Mar-03 10:21 
GeneralRe: external exe return values Pin
Scott H. Settlemier4-Mar-03 10:27
Scott H. Settlemier4-Mar-03 10:27 
GeneralSetLayeredWindowAttributes Pin
The_Server4-Mar-03 9:32
The_Server4-Mar-03 9:32 
GeneralRe: SetLayeredWindowAttributes Pin
Dave Bryant4-Mar-03 9:45
Dave Bryant4-Mar-03 9:45 
GeneralRe: SetLayeredWindowAttributes Pin
The_Server6-Mar-03 15:00
The_Server6-Mar-03 15:00 
GeneralRe: SetLayeredWindowAttributes Pin
Dave Bryant6-Mar-03 15:09
Dave Bryant6-Mar-03 15:09 
GeneralRe: SetLayeredWindowAttributes Pin
The_Server7-Mar-03 5:28
The_Server7-Mar-03 5:28 
GeneralCListBox &CComboBox Pin
bhutt4-Mar-03 9:20
bhutt4-Mar-03 9:20 
GeneralRe: CListBox &CComboBox Pin
Alvaro Mendez4-Mar-03 10:00
Alvaro Mendez4-Mar-03 10:00 
Generalhttp form post problem Pin
Kuniva4-Mar-03 8:56
Kuniva4-Mar-03 8:56 
GeneralRe: http form post problem Pin
DREVET Olivier4-Mar-03 9:05
DREVET Olivier4-Mar-03 9:05 
GeneralRe: http form post problem Pin
Kuniva5-Mar-03 12:33
Kuniva5-Mar-03 12:33 
QuestionHow do I change JIT debugger from 6.0 to .NET.. Pin
IrishSonic4-Mar-03 8:49
IrishSonic4-Mar-03 8:49 
AnswerRe: How do I change JIT debugger from 6.0 to .NET.. Pin
Anders Molin4-Mar-03 14:42
professionalAnders Molin4-Mar-03 14:42 
Questionhow to make yahoo like chat window? Pin
Subrahmanyam4-Mar-03 7:22
Subrahmanyam4-Mar-03 7:22 
AnswerRe: how to make yahoo like chat window? Pin
User 66584-Mar-03 7:37
User 66584-Mar-03 7:37 

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.