Click here to Skip to main content
15,900,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Imbed C++ Code Pin
Christian Graus15-Dec-07 13:50
protectorChristian Graus15-Dec-07 13:50 
QuestionPreventing an Invalid Entry Pin
BRIMID15-Dec-07 13:45
BRIMID15-Dec-07 13:45 
GeneralRe: Preventing an Invalid Entry Pin
Nelek16-Dec-07 22:14
protectorNelek16-Dec-07 22:14 
QuestionHow do you increase memory allocation during class initialization? [modified] Pin
gluballs15-Dec-07 12:15
gluballs15-Dec-07 12:15 
GeneralRe: How do you increase memory allocation during class initialization? Pin
Mike Dimmick15-Dec-07 14:18
Mike Dimmick15-Dec-07 14:18 
GeneralIO stream manipulators inside a class Pin
Lutosław15-Dec-07 10:13
Lutosław15-Dec-07 10:13 
GeneralRe: IO stream manipulators inside a class Pin
Mike Dimmick15-Dec-07 15:01
Mike Dimmick15-Dec-07 15:01 
GeneralRe: IO stream manipulators inside a class Pin
Lutosław16-Dec-07 8:43
Lutosław16-Dec-07 8:43 
GeneralChallenging Visual Programing Code Required Pin
Moon009215-Dec-07 7:37
Moon009215-Dec-07 7:37 
GeneralRe: Challenging Visual Programing Code Required Pin
Mike Dimmick15-Dec-07 7:45
Mike Dimmick15-Dec-07 7:45 
GeneralRe: Challenging Visual Programing Code Required Pin
Moon009217-Dec-07 5:58
Moon009217-Dec-07 5:58 
QuestionWhy is it dumping so much afxtempl.h text in DEBUG BINARY (Problem Youtube Video)... Pin
sureshbskumar15-Dec-07 5:33
sureshbskumar15-Dec-07 5:33 
GeneralRe: Why is it dumping so much afxtempl.h text in DEBUG BINARY (Problem Youtube Video)... Pin
Mike Dimmick15-Dec-07 7:42
Mike Dimmick15-Dec-07 7:42 
GeneralRe: Why is it dumping so much afxtempl.h text in DEBUG BINARY (Problem Youtube Video)... Pin
sureshbskumar15-Dec-07 8:41
sureshbskumar15-Dec-07 8:41 
GeneralRe: Why is it dumping so much afxtempl.h text in DEBUG BINARY (Problem Youtube Video)... Pin
Mike Dimmick18-Dec-07 12:01
Mike Dimmick18-Dec-07 12:01 
QuestionHow to use classes? Pin
Anthony Appleyard15-Dec-07 2:59
Anthony Appleyard15-Dec-07 2:59 
AnswerRe: How to use classes? Pin
Hamid_RT15-Dec-07 3:16
Hamid_RT15-Dec-07 3:16 
AnswerRe: How to use classes? Pin
CPallini15-Dec-07 3:26
mveCPallini15-Dec-07 3:26 
GeneralRe: How to use classes? Pin
Anthony Appleyard15-Dec-07 11:00
Anthony Appleyard15-Dec-07 11:00 
GeneralRe: How to use classes? Pin
Mark Salsbery15-Dec-07 11:36
Mark Salsbery15-Dec-07 11:36 
AnswerRe: How to use classes? Pin
Mark Salsbery15-Dec-07 11:43
Mark Salsbery15-Dec-07 11:43 
GeneralNew program queries Pin
Anthony Appleyard15-Dec-07 2:54
Anthony Appleyard15-Dec-07 2:54 
GeneralRe: New program queries Pin
Hamid_RT15-Dec-07 3:17
Hamid_RT15-Dec-07 3:17 
GeneralRe: New program queries Pin
CPallini15-Dec-07 3:28
mveCPallini15-Dec-07 3:28 
GeneralProblem when using DllMain() function Pin
ashishbhatt15-Dec-07 2:06
ashishbhatt15-Dec-07 2:06 
Hi All,

I have very serious problem regarding using DllMain() function in my application.I have created MFC Activex Control in VS2005.

I have created one .cpp file in that I want to use DllMain() function as below....

BOOL WINAPI DllMain (HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)<br />
{<br />
    /// Any Code.....<br />
}


But when I use this function (At least these three lines.. Sigh | :sigh: ) I got an error like below....

Hooking.obj : error LNK2005: _DllMain@12 already defined in mfcs80ud.lib(dllmodul.obj)<br />
ActivexVS05.ocx : fatal error LNK1169: one or more multiply defined symbols found


I have searched for this error in google but I could not found the solution.

If you have any suggetion and solution then please reply me.

Thanks in Advance.

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.