Click here to Skip to main content
15,918,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDebug Assertion Failed! Pin
cockytrumpet21-Mar-05 14:32
susscockytrumpet21-Mar-05 14:32 
GeneralRe: Debug Assertion Failed! Pin
Christian Graus21-Mar-05 14:58
protectorChristian Graus21-Mar-05 14:58 
GeneralRe: Debug Assertion Failed! Pin
David Crow22-Mar-05 2:57
David Crow22-Mar-05 2:57 
GeneralSystem process Pin
giany00721-Mar-05 11:48
giany00721-Mar-05 11:48 
GeneralRe: System process Pin
Tom Wright21-Mar-05 12:21
Tom Wright21-Mar-05 12:21 
GeneralRe: System process Pin
giany00721-Mar-05 23:10
giany00721-Mar-05 23:10 
GeneralRe: System process Pin
Blake Miller22-Mar-05 5:58
Blake Miller22-Mar-05 5:58 
Generalmfc dll and IWebBrowser2 questions Pin
Spiritofamerica21-Mar-05 10:51
Spiritofamerica21-Mar-05 10:51 
hello

1.

I tried putting some of my code that uses MFC inside a ordinary WIN32 dll and I get an error like this

nafxcw.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in otherdll.obj
Release/otherdll.dll : fatal error LNK1169: one or more multiply defined symbols found

this error I get whenever I try to #include some mfc headers that I need.

is there anyway to make a win32 dll accept MFC or do I have to make a mfc dll?

2.I dwd some sources of mfc dll and it seems like you can only import functions from them from MFC apps

can you not do the same from win32 apps?
and if so how?

3.I may need to send to the function I call from the dll a pointer to a IWebBrowser2 object
Is this possible?

does the dll know about IWebBrowser2? or does this not matter because pointer is pointer?


please reply to these questions

thank you in advance
GeneralRe: mfc dll and IWebBrowser2 questions Pin
David Crow21-Mar-05 11:01
David Crow21-Mar-05 11:01 
GeneralRe: mfc dll and IWebBrowser2 questions Pin
Anonymous22-Mar-05 4:55
Anonymous22-Mar-05 4:55 
GeneralWriting Variables in CDialog with MFC Pin
NewbieStats21-Mar-05 9:45
NewbieStats21-Mar-05 9:45 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 10:01
professionalRavi Bhavnani21-Mar-05 10:01 
GeneralRe: Writing Variables in CDialog with MFC Pin
NewbieStats21-Mar-05 10:19
NewbieStats21-Mar-05 10:19 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 10:37
professionalRavi Bhavnani21-Mar-05 10:37 
GeneralRe: Writing Variables in CDialog with MFC Pin
NewbieStats21-Mar-05 10:51
NewbieStats21-Mar-05 10:51 
GeneralRe: Writing Variables in CDialog with MFC Pin
David Crow21-Mar-05 10:57
David Crow21-Mar-05 10:57 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 11:11
professionalRavi Bhavnani21-Mar-05 11:11 
GeneralRe: Writing Variables in CDialog with MFC Pin
NewbieStats21-Mar-05 11:28
NewbieStats21-Mar-05 11:28 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 11:38
professionalRavi Bhavnani21-Mar-05 11:38 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 13:00
professionalRavi Bhavnani21-Mar-05 13:00 
GeneralRe: Writing Variables in CDialog with MFC Pin
NewbieStats21-Mar-05 13:31
NewbieStats21-Mar-05 13:31 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 13:35
professionalRavi Bhavnani21-Mar-05 13:35 
GeneralRe: Writing Variables in CDialog with MFC Pin
Christian Graus21-Mar-05 13:58
protectorChristian Graus21-Mar-05 13:58 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani22-Mar-05 2:12
professionalRavi Bhavnani22-Mar-05 2:12 
GeneralRe: Writing Variables in CDialog with MFC Pin
David Crow21-Mar-05 10:55
David Crow21-Mar-05 10:55 

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.