Re: [Dev-C++] Making Windows applications in C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Carlos d. M. <cg...@wo...> - 2002-09-24 11:26:10
|
The truth is that I didn't found any online tutorial which can be enough = for even understand the winapi reference, at the end, if you want learn w= indows, you'll need a book. The most recommended is "programming windows"= by Charles Petzold, and it is else many recommended "win32 programming" = by Brent E. Rector and Joseph Newcomer. I read the last and saw the TOC of the first. The latter was fine to me, now I achieve to write some experiments (I'm s= till waiting for my serious windows program) more complicated that a simp= le edit text control, and now I understand the winapi reference. It's a v= ery good book, it is worthy to buy it. Although it has a couple of things= that I must point: their c code use C++ comments, that makes mingw report a lot of errors, s= o compile them as C++ projects. Another point is that their C++ examples = use MFC, but I guess this is a problem you'll find everywhere. Rector's book is very deep, useful for beginners and a good book for use = as reference and has some introductory chapters for threads and synchroni= zation. Petzold's is more "primitive", I mean, it treats more elementary matters = and seems to be not so complete as Rector's book. I found a claimed Petzold's book online in chm format you can download, i= t's not giant download, you can get it in less than 5 minutes, I forgot t= he url, search it. I got it, but I have not read it yet, and everything i= n it is treated in Rector's. For online tutorials, I find good for introduction two of them: the Forge= r's at http://winprog.org (or it was .com?), and the one from reliable. F= orger's is written as C, and reliable as C++. Since the latter is deficie= nt in some points the first has good, and the second let you see some thi= ngs about c++ with windows, I'd recommend you read the forger's and then the one from reliab= le. (http://www.relisoft.com ?) Ext...@no... escribi=F3: > Hi. > > I have received a small dev-cpp c++ windows program which is basically = just an example on how to create a menu in windows. It works nice and now= I have an urge for more. Do any of guys know some good online stuff whic= h can help a c++ programmer with only 6 months of experience to create wi= ndow applications? > > Best regards Kurt. > > > > -----Original Message----- > > From: ext dev...@li... > > [mailto:dev...@li...] > > Sent: 23 September, 2002 22:00 > > To: dev...@li... > > Subject: Dev-cpp-users digest, Vol 1 #982 - 8 msgs > > > > > > Send Dev-cpp-users mailing list submissions to > > dev...@li... > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > or, via email, send a message with subject or body 'help' to > > dev...@li... > > > > You can reach the person managing the list at > > dev...@li... > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Dev-cpp-users digest..." > > > > > > Today's Topics: > > > > 1. Re: ANSI problem (Daniel Glenfield) > > 2. Re: clrscr() and c99 compatibility (Carlos > > =3D?iso-8859-1?Q?Garc=3DEDa?=3D del Monte) > > 3. Link OBJ files with a C++ program with Dev-C++ > > (=3D?iso-8859-1?Q?Roberto_E._Mondrag=3DF3n_R._457885?=3D) > > 4. Re: ANSI problem (metalseb) > > 5. Re: resource compilation error (metalseb) > > 6. Confusing Linker Error (Napoleon Ahiable) > > 7. Still can not get update to work (Eric Richards) > > 8. Re: Confusing Linker Error (Elizabeth Barham) > > > > --__--__-- > > > > Message: 1 > > From: "Daniel Glenfield" <sp...@ho...> > > To: dev...@li... > > Subject: Re: [Dev-C++] ANSI problem > > Date: Mon, 23 Sep 2002 15:14:01 +0100 > > > > Ah I remember this with HBRUSHes, you need to add the type or > > something...I > > can't remember what exactly it was though. Has this jogged > > anyone's memory? > > > > > > >From: "Vlada Djurovic" <dj...@im...> > > >To: "DevC++ help" <dev...@li...> > > >Subject: [Dev-C++] ANSI problem > > >Date: Mon, 23 Sep 2002 14:44:16 +0200 > > > > > >Hi, everybody > > >I wrote this function: > > > > > >void CLine::Draw(HDC hdc) > > >{ > > > HPEN hPen,hOldPen; > > > hPen=3DCreatePen(PS_SOLID,m_iWidth,m_crColor); > > > hOldPen=3DSelectObject(hdc,hPen); > > //this is where I > > >get error message > > > > > > MoveToEx(hdc,m_ptFrom.x,m_ptFrom.y,NULL); > > > LineTo(hdc,m_ptTo.x,m_ptTo.y); > > > SelectObject(hdc,hOldPen); > > > DeleteObject(hPen); > > > DeleteObject(hOldPen); > > >} > > > > > >When I try to compile it, I get the message "ANSI C++ > > forbids implicit > > >conversion from `void *' in assignment" in commented line. > > What is the > > >problem? > > > > > > > > > > _________________________________________________________________ > > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > > > > > --__--__-- > > > > Message: 2 > > Date: Mon, 23 Sep 2002 17:13:11 +0200 > > From: Carlos =3D?iso-8859-1?Q?Garc=3DEDa?=3D del Monte <cg...@wo...> > > To: dev-cpp-users-list <dev...@li...> > > Subject: Re: [Dev-C++] clrscr() and c99 compatibility > > > > conio are files that have change between releases of mingw, > > first I got > > perfect use of its function, then I upgraded to mingw1.1 and it lost > > functionality, and now in mingw2.0.0 it seems fewer (just now > > I see at it=3D > > and > > it no defines clrscr), it has only the .h file, and it lost > > the .c file, =3D > > so I > > copied the two files from the conio which came with Dev-C++ > > 4.0 and I use > > them. > > > > Matthews escribi=3DF3: > > > > > I recently downloaded the new dev-c++ beta version, and am > > a bit stuck. > > > Looking through the included header files, I found a > > prototype for the > > > clrscr() function in conio.h, but trying to use clrscr() > > resulted in a > > > linker error. What header do I need to include to use clrscr()? > > > > > > Also, I believe dev-c++ to be C99 compatible, but how come > > when I tried=3D > > to > > > declare "char choice" halfway down a function, it gave me a > > parsing err=3D > > or? > > > C99 was supposed to allow variable declarations anywhere in > > the code. > > > > > > Thanks. > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > --__--__-- > > > > Message: 3 > > From: =3D?iso-8859-1?Q?Roberto_E._Mondrag=3DF3n_R._457885?=3D > > <004...@ac...> > > To: <dev...@li...> > > Date: Mon, 23 Sep 2002 12:25:48 -0500 > > Subject: [Dev-C++] Link OBJ files with a C++ program with Dev-C++ > > > > This is a multi-part message in MIME format. > > > > ------=3D_NextPart_000_001E_01C262FC.59795640 > > Content-Type: text/plain; > > charset=3D"iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > How can I link a OBJ file (from a ASM program) with a C++ > > program using =3D > > Dev-C++? > > > > Thanks! > > ------=3D_NextPart_000_001E_01C262FC.59795640 > > Content-Type: text/html; > > charset=3D"iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <HTML><HEAD> > > <META http-equiv=3D3DContent-Type content=3D3D"text/html; =3D > > charset=3D3Diso-8859-1"> > > <META content=3D3D"MSHTML 6.00.2800.1106" name=3D3DGENERATOR> > > <STYLE></STYLE> > > </HEAD> > > <BODY bgColor=3D3D#ffffff> > > <DIV><FONT face=3D3DArial size=3D3D2>How can I link a OBJ file > > (from a ASM =3D > > program) with=3D20 > > a C++ program using Dev-C++?</FONT></DIV> > > <DIV><FONT face=3D3DArial size=3D3D2></FONT> </DIV> > > <DIV><FONT face=3D3DArial size=3D3D2>Thanks!</FONT></DIV></BODY></HTM= L> > > > > ------=3D_NextPart_000_001E_01C262FC.59795640-- > > > > > > > > --__--__-- > > > > Message: 4 > > Date: Mon, 23 Sep 2002 19:35:12 +0200 > > To: DevC++ help <dev...@li...> > > From: metalseb <met...@fr...> > > Subject: Re: [Dev-C++] ANSI problem > > Reply-To: met...@fr... > > > > > hOldPen=3DSelectObject(hdc,hPen); > > //this is where I > > > get error message > > > > Well, SelectObject returns an HGIOBJ pointer, just cast the > > return value like this : > > > > hOldPen=3D(HPEN)SelectObject(hdc,hPen); > > > > And it should compile OK. Note that some compilers do the > > cast by themselves. This is not the > > case with MingW. And I think this is *really* better. > > > > -- > > Seb > > > > > > > > --__--__-- > > > > Message: 5 > > Date: Mon, 23 Sep 2002 19:35:15 +0200 > > To: dev...@li... > > From: metalseb <met...@fr...> > > Subject: Re: [Dev-C++] resource compilation error > > Reply-To: met...@fr... > > > > > windres.exe: Script.rc:12: parse error > > > > line 12 says : > > > > > CTEXT "Bartosz Milewski =A9 2001",IDC_STATIC,10,33,121,14 > > > > Just replace IDC_STATIC with -1 and it should compile without > > problems. Dunno why > > IDC_STATIC is not recognised by Windres, even since > > winresrc.h is included. > > > > Tales and mysteries of Windows C programming... > > > > -- > > Seb > > > > > > > > --__--__-- > > > > Message: 6 > > From: "Napoleon Ahiable" <nah...@so...> > > To: <dev...@li...> > > Date: Mon, 23 Sep 2002 19:45:31 +0100 > > Subject: [Dev-C++] Confusing Linker Error > > > > This is a multi-part message in MIME format. > > > > ------=3D_NextPart_000_0054_01C26339.C64A9EE0 > > Content-Type: text/plain; > > charset=3D"iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > Hello, > > > > I'm trying to build a sample program from "C++ In Action" I > > have all the =3D > > general files in a Library and compiled all to create > > WinLib.a. I then =3D > > created the main project with the rest of the files. Under =3D > > >Project>Options I included the Path to my Library under both > > Library =3D > > Directories and Include Directories. When I compile the > > program this is =3D > > the error that I get. I'll appreaciate an explanation and a solution = =3D > > please. Thanks. > > > > Napoleon. > > > > Building Makefile: "C:\Projects\PortCalck\Makefile.win" > > Executing make... > > mingw32-make.exe -f "C:\Projects\PortCalck\Makefile.win" all > > windres.exe -i PORTCA~1.RC -I rc -o PortCalck.res -O coff=3D20 > > > > g++.exe Calc.o Commander.o Ctrl.o FunTab.o LoadDlg.o Main.o > > MenuTable.o =3D > > Nodes.o Output.o Parser.o SaveDlg.o Scanner.o Serial.o > > Store.o SymTab.o =3D > > View.o AboutDlg.o PortCalck.res -o "PortCalk.exe" -L"C:\MinGW\lib" =3D > > -L"C:\Projects\WinLib" -I"C:\MinGW\include" > > -I"C:\MinGW\include\c++" =3D > > -I"C:\MinGW\include" -I"C:\Projects\WinLib" -D_WIN32_IE=3D3D0x0300 = =3D > > -DSTRICT -s -mwindows > > > > Commander.o(.text$_ZN6Dialog5ModalC1EN3Win3DowEiRNS_15ModalCon > > trollerE+0x=3D > > 11):Commander.cpp: undefined reference to =3D > > `_ZN6Dialog9ModalProcEP6HWND__jjl@16' > > Ctrl.o(.text$_ZN4View8GetInputEv+0x16):Ctrl.cpp: undefined > > reference to =3D > > `Win::Edit::GetText() const' > > > > Ctrl.o(.text$_ZN4View12RefreshPopupEP7HMENU__i+0x17):Ctrl.cpp: > > undefined =3D > > reference to `Menu::DropDown::RefreshPopup(HMENU__*, int)' > > Ctrl.o(.text$_ZNK3Cmd10VectorExecI9CommanderE4TestEPKc+0x2e):C > > trl.cpp: =3D > > undefined reference to `Cmd::Vector::CmdToId(char const*) const' > > LoadDlg.o(.text$_ZN3Win7ListBox13ListDirectoryENS_3DowEPcij+0x > > 82):LoadDlg=3D > > .cpp: undefined reference to `Win::Exception::Exception(std::string =3D > > const&, std::string const&, unsigned long)' > > Main.o(.text+0x72):Main.cpp: undefined reference to =3D > > `Win::ClassMaker::ClassMaker(char const*, HINSTANCE__*)' > > Main.o(.text+0x83):Main.cpp: undefined reference to =3D > > `Win::ClassMaker::SetIcons(int)' > > Main.o(.text+0xab):Main.cpp: undefined reference to =3D > > `Win::Maker::Maker(char const*, HINSTANCE__*)' > > > > Main.o(.text+0xfa):Main.cpp: undefined reference to =3D > > `Win::Maker::Create(Win::Controller&, char const*)' > > Main.o(.text+0x143):Main.cpp: undefined reference to =3D > > `Win::MsgPrepro::Pump()' > > Main.o(.text$_ZN9SmallIconD1Ev+0xd):Main.cpp: undefined reference to = =3D > > `Icon::~Icon()' > > Main.o(.text$_ZN7StdIconD1Ev+0xd):Main.cpp: undefined reference to =3D > > `Icon::~Icon()' > > SaveDlg.o(.text+0x7b):SaveDlg.cpp: undefined reference to =3D > > `Win::Edit::GetText() const' > > SymTab.o(.text+0x1da):SymTab.cpp: undefined reference to =3D > > `Win::Exception::Exception(std::string const&, std::string const&, =3D > > unsigned long)' > > View.o(.text+0x51):View.cpp: undefined reference to =3D > > `Menu::DropDown::DropDown(Menu::BarItem const*, Cmd::Vector&)' > > View.o(.text+0x12d):View.cpp: undefined reference to =3D > > `Win::ChildMaker::Create(char const*)' > > View.o(.text+0x178):View.cpp: undefined reference to =3D > > `Win::ChildMaker::Create(char const*)' > > View.o(.text+0x1c3):View.cpp: undefined reference to =3D > > `Win::ChildMaker::Create(char const*)' > > View.o(.text+0x1ec):View.cpp: undefined reference to =3D > > `Win::Dow::SubClass(Win::SubController*)' > > View.o(.text+0x239):View.cpp: undefined reference to =3D > > `Win::ChildMaker::Create(char const*)' > > View.o(.text+0x27b):View.cpp: undefined reference to =3D > > `Font::Stock::GetTextSize(int&, int&)' > > View.o(.text+0x429):View.cpp: undefined reference to =3D > > `Menu::DropDown::DropDown(Menu::BarItem const*, Cmd::Vector&)' > > View.o(.text+0x505):View.cpp: undefined reference to =3D > > `Win::ChildMaker::Create(char const*)' > > View.o(.text+0x550):View.cpp: undefined reference to =3D > > `Win::ChildMaker::Create(char const*)' > > View.o(.text+0x59b):View.cpp: undefined reference to =3D > > `Win::ChildMaker::Create(char const*)' > > View.o(.text+0x5c4):View.cpp: undefined reference to =3D > > `Win::Dow::SubClass(Win::SubController*)' > > View.o(.text+0x611):View.cpp: undefined reference to =3D > > `Win::ChildMaker::Create(char const*)' > > View.o(.text+0x653):View.cpp: undefined reference to =3D > > `Font::Stock::GetTextSize(int&, int&)' > > View.o(.text+0x7d3):View.cpp: undefined reference to =3D > > `Menu::DropDown::AttachToWindow(HWND__*)' > > View.o(.text+0x952):View.cpp: undefined reference to =3D > > `Win::Edit::Clear()' > > View.o(.text$_ZN3Win14StatusBarMakerC1EP6HWND__i+0x33):View.cpp: =3D > > undefined reference to `InitCommonControlsEx@4' > > View.o(.text$_ZN3Win14StatusBarMakerC1EP6HWND__i+0x87):View.cpp: =3D > > undefined reference to `Win::Exception::Exception(std::string > > const&, =3D > > std::string const&, unsigned long)' > > View.o(.text$_ZN3Win14StatusBarMaker6CreateEv+0x1f):View.cpp: > > undefined =3D > > reference to `CreateStatusWindowA@16' > > View.o(.text$_ZN3Win14StatusBarMaker6CreateEv+0x75):View.cpp: > > undefined =3D > > reference to `Win::Exception::Exception(std::string const&, > > std::string =3D > > const&, unsigned long)' > > View.o(.text$_ZN3Win12ControlMakerC2EPKcP6HWND__i+0x25):View.cpp: =3D > > undefined reference to `Win::ChildMaker::ChildMaker(char const*, =3D > > Win::Dow, int)' > > > > mingw32-make.exe: *** [PortCalk.exe] Error 1 > > > > Execution terminated > > > > > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.389 / Virus Database: 220 - Release Date: 16/09/2002 > > ------=3D_NextPart_000_0054_01C26339.C64A9EE0 > > Content-Type: text/html; > > charset=3D"iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <HTML><HEAD> > > <META http-equiv=3D3DContent-Type content=3D3D"text/html; =3D > > charset=3D3Diso-8859-1"> > > <META content=3D3D"MSHTML 6.00.2800.1106" name=3D3DGENERATOR> > > <STYLE></STYLE> > > </HEAD> > > <BODY bgColor=3D3D#ffffff> > > <DIV><FONT face=3D3DArial size=3D3D2><STRONG>Hello,</STRONG></FONT></= DIV> > > <DIV><FONT face=3D3DArial size=3D3D2><STRONG></STRONG></FONT> </= DIV> > > <DIV><FONT face=3D3DArial size=3D3D2><STRONG>I'm trying to build > > a sample =3D > > program from=3D20 > > "C++ In Action" I have all the general files in a Library and > > compiled =3D > > all to=3D20 > > create WinLib.a. I then created the main project with the > > rest of the =3D > > files.=3D20 > > Under >Project>Options I included the Path to my Library under = =3D > > both=3D20 > > Library Directories and Include Directories. When I compile > > the program =3D > > this is=3D20 > > the error that I get. I'll appreaciate an explanation and a solution = =3D > > please.=3D20 > > Thanks.</STRONG></FONT></DIV> > > <DIV><FONT face=3D3DArial size=3D3D2><STRONG></STRONG></FONT> </= DIV> > > <DIV><FONT face=3D3DArial > > size=3D3D2><STRONG>Napoleon.</STRONG></FONT></DIV> > > <DIV><FONT face=3D3DArial size=3D3D2></FONT> </DIV> > > <DIV><FONT face=3D3DArial size=3D3D2><EM>Building Makefile:=3D20 > > "C:\Projects\PortCalck\Makefile.win"<BR>Executing =3D20 > > make...<BR>mingw32-make.exe -f "C:\Projects\PortCalck\Makefile.win"=3D= 20 > > all<BR>windres.exe -i PORTCA~1.RC -I rc -o PortCalck.res -O coff=3D20 > > </EM></FONT></DIV> > > <DIV><EM></EM> </DIV> > > <DIV><FONT face=3D3DArial size=3D3D2><EM>g++.exe Calc.o > > Commander.o Ctrl.o =3D > > FunTab.o=3D20 > > LoadDlg.o Main.o MenuTable.o Nodes.o Output.o Parser.o SaveDlg.o =3D > > Scanner.o=3D20 > > Serial.o Store.o SymTab.o View.o AboutDlg.o PortCalck.res -o =3D > > "PortCalk.exe"=3D20 > > -L"C:\MinGW\lib" -<STRONG>L"C:\Projects\WinLib"</STRONG> =3D20 > > -I"C:\MinGW\include" -I"C:\MinGW\include\c++" =3D20 > > -I"C:\MinGW\include" > > -<STRONG>I"C:\Projects\WinLib"</STRONG> =3D > > > > -D_WIN32_IE=3D3D0x0300 -DSTRICT -s -mwindows</EM></FONT></DIV> > > <DIV><FONT face=3D3DArial size=3D3D2><EM></EM></FONT> </DIV> > > <DIV><FONT face=3D3DArial=3D20 > > size=3D3D2><EM>Commander.o(.text$_ZN6Dialog5ModalC1EN3Win3DowEiR > > NS_15ModalC=3D > > ontrollerE+0x11):Commander.cpp:=3D20 > > undefined reference to </EM><A=3D20 > > href=3D3D"mailto:`_ZN6Dialog9ModalProcEP6HWND__jjl@16'"><EM>`_ZN > > 6Dialog9Mod=3D > > alProcEP6HWND__jjl@16'</EM></A><BR><EM>Ctrl.o(.text$_ZN4View8G > > etInputEv+0=3D > > x16):Ctrl.cpp:=3D20 > > undefined reference to `Win::Edit::GetText() const'</EM></FONT></DIV> > > <DIV><FONT face=3D3DArial size=3D3D2><EM></EM></FONT> </DIV> > > <DIV><FONT face=3D3DArial=3D20 > > size=3D3D2><EM>Ctrl.o(.text$_ZN4View12RefreshPopupEP7HMENU__i+0x > > 17):Ctrl.cp=3D > > p:=3D20 > > undefined reference to `Menu::DropDown::RefreshPopup(HMENU__*,=3D20 > > int)'<BR>Ctrl.o(.text$_ZNK3Cmd10VectorExecI9CommanderE4TestEPK > > c+0x2e):Ctr=3D > > l.cpp:=3D20 > > undefined reference to `Cmd::Vector::CmdToId(char const*)=3D20 > > const'<BR>LoadDlg.o(.text$_ZN3Win7ListBox13ListDirectoryENS_3D > > owEPcij+0x8=3D > > 2):LoadDlg.cpp:=3D20 > > undefined reference to `Win::Exception::Exception(std::string =3D > > const&,=3D20 > > std::string const&, unsigned > > long)'<BR>Main.o(.text+0x72):Main.cpp:=3D20 > > undefined reference to `Win::ClassMaker::ClassMaker(char const*,=3D20 > > HINSTANCE__*)'<BR>Main.o(.text+0x83):Main.cpp: undefined > > reference to=3D20 > > `Win::ClassMaker::SetIcons(int)'<BR>Main.o(.text+0xab):Main.cpp: =3D > > undefined=3D20 > > reference to `Win::Maker::Maker(char const*, =3D > > HINSTANCE__*)'</EM></FONT></DIV> > > <DIV><EM></EM> </DIV> > > <DIV><FONT face=3D3DArial size=3D3D2><EM>Main.o(.text+0xfa):Main.cpp:= =3D > > undefined=3D20 > > reference to `Win::Maker::Create(Win::Controller&, char=3D20 > > const*)'<BR>Main.o(.text+0x143):Main.cpp: undefined reference to=3D20 > > `Win::MsgPrepro::Pump()'<BR>Main.o(.text$_ZN9SmallIconD1Ev+0xd > > ):Main.cpp:=3D > > =3D20 > > undefined reference to=3D20 > > `Icon::~Icon()'<BR>Main.o(.text$_ZN7StdIconD1Ev+0xd):Main.cpp: > > undefined =3D > > > > reference to `Icon::~Icon()'<BR>SaveDlg.o(.text+0x7b):SaveDlg.cpp: =3D > > undefined=3D20 > > reference to `Win::Edit::GetText() =3D > > const'<BR>SymTab.o(.text+0x1da):SymTab.cpp:=3D20 > > undefined reference to `Win::Exception::Exception(std::string =3D > > const&,=3D20 > > std::string const&, unsigned > > long)'<BR>View.o(.text+0x51):View.cpp:=3D20 > > undefined reference to > > `Menu::DropDown::DropDown(Menu::BarItem const*,=3D20 > > Cmd::Vector&)'<BR>View.o(.text+0x12d):View.cpp: undefined > > reference =3D > > to=3D20 > > `Win::ChildMaker::Create(char > > const*)'<BR>View.o(.text+0x178):View.cpp:=3D20 > > undefined reference to `Win::ChildMaker::Create(char=3D20 > > const*)'<BR>View.o(.text+0x1c3):View.cpp: undefined reference to=3D20 > > `Win::ChildMaker::Create(char > > const*)'<BR>View.o(.text+0x1ec):View.cpp:=3D20 > > undefined reference to=3D20 > > `Win::Dow::SubClass(Win::SubController*)'<BR>View.o(.text+0x23 > > 9):View.cpp=3D > > :=3D20 > > undefined reference to `Win::ChildMaker::Create(char=3D20 > > const*)'<BR>View.o(.text+0x27b):View.cpp: undefined reference to=3D20 > > `Font::Stock::GetTextSize(int&, =3D > > int&)'<BR>View.o(.text+0x429):View.cpp:=3D20 > > undefined reference to > > `Menu::DropDown::DropDown(Menu::BarItem const*,=3D20 > > Cmd::Vector&)'<BR>View.o(.text+0x505):View.cpp: undefined > > reference =3D > > to=3D20 > > `Win::ChildMaker::Create(char > > const*)'<BR>View.o(.text+0x550):View.cpp:=3D20 > > undefined reference to `Win::ChildMaker::Create(char=3D20 > > const*)'<BR>View.o(.text+0x59b):View.cpp: undefined reference to=3D20 > > `Win::ChildMaker::Create(char > > const*)'<BR>View.o(.text+0x5c4):View.cpp:=3D20 > > undefined reference to=3D20 > > `Win::Dow::SubClass(Win::SubController*)'<BR>View.o(.text+0x61 > > 1):View.cpp=3D > > :=3D20 > > undefined reference to `Win::ChildMaker::Create(char=3D20 > > const*)'<BR>View.o(.text+0x653):View.cpp: undefined reference to=3D20 > > `Font::Stock::GetTextSize(int&, =3D > > int&)'<BR>View.o(.text+0x7d3):View.cpp:=3D20 > > undefined reference to=3D20 > > `Menu::DropDown::AttachToWindow(HWND__*)'<BR>View.o(.text+0x95 > > 2):View.cpp=3D > > :=3D20 > > undefined reference to=3D20 > > `Win::Edit::Clear()'<BR>View.o(.text$_ZN3Win14StatusBarMakerC1 > > EP6HWND__i+=3D > > 0x33):View.cpp:=3D20 > > undefined reference to </EM><A=3D20 > > href=3D3D"mailto:`InitCommonControlsEx@4'"><EM>`InitCommonContro > > lsEx@4'</EM=3D > > ></A><BR><EM>View.o(.text$_ZN3Win14StatusBarMakerC1EP6HWND__i+ > > 0x87):View.=3D > > cpp:=3D20 > > undefined reference to `Win::Exception::Exception(std::string =3D > > const&,=3D20 > > std::string const&, unsigned=3D20 > > long)'<BR>View.o(.text$_ZN3Win14StatusBarMaker6CreateEv+0x1f): > > View.cpp:=3D20 > > undefined reference to </EM><A=3D20 > > href=3D3D"mailto:`CreateStatusWindowA@16'"><EM>`CreateStatusWind > > owA@16'</EM=3D > > ></A><BR><EM>View.o(.text$_ZN3Win14StatusBarMaker6CreateEv+0x7 > > 5):View.cpp=3D > > :=3D20 > > undefined reference to `Win::Exception::Exception(std::string =3D > > const&,=3D20 > > std::string const&, unsigned=3D20 > > long)'<BR>View.o(.text$_ZN3Win12ControlMakerC2EPKcP6HWND__i+0x > > 25):View.cp=3D > > p:=3D20 > > undefined reference to `Win::ChildMaker::ChildMaker(char const*, =3D > > Win::Dow,=3D20 > > int)'</EM></FONT></DIV> > > <DIV><EM></EM> </DIV> > > <DIV><FONT face=3D3DArial size=3D3D2><EM>mingw32-make.exe: *** =3D > > [PortCalk.exe] Error=3D20 > > 1</EM></FONT></DIV> > > <DIV><EM></EM> </DIV> > > <DIV><FONT face=3D3DArial size=3D3D2><EM>Execution terminated<BR></DI= V> > > <DIV> </DIV> > > <DIV> </DIV> > > <DIV><BR>---<BR>Outgoing mail is certified Virus > > Free.<BR>Checked by AVG =3D > > > > anti-virus system (<A=3D20 > > href=3D3D"http://www.grisoft.com">http://www.grisoft.com</A>).<B > > R>Version: =3D > > 6.0.389 /=3D20 > > Virus Database: 220 - Release Date: =3D > > 16/09/2002</EM></FONT></DIV></BODY></HTML> > > > > ------=3D_NextPart_000_0054_01C26339.C64A9EE0-- > > > > > > > > --__--__-- > > > > Message: 7 > > From: "Eric Richards" <e.r...@pa...> > > To: <dev...@li...> > > Date: Tue, 24 Sep 2002 06:52:34 +1200 > > Subject: [Dev-C++] Still can not get update to work > > > > it just freezes up > > > > From Eric > > > > NO ATTACHMENT WAS SENT WITH THIS EMAIL, > > IF THERE IS ONE, IT IS A UNDETECTED VIRUS, PLEASE LET ME KNOW.. > > > > -----Original Message----- > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.391 / Virus Database: 222 - Release Date: 9/19/02 > > > > > > > > --__--__-- > > > > Message: 8 > > To: <dev...@li...> > > Subject: Re: [Dev-C++] Confusing Linker Error > > From: Elizabeth Barham <sog...@ya...> > > Date: 23 Sep 2002 13:58:32 -0500 > > > > "Napoleon Ahiable" <nah...@so...> writes: > > > > > g++.exe Calc.o Commander.o Ctrl.o FunTab.o LoadDlg.o Main.o > > MenuTable.o =3D > > > Nodes.o Output.o Parser.o SaveDlg.o Scanner.o Serial.o > > Store.o SymTab.o =3D > > > View.o AboutDlg.o PortCalck.res -o "PortCalk.exe" -L"C:\MinGW\lib" = =3D > > > -L"C:\Projects\WinLib" -I"C:\MinGW\include" > > -I"C:\MinGW\include\c++" =3D > > > -I"C:\MinGW\include" -I"C:\Projects\WinLib" -D_WIN32_IE=3D3D0x030= 0 =3D > > > -DSTRICT -s -mwindows > > > > This is a wild guess, but if WinLib.a is in C:\Projects\WinLib, then > > shouldn't it be on the command line? Or, better yet, could it be > > renamed "libWinLib.a" and then -lWinLib added onto the command line > > after the -L"C:\Projects\WinLib" ? Especially if that is where all of > > your undefined symbols are coming from. > > > > Elizabeth > > > > > > > > --__--__-- > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > End of Dev-cpp-users Digest > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |