Click here to Skip to main content
15,888,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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.
GeneralRe: Problem when using DllMain() function Pin
Mike Dimmick15-Dec-07 7:53
Mike Dimmick15-Dec-07 7:53 
GeneralRe: Problem when using DllMain() function Pin
ashishbhatt15-Dec-07 17:27
ashishbhatt15-Dec-07 17:27 
GeneralRe: Problem when using DllMain() function Pin
Mark Salsbery15-Dec-07 8:07
Mark Salsbery15-Dec-07 8:07 
GeneralGDI+ How to mask an image with a mask bitmap Pin
followait15-Dec-07 2:00
followait15-Dec-07 2:00 
GeneralRe: GDI+ How to mask an image with a mask bitmap Pin
Mark Salsbery15-Dec-07 8:11
Mark Salsbery15-Dec-07 8:11 
GeneralRe: GDI+ How to mask an image with a mask bitmap Pin
followait15-Dec-07 14:19
followait15-Dec-07 14:19 
GeneralCListCtrl in CDialogBar can't receive WM_CREATE Pin
followait15-Dec-07 1:29
followait15-Dec-07 1:29 
QuestionRe: CListCtrl in CDialogBar can't receive WM_CREATE Pin
CPallini15-Dec-07 1:49
mveCPallini15-Dec-07 1:49 
GeneralRe: CListCtrl in CDialogBar can't receive WM_CREATE Pin
followait15-Dec-07 2:06
followait15-Dec-07 2:06 
QuestionRe: CListCtrl in CDialogBar can't receive WM_CREATE Pin
CPallini15-Dec-07 2:44
mveCPallini15-Dec-07 2:44 
QuestionRe: CListCtrl in CDialogBar can't receive WM_CREATE Pin
Hamid_RT15-Dec-07 3:16
Hamid_RT15-Dec-07 3:16 
GeneralRe: CListCtrl in CDialogBar can't receive WM_CREATE Pin
followait15-Dec-07 14:20
followait15-Dec-07 14:20 
GeneralRe: CListCtrl in CDialogBar can't receive WM_CREATE Pin
Hamid_RT15-Dec-07 18:25
Hamid_RT15-Dec-07 18:25 
GeneralRe: CListCtrl in CDialogBar can't receive WM_CREATE Pin
Jörgen Sigvardsson15-Dec-07 11:04
Jörgen Sigvardsson15-Dec-07 11:04 
GeneralRe: CListCtrl in CDialogBar can't receive WM_CREATE Pin
followait15-Dec-07 14:22
followait15-Dec-07 14:22 
Generaldefault implementation of assignment operator Pin
George_George14-Dec-07 19:04
George_George14-Dec-07 19:04 
GeneralRe: default implementation of assignment operator Pin
CPallini15-Dec-07 0:45
mveCPallini15-Dec-07 0:45 

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.