dev-cpp-users Mailing List for Dev-C++ (Page 444)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Trevor S. G. <Gue...@My...> - 2003-02-05 14:22:52
|
The DevPaks included with Dev-C++ are a very thoughtful feature and handy to newbies since they allow users like me to just click and make things work. I would like to use the wxWindows GUI toolkit with Dev-C++. However, while the latest wxWindows version is 2.4.0, UNfortunately, the wxWindows DevPak available via vUpdate of Dev-C++, contains the version 2.2.9. Hence, I'd downloaded the whole wxWindows package from www.wxwindows.org. However, I'm unable to configure and set it to work for me. I did read from earlier posts that the wxWindows v2.4.0 DevPaks are available for download at http://michel.weinachter.free.fr/. However, since I have a poor dial up Internet connection and would like to do-it-myself, I would be much obliged if somebody would be able to tell me how should one go about configuring Dev-C++ to recognise the wxWindows libraries. Thanks in advance, Trevor ______________________________________________________________________________________ Dieses E-Mail wurde kostenlos ueber http://www.my-mail.ch verschickt. Guenstig fliegen - keine Gluecksache! 100'000 Flugtarife online - http://www.flugshop.ch |
|
From: Lucas K. T. <lk...@bo...> - 2003-02-05 14:20:44
|
Which means... go to, "project -> project options" and write under "further object files...": -lgdi32 Anyway, normally you wouldn't have ot include it for a simple GetStockObject call, but sometimes you get that error, it's weird, does anyone know why that happens, that sometimes the funcion is already included and sometimes it's not? lkt153 |
|
From: Lars-Bo J. <la...@fo...> - 2003-02-05 14:00:43
|
Hi All I would like to use an external package (GNU gsl 1.3) with Dev-C++, it come as source files an requires to be compiled by using Configure and Make. Does anyone know of a guide or howto that would guide me through this process, my worries /question is. Can I be compiled with Dev-C++ version 4.9.7.4 with Mingw included? If yes how to do it. How do I tell Dev-C++ to use such a library? As a newbie, am I over my head here? Lars-Bo |
|
From: Dondolo M. <MDo...@OL...> - 2003-02-05 14:00:35
|
Hi all,
Can anybody tell me what I am doing wrong. I get an error
"aggregate struct dos_date_t today has incomplete type and cannot be
initialised."
can some one please help me reconstruct the syntax
//program displaying the date and time
//
#include<iostream.h>
#include<stdlib.h>
#include<dos.h>
main()
{
struct dos_date_t today;
struct dos_time_t theTime;
dos_getdate( &today );
cout<<"The date is "<<(int)today.month
<<"/"<<(int)today.day<<"/"<<today.year<<"\n";
dos_gettime( &theTime);
cout<<"The time is "<<(int)theTime.hour<<":";
if(theTime.minute<10)
cout<<'0';
cout<<(int)theTime.minute<<":";
if(theTime.seconds<10)
cout<<'0';
cout<<(int)theTime.seconds<<"\n";
system("PAUSE");
return 0;
}
Mpho Dondolo
Support Analyst
CSC Computer Sciences (South Africa) (Pty) Ltd
Tel: +27 21 5030056
Cell: +27 84 3371468
Fax: +27 21 5095619
Email:MDo...@ol...
Email: MDo...@cs...
"How do you claim to have loved,
when you have never loved unconditionally"
|
|
From: Per W. <pw...@ia...> - 2003-02-05 09:20:10
|
It's almost as if you had too long command line, so that it cuts of after a while. The strange thing is that the last file starting with obj/g_ is obj/g_user.o, and that comes quite early in the command line. /Per W On Tue, 4 Feb 2003, Charles Pence wrote: > > Hey everyone. > I just downloaded and set up Dev-C++ (2.95 tools) and got all my SDKs > running through combinations of judicious downloading and dlltool usage. > > But... I'm getting a link error. > Every single .O file compiles perfectly (for an ex-MSVC junkie, I'm > shocked by the number of good warnings that GCC puts out), and then I > get the following when it tries to link: > > Compiler: Default compiler > Building Makefile: "C:\Development\Projects\Scoped\Source\Makefile.win" > Executing make... > make.exe -f "C:\Development\Projects\Scoped\Source\Makefile.win" all > g++.exe obj/zone.o obj/common.o obj/console.o obj/cvar.o obj/draw.o > obj/g_input.o obj/g_main.o obj/g_move.o obj/g_phys.o obj/g_user.o > obj/host.o obj/host_cmd.o obj/in_win.o obj/keys.o obj/mathlib.o > obj/menu.o obj/model.o obj/pr_cmds.o obj/pr_edict.o obj/pr_exec.o > obj/r_light.o obj/r_main.o obj/r_mesh.o obj/r_misc.o obj/r_part.o > obj/r_sky.o obj/r_surf.o obj/sbar.o obj/screen.o obj/snd_al.o > obj/snd_wav.o obj/sys_sdl.o obj/utility.o obj/vid.o obj/vid_ext.o > obj/view.o obj/world.o obj/cmd.o -o "..\Scoped.exe" > -L"C:/DEVELOPMENT/DEV-CPP/lib" -lsdlmain -lsdl -llibopengl32 -llibglu32 > -lglut32 -ldevil -lilu -lilut -I"C:/DEVELOPMENT/DEV-CPP/include" > -I"C:/DEVELOPMENT/DEV-CPP/include" > > G__~1.EXE: obj/g_: No such file or directory > > Execution terminated > > > > Which is really odd, considering I don't __HAVE__ an object named > "obj/g_", but it thinks I do. Anyone know what the deal is? > > Thanks- > > Charles Pence > Lead Programmer > Sidus Studios > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > 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 > ------------ Output from pgp ------------ > gpg: Signature made Wed Feb 5 01:49:02 2003 CET using DSA key ID B2FCC9BE > gpg: Can't check signature: public key not found > WARNING: Can't find the right public key-- can't check signature integrity. > > |
|
From: Jaap de W. <wo...@Ne...> - 2003-02-05 09:17:41
|
> -----Original Message----- > From: Charles Pence [mailto:psy...@pl...] > Sent: Wednesday, February 05, 2003 01:49 AM > To: dev...@li... > Subject: [Dev-C++] Dev-CPP Difficulty > ... > > Which is really odd, considering I don't __HAVE__ an object named > "obj/g_", but it thinks I do. Anyone know what the deal is? > I suppose you have win95 or win98. Then you can not have a command line of greater then 256 characters. You have one, after that the commandline is truncated. You can try to make your own makefile using more lines closed with backslash at the end of each line. > Thanks- > > Charles Pence > Lead Programmer > Sidus Studios > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (MingW32) |
|
From: Louis G. <lg...@ya...> - 2003-02-05 04:02:30
|
Greets List, Here's some information on a modified C++ language that might be of interest to some members: http://www.digitalmars.com/d/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: Danny R. <dro...@ho...> - 2003-02-05 02:51:28
|
Imagine the following, i want to use a button created by CreateWindowEx = and/or a Menu item function to switch between two screens with the purpose to have a main screen and a prefence's screen. = what do i require to do..=20 is it possible to close a current screen and its childs and build again = a new one. or can i only delete the child screens and build new one's in the parent = screen and if so.. how.. i dont require a real source but some directions = would be apreciated. Thanks, Danny Roelofs. |
|
From: Charles P. <psy...@pl...> - 2003-02-05 00:49:13
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey everyone. I just downloaded and set up Dev-C++ (2.95 tools) and got all my SDKs running through combinations of judicious downloading and dlltool usage. But... I'm getting a link error. Every single .O file compiles perfectly (for an ex-MSVC junkie, I'm shocked by the number of good warnings that GCC puts out), and then I get the following when it tries to link: Compiler: Default compiler Building Makefile: "C:\Development\Projects\Scoped\Source\Makefile.win" Executing make... make.exe -f "C:\Development\Projects\Scoped\Source\Makefile.win" all g++.exe obj/zone.o obj/common.o obj/console.o obj/cvar.o obj/draw.o obj/g_input.o obj/g_main.o obj/g_move.o obj/g_phys.o obj/g_user.o obj/host.o obj/host_cmd.o obj/in_win.o obj/keys.o obj/mathlib.o obj/menu.o obj/model.o obj/pr_cmds.o obj/pr_edict.o obj/pr_exec.o obj/r_light.o obj/r_main.o obj/r_mesh.o obj/r_misc.o obj/r_part.o obj/r_sky.o obj/r_surf.o obj/sbar.o obj/screen.o obj/snd_al.o obj/snd_wav.o obj/sys_sdl.o obj/utility.o obj/vid.o obj/vid_ext.o obj/view.o obj/world.o obj/cmd.o -o "..\Scoped.exe" - -L"C:/DEVELOPMENT/DEV-CPP/lib" -lsdlmain -lsdl -llibopengl32 -llibglu32 - -lglut32 -ldevil -lilu -lilut -I"C:/DEVELOPMENT/DEV-CPP/include" - -I"C:/DEVELOPMENT/DEV-CPP/include" G__~1.EXE: obj/g_: No such file or directory Execution terminated Which is really odd, considering I don't __HAVE__ an object named "obj/g_", but it thinks I do. Anyone know what the deal is? Thanks- Charles Pence Lead Programmer Sidus Studios -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+QF9+URbi8LL8yb4RAhuEAJ4tj1xngE9woojF98eu1uyXn/JuPgCfRsnP pLudY6BFcQYF8qzf5i6pH5E= =4CrB -----END PGP SIGNATURE----- |
|
From: Zodiaq <zo...@ac...> - 2003-02-04 22:13:58
|
Hello lamont and all Dev-C++ users, Tuesday, February 4, 2003, 10:35:01 PM, lamont wrote as follows: l> Hello, l> I'm trying to compile some example code and I'm getting the following l> linker errors with Dev c++. l> [Linker error] undefined reference to `GetStockObject@4' l> the code that this refers to is: l> winclass.hbrBackground = (HBRUSH)GetStockObject (WHITE_BRUSH); l> Does anyone know where this function is defined?? I had similar problems l> with the playsound function, but putting "-lwinmm" in the linker options l> fixed this. From Platform SDK: ... Header: Declared in Wingdi.h; include Windows.h. Library: Use Gdi32.lib. -- regards, Zodiaq |
|
From: lamont <lam...@ve...> - 2003-02-04 21:34:41
|
Hello, I'm trying to compile some example code and I'm getting the following linker errors with Dev c++. [Linker error] undefined reference to `GetStockObject@4' the code that this refers to is: winclass.hbrBackground = (HBRUSH)GetStockObject (WHITE_BRUSH); Does anyone know where this function is defined?? I had similar problems with the playsound function, but putting "-lwinmm" in the linker options fixed this. |
|
From: Abhijit S. <mu...@gm...> - 2003-02-04 14:39:12
|
Greets, nmp...@ya... and Lucas. > PS: sorry about changing the title, but I hardly think "DEV-CPP Digest Vol > 1 #1260" was an appropriate one for you question Right you are. About your question, I think the problem is that a lib isn't being linked in; probably the CommonDialog library. Try adding `-lcomdlg32' to the `Linker Parameters' under project options. Also, please don't post so much code; initially, just describe your problem with the error message and maybe a couple of lines of code (the EOTT lines). If someone can't figure it out, you'll be asked to post more code. Thanks. ___________________________________________________________ Abhijit Shylanath mu...@gm... http://mudeth.tripod.com/ |
|
From: Matthew N. <co...@be...> - 2003-02-04 13:49:42
|
Hello List, I don't use c/c++ too often, and when I do, it's in a Unix environement. The software I've written usually just compiles. I've got a simple application that I'm trying to compile on Windows with the Dev-cpp environment (Dev-c++ 5.0 b7, gcc 2.95.3). It uses the PostgreSQL C library called libpq. I seem to be having trouble getting the mingw32 environment set up to compile libpq programs though. For simplicity sake, I'm starting out with a sample program used for explanation at the url: http://www.ca.postgresql.org/docs/aw_pgsql_book/node147.html On Linux I compile the program by doing: cc pg_test.c -o pg_test -lpq However I'm not able to compile to get the same results in devc++. Has anyone had any luck with the postgres client library, and if so, can you ouline the steps you used to set up your environment? Thanks in advance, -- Matthew Nuzum www.bearfruit.org co...@be... |
|
From: Reisenauer <Rei...@on...> - 2003-02-04 13:17:35
|
I have written a programm and it runs without any problems at win = NT/200/XP. But on win98/SE/ME it breaks with error in Kernel32.dll. The Programm starts but if I close a new Window it breaks, the only = function call is the PostQuitMessage. =20 Can someone help me ? |
|
From: Per W. <pw...@ia...> - 2003-02-04 11:28:14
|
You didn't exactly give us any clues as to what your problem is. Note that a number of function calls are only awailable on NT/2000/XP. Unicode, waiting for timers etc are extensions in the NT series of the Win32 API. /Per W On Tue, 4 Feb 2003, Reisenauer wrote: > I have written a programm and it runs without any problems at win NT/200/XP. > But on win98/SE/ME it breaks with error in Kernel32.dll. > Can someone help me ? > > |
|
From: Reisenauer <Rei...@on...> - 2003-02-04 11:14:56
|
I have written a programm and it runs without any problems at win = NT/200/XP. But on win98/SE/ME it breaks with error in Kernel32.dll. Can someone help me ? |
|
From: Lucas K. T. <lk...@bo...> - 2003-02-03 18:29:57
|
Steven, thanks for all your help, I solved my issues already, and I = couldn't load that site you gave.. .well, it did load, but then the = screen would go blank, I dunno what's going on... thanks for your help = though... lkt153 |
|
From: Lucas K. T. <lk...@bo...> - 2003-02-03 11:52:27
|
I looked at your code, and I didn't notice anything wrong with it, well, = that despite the fact, that you dont need to tell the compiler explicit = to sue ANSI APIs, so I'd kill those last A's, although I really don't = know what's going on, you should try it, simply change GetOpenFileNameA = to GetOpenFileName... PS: sorry about changing the title, but I hardly think "DEV-CPP Digest = Vol 1 #1260" was an appropriate one for you question lkt153 |
|
From: <qa...@ho...> - 2003-02-03 10:54:51
|
Hi Michel. On 2003-02-03 at 07:43 Michel Weinachter wrote: >J=F6rgen wrote: > >>Hi >> >>This is what I did today in order to make wxWindows work and compile from >inside Dev-Cpp 4.9.7.4 with MinGW 3.2 >> >>1. Go to http://michel.weinachter.free.fr/ and download the three= packages >>2. Install them with the package manager. >>3. Open the 'WxWindows.template' file in your 'Dev-cpp\Templates' >directory. >>4. Change the line 'Compiler=3D...' to 'CppCompiler=3D...' >> >strange I don't need to change that. I will look that as soon as possible. >Do you use gcc provided by Dev-c++ ? Yes I have the gcc (MinGW) provided by Dev-Cpp If I don't change the line 'Compiler...' to 'CppCompiler...' i get the= following errors -- ERROR --> In file included from D:/Programmering/IDE/Dev-Cpp/include/wx/wxprec.h:13, from main.cpp:21: D:/Programmering/IDE/Dev-Cpp/include/wx/defs.h:174: redeclaration of C++= built-in type `bool' In file included from D:/Programmering/IDE/Dev-Cpp/include/wx/memory.h:20, from D:/Programmering/IDE/Dev-Cpp/include/wx/object.h:25, from D:/Programmering/IDE/Dev-Cpp/include/wx/wx.h:16, from main.cpp:30: D:/Programmering/IDE/Dev-Cpp/include/wx/string.h:164:4: #error "Please= define string case-insensitive compare for your OS/compiler" make.exe: *** [main.o] Error 1 Execution terminated <-- ERROR -- > >>5. Start Dev-Cpp and create a new wxWindow project >(File->New->Project->GUI->WxWindow) >> >>6. The template should now compile without a problem (it did for me) >> >>If you try to compile another sample and get the following resource error >> >>[Resource Error] can't open cursor file `wx/msw/hand.cur': No such file >or directory >> >> >There is no ressource directory file in the template. I should add a >comment in main.cpp for example. This problem frequently appears with >projects imported from VC++. Please do so. >>Get rid of it by setting the path to Dev-Cpp\include directory as a >resource directory (Project->Project Options->Directories->Resource >Directories) >> >>Hope this helps you. >> >>/J=F6rgen >> >> >>*********** REPLY SEPARATOR *********** >> >>On 2003-02-02 at 23:22 sa...@li... wrote: >> >> >> >>>I've tried the template of wxWindows devpack in DevCpp 4.9.7.4 with gcc >>>v2.95 and doesnt work. Also with gcc 3 the same. i've tried an old= devcpp >>>4.9.5.0 updated to 4.9.7.4 but it continues to warn about the debug.h >>>header in the wx include folder. someone has make this template works? >>>with an old version of the ide months ago i've compiled succefully but >now >>>i'm not able to do it again. Why there's such a beautiful feature like >>>vUpdate and it's not updated to working devpacks? >>> >>> >>> >>>------------------------------------------------------- >>>This SF.NET email is sponsored by: >>>SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See! >>>http://www.vasoftware.com >>>_______________________________________________ >>>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 >>> >>> >> >> >> >> >> >>------------------------------------------------------- >>This SF.NET email is sponsored by: >>SourceForge Enterprise Edition + IBM + LinuxWorld =3Domething 2 See! >>http://www.vasoftware.com >>_______________________________________________ >>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 >> >> >> h |
|
From: Michel W. <mic...@fr...> - 2003-02-03 06:43:45
|
Jörgen wrote: >Hi > >This is what I did today in order to make wxWindows work and compile from inside Dev-Cpp 4.9.7.4 with MinGW 3.2 > >1. Go to http://michel.weinachter.free.fr/ and download the three packages >2. Install them with the package manager. >3. Open the 'WxWindows.template' file in your 'Dev-cpp\Templates' directory. >4. Change the line 'Compiler=...' to 'CppCompiler=...' > strange I don't need to change that. I will look that as soon as possible. Do you use gcc provided by Dev-c++ ? >5. Start Dev-Cpp and create a new wxWindow project (File->New->Project->GUI->WxWindow) > >6. The template should now compile without a problem (it did for me) > >If you try to compile another sample and get the following resource error > >[Resource Error] can't open cursor file `wx/msw/hand.cur': No such file or directory > > There is no ressource directory file in the template. I should add a comment in main.cpp for example. This problem frequently appears with projects imported from VC++. >Get rid of it by setting the path to Dev-Cpp\include directory as a resource directory (Project->Project Options->Directories->Resource Directories) > >Hope this helps you. > >/Jörgen > > >*********** REPLY SEPARATOR *********** > >On 2003-02-02 at 23:22 sa...@li... wrote: > > > >>I've tried the template of wxWindows devpack in DevCpp 4.9.7.4 with gcc >>v2.95 and doesnt work. Also with gcc 3 the same. i've tried an old devcpp >>4.9.5.0 updated to 4.9.7.4 but it continues to warn about the debug.h >>header in the wx include folder. someone has make this template works? >>with an old version of the ide months ago i've compiled succefully but now >>i'm not able to do it again. Why there's such a beautiful feature like >>vUpdate and it's not updated to working devpacks? >> >> >> >>------------------------------------------------------- >>This SF.NET email is sponsored by: >>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! >>http://www.vasoftware.com >>_______________________________________________ >>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 >> >> > > > > > >------------------------------------------------------- >This SF.NET email is sponsored by: >SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See! >http://www.vasoftware.com >_______________________________________________ >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 > > > |
|
From: Ioannis V. <no...@ho...> - 2003-02-03 05:35:50
|
-------Original Message-------=0D =0D From: Daniel Glenfield=0D Date: =CA=F5=F1=E9=E1=EA=DE, 2 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 7:5= 1:28 =EC=EC=0D To: no...@ho...; dev...@li...=0D Subject: Re: [Dev-C++] Hoax=0D =0D What is this file for anyway? The teddy logo and filename make it appear suspicious from first appearances.=0D =0D =0D =3D=3D> MS Java Debugger something.=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: <nmp...@ya...> - 2003-02-03 02:41:20
|
Hello to all people how reading these mail please .I
write a programm for Database management and i use
DevCpp the latest version .When i want to create a
dialog box for openingn a file i get a linker error
saying that Undefined reffernce to GetOpenFileName?
The sample code of my application is bellow.
Also i get an error that the struct for the printer
has unknown storage even i have set it with sizeof
please feel free to point out any solutions to my
problem :
LRESULT CALLBACK WndProc(HWND hwnd,UINT msg,WPARAM
wParam,LPARAM lParam){
switch(msg){
case WM_CREATE:{
HMENU hMenu,hSubMenu;
HICON hIcon,hIconSm;
hMenu = CreateMenu();
hSubMenu = CreatePopupMenu();
AppendMenuA(hSubMenu,MF_STRING,ID_DATABASE_Open,"&Open
Database");
AppendMenuA(hSubMenu,MF_STRING,ID_DATABASE_Save,"&Save
Database");
AppendMenuA(hSubMenu,MF_STRING,ID_DATABASE_ReOpen,"&ReOpen
Database");
AppendMenuA(hSubMenu,MF_STRING,ID_DATABASE_Print,"&Print
Results");
AppendMenuA(hSubMenu,MF_STRING,ID_DATABASE_Exit,"&Exit
Application");
AppendMenuA(hMenu,MF_STRING |
MF_POPUP,(UINT)hSubMenu,"&Database");
hSubMenu = CreatePopupMenu();
AppendMenuA(hSubMenu,MF_STRING,ID_TABLE_Create,"&Create
New Table");
AppendMenuA(hSubMenu,MF_STRING,ID_TABLE_Insert,"&Insert
New Data");
AppendMenuA(hSubMenu,MF_STRING,ID_TABLE_Delete,"&Delete
Data from Table");
AppendMenuA(hSubMenu,MF_STRING,ID_TABLE_Update,"&Update
Data in Table");
AppendMenuA(hMenu,MF_STRING |
MF_POPUP,(UINT)hSubMenu,"&Table");
hSubMenu = CreatePopupMenu();
AppendMenuA(hSubMenu,MF_STRING,ID_QUERY_New,"&New
Query");
AppendMenuA(hSubMenu,MF_STRING,ID_QUERY_Show,"&Show
Query");
AppendMenuA(hSubMenu,MF_STRING,ID_QUERY_Sort,"&Short
Query");
AppendMenuA(hSubMenu,MF_STRING,ID_QUERY_History,"&History");
AppendMenuA(hMenu,MF_STRING |
MF_POPUP,(UINT)hSubMenu,"&Query");
hSubMenu = CreatePopupMenu();
AppendMenuA(hSubMenu,MF_STRING,ID_HELP_Help,"&Help");
AppendMenuA(hSubMenu,MF_STRING,ID_HELP_About,"&About");
AppendMenuA(hMenu,MF_STRING |
MF_POPUP,(UINT)hSubMenu,"&Help");
SetMenu(hwnd,hMenu);
hIcon =
LoadImageA(NULL,"menu_two.ico",IMAGE_ICON,32,32,LR_LOADFROMFILE);
if(hIcon){
SendMessageA(hwnd,WM_SETICON,ICON_BIG,(LPARAM)hIcon);
}
else{
MessageBoxA(hwnd,"Couldn't load the
icon","Error",MB_OK | MB_ICONERROR);
}
hIconSm =
LoadImageA(NULL,"menu_two.ico",IMAGE_ICON,16,16,LR_LOADFROMFILE);
if(hIconSm){
SendMessageA(hwnd,WM_SETICON,ICON_SMALL,(LPARAM)hIconSm);
}
else{
MessageBoxA(hwnd,"Couln't load the icon","Error",MB_OK
| MB_ICONERROR);
}
}
break;
case WM_COMMAND:
switch(LOWORD(wParam)){
case
ID_DATABASE_Open:{
OPENFILENAME ofn;
char szFileName[MAX_PATH] = "";
ZeroMemory(&ofn, sizeof(ofn));
ofn.lStructSize = sizeof(OPENFILENAME);
ofn.hwndOwner = hwnd;
ofn.lpstrFilter = "Text Files
(*.txt)\0*.txt\0All Files (*.*)\0*.*\0";
ofn.lpstrFile = szFileName;
ofn.nMaxFile = MAX_PATH;
ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST
| OFN_HIDEREADONLY;
ofn.lpstrDefExt = "txt";
GetOpenFileNameA(&ofn);
if( GetOpenFileNameA(&ofn)){
}
break;
case
ID_DATABASE_Save:{
}
break;
case
ID_DATABASE_ReOpen:
break;
/*case
ID_DATABASE_Print:{
struct PRINTDLGA Printer;
Printer.lStructSize = sizeof(PRINTDLGA);
Printer.hwndOwner = hwnd;
Printer.hDevMode = NULL;
Printer.hDevNames = NULL;
Printer.hDC = NULL;
Printer.Flags = PD_ENABLESETUPTEMPLATE |
PD_ENABLESETUPTEMPLATEHANDLE | PD_NOWARNING |
PD_SELECTION | PD_SHOWHELP;
Printer.nToPage = NULL;
Printer.nMinPage = (UINT) 1;
Printer.nMaxPage = (UINT) 100;
Printer.nCopies = NULL;
Printer.hInstance = NULL;
Printer.lCustData = lParam;
Printer.lpfnPrintHook = NULL;
Printer.lpfnSetupHook = NULL;
PrintDlgA(&(Printer));
}
break;*/
case ID_DATABASE_Exit:
MessageBox(hwnd,"Exit N.M.FoxBase and save
changes to the database?","Information",MB_OK |
MB_ICONINFORMATION);
PostMessageA(hwnd,WM_CLOSE,lParam,wParam);
break;
}
break;
case WM_CLOSE:
DestroyWindow(hwnd);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return
DefWindowProc(hwnd,msg,wParam,lParam);
}
return 0;
}
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
|
|
From: <nmp...@ya...> - 2003-02-03 02:38:34
|
Hello to all people how reading these mail please .I
write a programm for Database management and i use
DevCpp the latest version .When i want to create a
dialog box for openingn a file i get a linker error
saying that Undefined reffernce to GetOpenFileName?
The sample code of my application is bellow.please
feel free to point out any solutions to my problem :
LRESULT CALLBACK WndProc(HWND hwnd,UINT msg,WPARAM
wParam,LPARAM lParam){
switch(msg){
case WM_CREATE:{
HMENU hMenu,hSubMenu;
HICON hIcon,hIconSm;
hMenu = CreateMenu();
hSubMenu = CreatePopupMenu();
AppendMenuA(hSubMenu,MF_STRING,ID_DATABASE_Open,"&Open
Database");
AppendMenuA(hSubMenu,MF_STRING,ID_DATABASE_Save,"&Save
Database");
AppendMenuA(hSubMenu,MF_STRING,ID_DATABASE_ReOpen,"&ReOpen
Database");
AppendMenuA(hSubMenu,MF_STRING,ID_DATABASE_Print,"&Print
Results");
AppendMenuA(hSubMenu,MF_STRING,ID_DATABASE_Exit,"&Exit
Application");
AppendMenuA(hMenu,MF_STRING |
MF_POPUP,(UINT)hSubMenu,"&Database");
hSubMenu = CreatePopupMenu();
AppendMenuA(hSubMenu,MF_STRING,ID_TABLE_Create,"&Create
New Table");
AppendMenuA(hSubMenu,MF_STRING,ID_TABLE_Insert,"&Insert
New Data");
AppendMenuA(hSubMenu,MF_STRING,ID_TABLE_Delete,"&Delete
Data from Table");
AppendMenuA(hSubMenu,MF_STRING,ID_TABLE_Update,"&Update
Data in Table");
AppendMenuA(hMenu,MF_STRING |
MF_POPUP,(UINT)hSubMenu,"&Table");
hSubMenu = CreatePopupMenu();
AppendMenuA(hSubMenu,MF_STRING,ID_QUERY_New,"&New
Query");
AppendMenuA(hSubMenu,MF_STRING,ID_QUERY_Show,"&Show
Query");
AppendMenuA(hSubMenu,MF_STRING,ID_QUERY_Sort,"&Short
Query");
AppendMenuA(hSubMenu,MF_STRING,ID_QUERY_History,"&History");
AppendMenuA(hMenu,MF_STRING |
MF_POPUP,(UINT)hSubMenu,"&Query");
hSubMenu = CreatePopupMenu();
AppendMenuA(hSubMenu,MF_STRING,ID_HELP_Help,"&Help");
AppendMenuA(hSubMenu,MF_STRING,ID_HELP_About,"&About");
AppendMenuA(hMenu,MF_STRING |
MF_POPUP,(UINT)hSubMenu,"&Help");
SetMenu(hwnd,hMenu);
hIcon =
LoadImageA(NULL,"menu_two.ico",IMAGE_ICON,32,32,LR_LOADFROMFILE);
if(hIcon){
SendMessageA(hwnd,WM_SETICON,ICON_BIG,(LPARAM)hIcon);
}
else{
MessageBoxA(hwnd,"Couldn't load the
icon","Error",MB_OK | MB_ICONERROR);
}
hIconSm =
LoadImageA(NULL,"menu_two.ico",IMAGE_ICON,16,16,LR_LOADFROMFILE);
if(hIconSm){
SendMessageA(hwnd,WM_SETICON,ICON_SMALL,(LPARAM)hIconSm);
}
else{
MessageBoxA(hwnd,"Couln't load the icon","Error",MB_OK
| MB_ICONERROR);
}
}
break;
case WM_COMMAND:
switch(LOWORD(wParam)){
case
ID_DATABASE_Open:{
OPENFILENAME ofn;
char szFileName[MAX_PATH] = "";
ZeroMemory(&ofn, sizeof(ofn));
ofn.lStructSize = sizeof(OPENFILENAME);
ofn.hwndOwner = hwnd;
ofn.lpstrFilter = "Text Files
(*.txt)\0*.txt\0All Files (*.*)\0*.*\0";
ofn.lpstrFile = szFileName;
ofn.nMaxFile = MAX_PATH;
ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST
| OFN_HIDEREADONLY;
ofn.lpstrDefExt = "txt";
GetOpenFileNameA(&ofn);
if( GetOpenFileNameA(&ofn)){
}
break;
case
ID_DATABASE_Save:{
}
break;
case
ID_DATABASE_ReOpen:
break;
/*case
ID_DATABASE_Print:{
struct PRINTDLGA Printer;
Printer.lStructSize = sizeof(PRINTDLGA);
Printer.hwndOwner = hwnd;
Printer.hDevMode = NULL;
Printer.hDevNames = NULL;
Printer.hDC = NULL;
Printer.Flags = PD_ENABLESETUPTEMPLATE |
PD_ENABLESETUPTEMPLATEHANDLE | PD_NOWARNING |
PD_SELECTION | PD_SHOWHELP;
Printer.nToPage = NULL;
Printer.nMinPage = (UINT) 1;
Printer.nMaxPage = (UINT) 100;
Printer.nCopies = NULL;
Printer.hInstance = NULL;
Printer.lCustData = lParam;
Printer.lpfnPrintHook = NULL;
Printer.lpfnSetupHook = NULL;
PrintDlgA(&(Printer));
}
break;*/
case ID_DATABASE_Exit:
MessageBox(hwnd,"Exit N.M.FoxBase and save
changes to the database?","Information",MB_OK |
MB_ICONINFORMATION);
PostMessageA(hwnd,WM_CLOSE,lParam,wParam);
break;
}
break;
case WM_CLOSE:
DestroyWindow(hwnd);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return
DefWindowProc(hwnd,msg,wParam,lParam);
}
return 0;
}
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
|
|
From: <qa...@ho...> - 2003-02-02 23:20:42
|
Hi This is what I did today in order to make wxWindows work and compile from= inside Dev-Cpp 4.9.7.4 with MinGW 3.2 1. Go to http://michel.weinachter.free.fr/ and download the three packages 2. Install them with the package manager. 3. Open the 'WxWindows.template' file in your 'Dev-cpp\Templates'= directory. 4. Change the line 'Compiler=3D...' to 'CppCompiler=3D...' 5. Start Dev-Cpp and create a new wxWindow project= (File->New->Project->GUI->WxWindow) 6. The template should now compile without a problem (it did for me) If you try to compile another sample and get the following resource error [Resource Error] can't open cursor file `wx/msw/hand.cur': No such file or= directory Get rid of it by setting the path to Dev-Cpp\include directory as a= resource directory (Project->Project Options->Directories->Resource= Directories) Hope this helps you. /J=F6rgen *********** REPLY SEPARATOR *********** On 2003-02-02 at 23:22 sa...@li... wrote: >I've tried the template of wxWindows devpack in DevCpp 4.9.7.4 with gcc >v2.95 and doesnt work. Also with gcc 3 the same. i've tried an old devcpp >4.9.5.0 updated to 4.9.7.4 but it continues to warn about the debug.h >header in the wx include folder. someone has make this template works? >with an old version of the ide months ago i've compiled succefully but now >i'm not able to do it again. Why there's such a beautiful feature like >vUpdate and it's not updated to working devpacks? > > > >------------------------------------------------------- >This SF.NET email is sponsored by: >SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See! >http://www.vasoftware.com >_______________________________________________ >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 |
|
From: =?iso-8859-1?Q?<sa...@li...> - 2003-02-02 22:22:25
|
I've tried the template of wxWindows devpack in DevCpp 4.9.7.4 with gcc v= 2.95 and doesnt work. Also with gcc 3 the same. i've tried an old devcpp = 4.9.5.0 updated to 4.9.7.4 but it continues to warn about the debug.h hea= der in the wx include folder. someone has make this template works? with = an old version of the ide months ago i've compiled succefully but now i'm= not able to do it again. Why there's such a beautiful feature like vUpda= te and it's not updated to working devpacks? |