Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Message for ListView Pin
David Crow16-Jun-05 2:47
David Crow16-Jun-05 2:47 
GeneralCreating Multiple Document Interface using a CRichEditCtrl Pin
dittygrail15-Jun-05 1:17
dittygrail15-Jun-05 1:17 
GeneralOwner Draw List Box & GetText() Pin
Jon Hulatt15-Jun-05 1:14
Jon Hulatt15-Jun-05 1:14 
GeneralRe: Owner Draw List Box & GetText() Pin
Terence Russell1-Jun-23 8:19
Terence Russell1-Jun-23 8:19 
GeneralTime In Microseconds Pin
sweep12315-Jun-05 1:08
sweep12315-Jun-05 1:08 
Questiongetting the upper left pixel of HBITMAP? Pin
ThinkingPrometheus15-Jun-05 0:30
ThinkingPrometheus15-Jun-05 0:30 
AnswerRe: getting the upper left pixel of HBITMAP? Pin
ThatsAlok15-Jun-05 0:49
ThatsAlok15-Jun-05 0:49 
GeneralRe: getting the upper left pixel of HBITMAP? Pin
ThinkingPrometheus15-Jun-05 3:38
ThinkingPrometheus15-Jun-05 3:38 
hiho

i'm using a browser helper object, which i didn't write
the first problem now, was that the compiler didn't find the definition of CDC
so i made a temporary new project, which uses MFC as a dll
i copied the stdafx.h of my helper object

now everything works but:
i get the following error:
BHO error LNK2005: _DllMain@12 already defined in bho.obj

i read this article
http://support.microsoft.com/default.aspx?scid=kb;en-us;q148652
but i'm not really sure what to do?
the problem is that it seems that some libraries are compiled before the MFC libs (i need MFC libs first)
i used the linker option: /verbose:lib
and i got MANY MANY libs used!
so how should i know the compiler order?

or is there another solution?

OR anybody knows a differen solution for getting the upper left pixel than using CDC?

thx
GeneralRe: getting the upper left pixel of HBITMAP? Pin
Bob Stanneveld15-Jun-05 4:29
Bob Stanneveld15-Jun-05 4:29 
GeneralRe: getting the upper left pixel of HBITMAP? Pin
ThinkingPrometheus15-Jun-05 5:49
ThinkingPrometheus15-Jun-05 5:49 
GeneralRe: getting the upper left pixel of HBITMAP? Pin
Bob Stanneveld15-Jun-05 5:54
Bob Stanneveld15-Jun-05 5:54 
GeneralRe: getting the upper left pixel of HBITMAP? Pin
ThinkingPrometheus15-Jun-05 21:40
ThinkingPrometheus15-Jun-05 21:40 
GeneralRe: getting the upper left pixel of HBITMAP? Pin
Bob Stanneveld15-Jun-05 21:51
Bob Stanneveld15-Jun-05 21:51 
GeneralRe: getting the upper left pixel of HBITMAP? Pin
ThinkingPrometheus16-Jun-05 0:31
ThinkingPrometheus16-Jun-05 0:31 
AnswerRe: getting the upper left pixel of HBITMAP? Pin
Bob Stanneveld15-Jun-05 4:48
Bob Stanneveld15-Jun-05 4:48 
GeneralRefreshing the CRichEditCtrl Pin
dittygrail14-Jun-05 23:53
dittygrail14-Jun-05 23:53 
GeneralRe: Refreshing the CRichEditCtrl Pin
S Douglas15-Jun-05 0:36
professionalS Douglas15-Jun-05 0:36 
GeneralRe: Refreshing the CRichEditCtrl Pin
David Crow15-Jun-05 4:55
David Crow15-Jun-05 4:55 
Generalremove popup menu for CHtmlView Pin
includeh1014-Jun-05 23:49
includeh1014-Jun-05 23:49 
GeneralRe: remove popup menu for CHtmlView Pin
khan++15-Jun-05 1:23
khan++15-Jun-05 1:23 
GeneralTaskbar button Pin
Imtiaz Murtaza14-Jun-05 23:21
Imtiaz Murtaza14-Jun-05 23:21 
GeneralRe: Taskbar button Pin
ThatsAlok14-Jun-05 23:41
ThatsAlok14-Jun-05 23:41 
GeneralRe: Taskbar button Pin
Ravi Bhavnani16-Jun-05 6:04
professionalRavi Bhavnani16-Jun-05 6:04 
QuestionCreateEx memory leak? Pin
Tomer Kanza14-Jun-05 23:17
Tomer Kanza14-Jun-05 23:17 
AnswerRe: CreateEx memory leak? Pin
Alexander M.,15-Jun-05 5:41
Alexander M.,15-Jun-05 5:41 

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.