Thats all exactly what i wanted to know. Thank you very much. I understand the problem better now. About the GetMenu function: Yes, we talk about the same function.
If cegcc does not use MFC what other libraries does it use? And where can i get that libraries reference? And what books did you read to learn that much about windows mobile and it's libraries? I also do not need your MFC functions right now, but thanks. I will try to play arround with cegcc for a little longer. I also will try to compile another editor that only displays a window and textbox. Or i will make one by myselfe. Or i modify the ReactOS editor. I tested the simple example in cegcc's doc what compiled successfull and runs on my wm6.1 device. Great work so far. ----- Original Message ----- From: "Danny Backx" <[EMAIL PROTECTED]> To: "Louis Hoefler" <[EMAIL PROTECTED]> Cc: <cegcc-devel@lists.sourceforge.net> Sent: Sunday, April 27, 2008 5:02 PM Subject: Re: [Cegcc-devel] Help with undefined references > On Sun, 2008-04-27 at 16:43 +0200, Louis Hoefler wrote: >> Hi all. >> I try to compile the notepad from ReactOS. >> My problem is that undefined reference errors who show up, but I >> included all needed files. >> I searched the include files for the needed definitions and included >> all headers i found. >> There are 2 or three functions who are not implented in cegcc but they >> are not really important. >> My problem is the ChooseFontW reference error. I included the >> commdlg.h but the error still appears. > > Our include files aren't purely Windows CE based, they originate from > another project that doesn't really focus on CE. > > Some functions that are functions on NT are macros on CE. ChooseFont may > well be one of them. > > What that would mean is that you'd have to replace the definition of > ChooseFont by something like > #define ChooseFont(a,b) \ > ((int)SendMessage(a, WM_CHOOSEFONT_GETLOGFONT, \ > (WPARAM)(b), (LPARAM)0) > > The GetMenu function in your other mail (I think that's from you too, > isn't it ?) is another issue entirely, if I understand things right. I > don't find a reference to GetMenu on MSDN except in the context of MFC. > > MFC is a set of C++ classes for which we don't have an equivalent. I > started cooking one up a couple of months ago, but I eventually got > distracted before I got something to really work. > > Can you confirm that this is what we're talking about here ? > > I can send you my MFC stuff if you're interested. > > Danny > > -- > Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel