[Dev-C++] Making Windows applications in C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <Ext...@no...> - 2002-09-24 11:02:19
|
Hi.=20 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 = which can help a c++ programmer with only 6 months of experience to = create window applications?=20 Best regards Kurt. =20 > -----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 >=20 >=20 > Send Dev-cpp-users mailing list submissions to > dev...@li... >=20 > 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... >=20 > You can reach the person managing the list at > dev...@li... >=20 > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dev-cpp-users digest..." >=20 >=20 > Today's Topics: >=20 > 1. Re: ANSI problem (Daniel Glenfield) > 2. Re: clrscr() and c99 compatibility (Carlos=20 > =3D?iso-8859-1?Q?Garc=3DEDa?=3D del Monte) > 3. Link OBJ files with a C++ program with Dev-C++=20 > (=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) >=20 > --__--__-- >=20 > 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 >=20 > Ah I remember this with HBRUSHes, you need to add the type or=20 > something...I=20 > can't remember what exactly it was though. Has this jogged=20 > anyone's memory? >=20 >=20 > >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); =20 > //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++=20 > forbids implicit > >conversion from `void *' in assignment" in commented line.=20 > What is the > >problem? >=20 >=20 >=20 >=20 > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com >=20 >=20 >=20 > --__--__-- >=20 > 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 >=20 > conio are files that have change between releases of mingw,=20 > 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=20 > I see at it=3D > and > it no defines clrscr), it has only the .h file, and it lost=20 > the .c file, =3D > so I > copied the two files from the conio which came with Dev-C++=20 > 4.0 and I use > them. >=20 > Matthews escribi=3DF3: >=20 > > I recently downloaded the new dev-c++ beta version, and am=20 > a bit stuck. > > Looking through the included header files, I found a=20 > prototype for the > > clrscr() function in conio.h, but trying to use clrscr()=20 > 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=20 > when I tried=3D > to > > declare "char choice" halfway down a function, it gave me a=20 > parsing err=3D > or? > > C99 was supposed to allow variable declarations anywhere in=20 > 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 >=20 >=20 >=20 > --__--__-- >=20 > Message: 3 > From: =3D?iso-8859-1?Q?Roberto_E._Mondrag=3DF3n_R._457885?=3D=20 > <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++ >=20 > This is a multi-part message in MIME format. >=20 > ------=3D_NextPart_000_001E_01C262FC.59795640 > Content-Type: text/plain; > charset=3D"iso-8859-1" > Content-Transfer-Encoding: quoted-printable >=20 > How can I link a OBJ file (from a ASM program) with a C++=20 > program using =3D > Dev-C++? >=20 > Thanks! > ------=3D_NextPart_000_001E_01C262FC.59795640 > Content-Type: text/html; > charset=3D"iso-8859-1" > Content-Transfer-Encoding: quoted-printable >=20 > <!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=20 > (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></HTML> >=20 > ------=3D_NextPart_000_001E_01C262FC.59795640-- >=20 >=20 >=20 > --__--__-- >=20 > 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... >=20 > > hOldPen=3DSelectObject(hdc,hPen); =20 > //this is where I > > get error message >=20 > Well, SelectObject returns an HGIOBJ pointer, just cast the=20 > return value like this : >=20 > hOldPen=3D(HPEN)SelectObject(hdc,hPen); =20 >=20 > And it should compile OK. Note that some compilers do the=20 > cast by themselves. This is not the=20 > case with MingW. And I think this is *really* better. >=20 > -- > Seb >=20 >=20 >=20 > --__--__-- >=20 > 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... >=20 > > windres.exe: Script.rc:12: parse error >=20 > line 12 says : >=20 > > CTEXT "Bartosz Milewski =A9 2001",IDC_STATIC,10,33,121,14 >=20 > Just replace IDC_STATIC with -1 and it should compile without=20 > problems. Dunno why=20 > IDC_STATIC is not recognised by Windres, even since=20 > winresrc.h is included. >=20 > Tales and mysteries of Windows C programming... >=20 > -- > Seb >=20 >=20 >=20 > --__--__-- >=20 > 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 >=20 > This is a multi-part message in MIME format. >=20 > ------=3D_NextPart_000_0054_01C26339.C64A9EE0 > Content-Type: text/plain; > charset=3D"iso-8859-1" > Content-Transfer-Encoding: quoted-printable >=20 > Hello, >=20 > I'm trying to build a sample program from "C++ In Action" I=20 > have all the =3D > general files in a Library and compiled all to create=20 > 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=20 > Library =3D > Directories and Include Directories. When I compile the=20 > program this is =3D > the error that I get. I'll appreaciate an explanation and a solution = =3D > please. Thanks. >=20 > Napoleon. >=20 > 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 >=20 > g++.exe Calc.o Commander.o Ctrl.o FunTab.o LoadDlg.o Main.o=20 > MenuTable.o =3D > Nodes.o Output.o Parser.o SaveDlg.o Scanner.o Serial.o=20 > 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" =20 > -I"C:\MinGW\include\c++" =3D > -I"C:\MinGW\include" -I"C:\Projects\WinLib" -D_WIN32_IE=3D3D0x0300 = =3D > -DSTRICT -s -mwindows >=20 > 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=20 > reference to =3D > `Win::Edit::GetText() const' >=20 > 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__*)' >=20 > 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=20 > const&, =3D > std::string const&, unsigned long)' > View.o(.text$_ZN3Win14StatusBarMaker6CreateEv+0x1f):View.cpp:=20 > undefined =3D > reference to `CreateStatusWindowA@16' > View.o(.text$_ZN3Win14StatusBarMaker6CreateEv+0x75):View.cpp:=20 > undefined =3D > reference to `Win::Exception::Exception(std::string const&,=20 > 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)' >=20 > mingw32-make.exe: *** [PortCalk.exe] Error 1 >=20 > Execution terminated >=20 >=20 >=20 >=20 > --- > 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 >=20 > <!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=20 > a sample =3D > program from=3D20 > "C++ In Action" I have all the general files in a Library and=20 > compiled =3D > all to=3D20 > create WinLib.a. I then created the main project with the=20 > 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=20 > 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=20 > 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"=3D20 > 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=20 > 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" =20 > -<STRONG>I"C:\Projects\WinLib"</STRONG> =3D >=20 > -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=20 > 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=20 > 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 >=20 > 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=20 > long)'<BR>View.o(.text+0x51):View.cpp:=3D20 > undefined reference to=20 > `Menu::DropDown::DropDown(Menu::BarItem const*,=3D20 > Cmd::Vector&)'<BR>View.o(.text+0x12d):View.cpp: undefined=20 > reference =3D > to=3D20 > `Win::ChildMaker::Create(char=20 > 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=20 > 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=20 > `Menu::DropDown::DropDown(Menu::BarItem const*,=3D20 > Cmd::Vector&)'<BR>View.o(.text+0x505):View.cpp: undefined=20 > reference =3D > to=3D20 > `Win::ChildMaker::Create(char=20 > 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=20 > 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></DIV> > <DIV> </DIV> > <DIV> </DIV> > <DIV><BR>---<BR>Outgoing mail is certified Virus=20 > Free.<BR>Checked by AVG =3D >=20 > 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> >=20 > ------=3D_NextPart_000_0054_01C26339.C64A9EE0-- >=20 >=20 >=20 > --__--__-- >=20 > 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 >=20 > it just freezes up=20 >=20 > From Eric >=20 > NO ATTACHMENT WAS SENT WITH THIS EMAIL, > IF THERE IS ONE, IT IS A UNDETECTED VIRUS, PLEASE LET ME KNOW.. >=20 > -----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 >=20 >=20 >=20 > --__--__-- >=20 > 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 >=20 > "Napoleon Ahiable" <nah...@so...> writes: >=20 > > g++.exe Calc.o Commander.o Ctrl.o FunTab.o LoadDlg.o Main.o=20 > MenuTable.o =3D > > Nodes.o Output.o Parser.o SaveDlg.o Scanner.o Serial.o=20 > 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" =20 > -I"C:\MinGW\include\c++" =3D > > -I"C:\MinGW\include" -I"C:\Projects\WinLib" -D_WIN32_IE=3D3D0x0300 = =3D > > -DSTRICT -s -mwindows >=20 > 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. >=20 > Elizabeth >=20 >=20 >=20 > --__--__-- >=20 > _______________________________________________ > 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 >=20 >=20 > End of Dev-cpp-users Digest >=20 |