Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing Data between threads Pin
Prakash Nadar2-Mar-04 4:25
Prakash Nadar2-Mar-04 4:25 
GeneralRe: Passing Data between threads Pin
Tom Wright2-Mar-04 4:33
Tom Wright2-Mar-04 4:33 
GeneralRe: Passing Data between threads Pin
RobJones2-Mar-04 4:40
RobJones2-Mar-04 4:40 
GeneralRe: Passing Data between threads Pin
jhwurmbach2-Mar-04 4:43
jhwurmbach2-Mar-04 4:43 
GeneralString pointer questions Pin
Tom Wright2-Mar-04 4:51
Tom Wright2-Mar-04 4:51 
GeneralRe: String pointer questions Pin
jhwurmbach2-Mar-04 4:58
jhwurmbach2-Mar-04 4:58 
QuestionWhy cannot add new database record? Pin
siew hoon2-Mar-04 3:17
siew hoon2-Mar-04 3:17 
GeneralProblems with MFC Extensions DLLs Pin
SashaTis2-Mar-04 3:12
SashaTis2-Mar-04 3:12 
Dear sirs !
I ask you kindly to help me with my problem. I want to understand the reason of the problem I see. I use VC++ 6.0 with SP 5, OS Windows 2000 Professional.

I create two MFC Extension DLLs. The first of them exports class CMyClassA. The other one exports CMyClassB. Each of the classes uses it’s own resources, for example Dialogs.
CMyClassA::ShowDialog() method shows a DialogA.
CMyClassB::ShowDialog() method shows a DialogB.

Next step.
I want to import these 2 classes from DLLs to my new Project, let it be SDI-application. I create it using MFC AppWizard(exe). I link *.lib files to the project.
When I import ONLY CMyClassA, or ONLY CMyClassB, everything is fine, everything works perfectly as I need. As soon as I import both CMyClassA and CMyClassB to the same application, problems are coming. These two classes begin to conflict by their resources. So I can’t call methods ShowDialog() for any of them. Instead of result I see something like this: “An unsupported operation was attempted”.
What’s wrong with these DLLs can be ? How to solve the problem of resources conflict between DLLs ?

I would be very grateful for your help.


Best regards, Alexander.

GeneralRe: Problems with MFC Extensions DLLs Pin
John M. Drescher2-Mar-04 3:39
John M. Drescher2-Mar-04 3:39 
GeneralRe: Problems with MFC Extensions DLLs Pin
SashaTis2-Mar-04 5:03
SashaTis2-Mar-04 5:03 
GeneralRe: Problems with MFC Extensions DLLs Pin
John M. Drescher2-Mar-04 6:02
John M. Drescher2-Mar-04 6:02 
GeneralRe: Problems with MFC Extensions DLLs Pin
SashaTis3-Mar-04 4:51
SashaTis3-Mar-04 4:51 
GeneralRe: Problems with MFC Extensions DLLs Pin
John M. Drescher3-Mar-04 5:43
John M. Drescher3-Mar-04 5:43 
QuestionHow to move CDailog child window under other it's child window? Pin
vgrigor2-Mar-04 2:44
vgrigor2-Mar-04 2:44 
AnswerRe: How to move CDailog child window under other it's child window? Pin
Prakash Nadar2-Mar-04 3:59
Prakash Nadar2-Mar-04 3:59 
GeneralRe: How to move CDailog child window under other it's child window? Pin
vgrigor2-Mar-04 4:21
vgrigor2-Mar-04 4:21 
AnswerRe: How to move CDailog child window under other it's child window? Pin
Prakash Nadar2-Mar-04 5:54
Prakash Nadar2-Mar-04 5:54 
GeneralRe: How to move CDailog child window under other it's child window? Pin
vgrigor2-Mar-04 20:32
vgrigor2-Mar-04 20:32 
GeneralUnload Shell Extension Pin
afj6662-Mar-04 2:14
afj6662-Mar-04 2:14 
GeneralRe: Unload Shell Extension Pin
Prakash Nadar2-Mar-04 2:29
Prakash Nadar2-Mar-04 2:29 
GeneralRe: Unload Shell Extension Pin
Rickard Andersson202-Mar-04 3:28
Rickard Andersson202-Mar-04 3:28 
GeneralRe: Unload Shell Extension Pin
Prakash Nadar2-Mar-04 3:53
Prakash Nadar2-Mar-04 3:53 
GeneralRe: Unload Shell Extension Pin
Rickard Andersson202-Mar-04 3:58
Rickard Andersson202-Mar-04 3:58 
GeneralRe: Unload Shell Extension Pin
Prakash Nadar2-Mar-04 4:05
Prakash Nadar2-Mar-04 4:05 
GeneralRe: Unload Shell Extension Pin
afj6662-Mar-04 12:26
afj6662-Mar-04 12:26 

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.