dev-cpp-users Mailing List for Dev-C++ (Page 486)
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: Ioannis V. <no...@ho...> - 2002-11-14 03:30:21
|
Yes i had the same kind of problems. Also the list would also unsubscribe me by its free will. :) Well be patient, and then the problems will move to someone else down the hall. :) Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Matthews > Sent: Wednesday, November 13, 2002 11:00 PM > To: dev...@li... > Subject: [Dev-C++] List problems > > > I've been having some trouble with the mailing recently. I know of at > least four messages that I have not recieved, and I only have > seen them > because someone else has replied to them (their's shows up.) > I did not > receive the Borland c++ compiler question, the "please unsubscribe" > request, zodiaq's response to this and the "free windows programming > bibliography" question. Is this because I'm not in digest > mode? Any help? > > ps. I'm also wondering if my mail is getting out. The other > times I've > sent questions, there's always been answers within a day. I > sent out my > second SDL error message about five days ago or something > like that. Just > in case: > ----- > Hmm, I added all those options to my linker (-lsdl -lsdlmain > -lmingw32) and > I still have the same error (Unknows reference to > `WinMain@16'). I'm also > compiling as a windows app, with the "int argc, char *argv[]" that's > required, and I've included the -mwindows tag in the linker > command line. > ---- > > |
|
From: Yeoh H. <ye...@ye...> - 2002-11-14 02:41:37
|
Hi Antonio, This is a response to your first question. Yes, Dev-C++ can be used to access many types of databases. Here's a general how-to approach, direct without using ODBC, that is, using the client's API. 1. Download the database and any client libraries (both source and binaries) from the database's website. For example, my latest R & D is on using SQLite, a cross-platform embeddable SQL database. http://www.sqlite.org 2. See if there are any DLLs (pre-compiled binaries), the required header file or files and any .def files. Look in the samples or test folder. Usually there are simple source that tells you which header files are required. Also, look in the folder which contains the header files to locate the required header files. 3. From the provided DLL, you need to create a library file with .a extension. Use the dlltool.exe. This program comes with Dev-C++. For example: dlltool -Dsqlite.dll -dsqlite.def -llibsqlite.a 4. Once you have this .a file, the .h file and the .dll file, you're ready to write client programs to "talk" with the database server. You then copy this .a file into your Dev-C++'s lib directory. Copy the .h file or files into the Dev-C++'s include directory. Copy the .dll into the Windows system directory. 5. Create a new Dev-C++ project. Try to find the simplest example code in the source distribution. Study the example makefile or project file. Get an idea of which defines and/or compiler switches are required. Modify/add these defines to your project file. Remove the default template code and insert the sample code. Try to compile. Notes: If the above .a file does not work or if there is no .def file, you'll need to create a .def file: This is from the MinGW FAQ: <begin extract> However, for __stdcall functions, the above method does not work. For MSVC will prefix an underscore to __stdcall functions while MinGW will not. The right way is to produce the DEF file using the pexports tool from http://www.is.lg.ua/~paul/devel/binutils.html and filter off the first underscore by sed: pexports testdll.dll | sed "s/^_//" > testdll.def Then, when using dlltool to produce the import library, add `-U' to the command line: dlltool -U -d testdll.def -l libtestdll.a <end extract> This approach I've described works for DLLs written in C, i.e. __cdecl functions. It works for MySQL's DLL and also SQLite's DLL. Instead of using the provided DLL, if you want to static link, you'll need to compile the client library source. It can be simple or complicated depending on the source. You can also try to compile a DLL using the client library source. For SQLite, the static lib is very simple to create. Use Dev-C++ to create a new project for Static Library, select C Project, then insert the SQLite C source codes. Compile and the .a file is generated. For MySQL, I've not done it. Someday I'll try to allocate some time to do it and only if I feel brave enough to try to debug compile time errors. :-) There used to be pre-compiled .a libs for MySQL from Johnny Dog website but the last time I checked the site was down. I hope this helps. Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ |
|
From: Steve M. <sam...@so...> - 2002-11-14 01:17:17
|
> If I load just the file with this little program, all goes well. > But if I load a project with just this file in it compiling stops. > The results are: > Compile Log: > Building Makefile: "C\Dev-Cpp\myprog\Makefile.win"=3D20 > Executing make... > make.exe -| "C:\Dev-Cpp\myprog\Makefile.win" all=3D20 > g++.exe -c main.cpp -o main.0 -|"C:/DEV-CPP/include" =3D > -|"C:/DEV-CPP/include/g++ -3" > -|"C:/DEV-CPP/include" -s > Total errors: 0 > After that on anything I do I either get :"file not compiled" or =3D > "allredy compiling" > Soon after that my computer crashes. I had this same type of problem. If you are running Norton Anti-Virus, = try disabling it. That fixed my problem. Steve |
|
From: Per W. <pw...@ia...> - 2002-11-14 00:41:43
|
Who is the unlucky guy working at TFS Technology - or having an email address there? The mail below bounced back for improper Content Type. Since TFS Technology seems to specialize in secure messaging and Content Filtering, it seems a bit ridiculous that 'nice function to look at' is considered (insert suitable unmentionable word here). Since english isn't my native language - is there anyone else on the list who can find any words in the mail that should trigger content filtering? I didn't even find the word software :-) /Per W On Wed, 13 Nov 2002, Per Westermark wrote: > SetThreadPriority is also a nice function to look at. > > /Per W > > On Wed, 13 Nov 2002, Anders Eriksson wrote: > > > Hello Scott, > > > > Wednesday, November 13, 2002, 9:46:27 PM, you wrote: > > > > SW> Thanks for the reply. This is probably naive but I've tried to find "Win32 > > SW> API" in the DevCpp help and a C Library Reference Guide but to no avail. Is > > SW> this in a header file? I found a w32api.h file but nothing there about > > SW> SetPriorityClass. > > > > If you use the Tools - Check for Update/Packages, in Dev-Cpp. > > > > Press Start for vUpdate to check what's new. You will now get a list > > of all new modules and among them you will find help files for Dev-Cpp > > and a Win32 API reference. Select these, and press Download. If > > everything works then the Package Manager will start. You can now > > install the Win32 API reference (or maybe it will be automatically > > installed, can't remember). > > > > To Install a downloaded package you select Install ;-) > > You will now be asked for a package. The downloaded Pagages are in the > > Dev-Cpp\DevPaks directory. Select the Win32API.DevPak and Press Open > > and go through the installation wizard. When the installation finishes > > you will have a new submenu under Help - Win32.hlp > > > > The SetPriorityClass is in winbase.h/kernel32.lib so you need to add > > these to your project. > > > > The vUpdate server seems to be down at the moment, or maybe I have > > some error in my Internet connection .... > > > > -- > > Best regards, > > Anders mailto:am...@sw... > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Are you worried about > > your web server security? Click here for a FREE Thawte > > Apache SSL Guide and answer your Apache SSL security > > needs: http://www.gothawte.com/rd523.html > > _______________________________________________ > > 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: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > _______________________________________________ > 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: Piotr P. <pi...@wi...> - 2002-11-13 22:19:40
|
Hello CRV§ADER, Wednesday, November 13, 2002, 7:04:37 PM, you wrote: CK> I've got Dev-C++ 4.9.6.8 (4.9.6.0 with included gcc 2.95.3-6 + devcppexe CK> 2.1042) and I'm trying to use the GTK+ DevPak. CK> However, when I pass to compiler options: CK> `pkg-config --cflags --libs gtk+-2.0` CK> i get CK> gcc.exe -c GTK-test.c -o GTK-test.o -I"C:/PRG/DEV-CPP/include" `pkg-config CK> --cflags --libs gtk+-2.0` -pg -s CK> GCC.EXE: cannot specify -o with -c or -S and multiple compilations CK> while if I run gcc from the shell (from my project folder), i get CK> >gcc gtk-test.c -o gtk-test.exe 'pkg-config --cflags --libs gtk+-2.0' CK> GCC.EXE: 'pkg-config: No such file or directory CK> GCC.EXE: gtk+-2.0': No such file or directory CK> gtk-test.c:1: gtk.h: No such file or directory CK> however, If I run pkg-config (from any dir) I obtain what's expected: CK> And in fact, in PATH I have c:\prg\dev-cpp\bin. CK> Where's the problem? The problem is i think that ms dos(and windows thou) do not accept unix (or bash or whaterver) construction: command1 `command2` which puts output of command2 as command line options for command1. the solution can be just to paste output from pkg-config to Project/ProjectOptions/General and put in compiler options part concerning includes and in linker options part concerning libs then make a template from that (I don't know why there is no template in GTK DevPack i consider it a bug especially pkg-config does not work like it should and the second bug is GTK runtime wants to install itself to dev-c++ directory and it should be dev-cpp now) BTW: Is this the right place to send bugs ? if not where to send them to get at least short reply like "ok we get it . we will remember about it" ? i changed output form pkg-config a bit not to use paths like "c:\something\something\dev-cpp\" i used <INCLUDE> but i have no idea how to solve this i a proper way: compiler options: -I<INCLUDE>/gtk-2.0 -I<INCLUDE>/../lib/gtk-2.0/include -I<INCLUDE>/atk-1.0 -I<INCLUDE>/pango-1.0 -I<INCLUDE>/glib-2.0 -I<INCLUDE>/../lib/glib-2.0/include linker options: -lgtk-win32-2.0 -lgdk-win32-2.0 -limm32 -lshell32 -lole32 -luuid -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lwsock32 -- Best regards, Piotr mailto:pi...@wi... |
|
From: Per W. <pw...@ia...> - 2002-11-13 22:10:34
|
Early betas did this a lot for me. I had to kill Dev-C++, go to the task
manager and manually kill the gcc process and then restart Dev-C++ again.
I don't see it that often now. Don't know if problem is reduced with later
betas, or if it is because I have changed to WinXp.
However, I have had it once or twice with latest Dev-C++ and WinXP too.
It seems to be some timing problem in the Dev-C++ code, where the
make process starts too fast or too slow or whatever. Dev-C++ starts to
consume all available CPU - looks like it is busy-waiting for the
compiler. However, the compiler never finishes, it just hangs there until
killed.
/Per W
On Wed, 13 Nov 2002, Oroszi Bal=E1zs wrote:
> Hello!
>=20
> Tuesday, November 12, 2002, 11:27:00 PM, Wobien wrote:
>=20
> W> Hello,
> W> I just downloaded and installed Dev-C++
> W> I have a problem compiling files, even the simplest you can think of.
> W> For example:
>=20
> W> #include <iostream>
> W> #include <stdlib.h>
>=20
> W> int main()
> W> {
> W> cout << "Hello\n";
> W> system("PAUSE");=20
> W> return 0;
> W> }
>=20
> W> If I load just the file with this little program, all goes well.
> W> But if I load a project with just this file in it compiling stops.
> W> The results are:
>=20
> W> Compile Log:
> W> Building Makefile: "C\Dev-Cpp\myprog\Makefile.win"=20
> W> Executing make...
> W> make.exe -| "C:\Dev-Cpp\myprog\Makefile.win" all=20
> W> g++.exe -c main.cpp -o main.0 -|"C:/DEV-CPP/include" -|"C:/DEV-CPP/inc=
lude/g++ -3"
> W> -|"C:/DEV-CPP/include" -s
>=20
> W> Total errors: 0
>=20
> W> After that on anything I do I either get :"file not compiled" or "allr=
edy compiling"
> W> Soon after that my computer crashes.
>=20
> Well, actually I had the same problem sometimes. The compilation goes
> on awfully slowly, or it is hanged. It think the problem is with gcc
> or make. And really, soon after this my computer crashed too.
>=20
> Actually this only happened a few times so far, so it is not a problem
> for me, but if anyone encountered this, and knows why is this
> happening, I would be glad to hear that.
>=20
> --=20
> Best regards,
> Oroszi Bal=E1zs mailto:or...@vp...
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This sf.net email is sponsored by: Are you worried about=20
> your web server security? Click here for a FREE Thawte=20
> Apache SSL Guide and answer your Apache SSL security=20
> needs: http://www.gothawte.com/rd523.html
> _______________________________________________
> 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
|
|
From: Scott W. <se...@al...> - 2002-11-13 22:08:21
|
Thanks. Don't I feel silly--didn't think about checking the DevPacks. I've glanced over the list on vUpdate from time to time but none seemed to apply to good ole basic number crunching type programming so I hadn't paid much heed. Forgot that Win API was on the list. Scott -----Original Message----- From: Anders Eriksson [mailto:am...@sw...] Sent: Wednesday, November 13, 2002 4:19 PM To: dev...@li...; Scott Williams Cc: DevCpp UserList Subject: Re[2]: [Dev-C++] Controlling Process Priority Hello Scott, Wednesday, November 13, 2002, 9:46:27 PM, you wrote: SW> Thanks for the reply. This is probably naive but I've tried to find "Win32 SW> API" in the DevCpp help and a C Library Reference Guide but to no avail. Is SW> this in a header file? I found a w32api.h file but nothing there about SW> SetPriorityClass. If you use the Tools - Check for Update/Packages, in Dev-Cpp. Press Start for vUpdate to check what's new. You will now get a list of all new modules and among them you will find help files for Dev-Cpp and a Win32 API reference. Select these, and press Download. If everything works then the Package Manager will start. You can now install the Win32 API reference (or maybe it will be automatically installed, can't remember). To Install a downloaded package you select Install ;-) You will now be asked for a package. The downloaded Pagages are in the Dev-Cpp\DevPaks directory. Select the Win32API.DevPak and Press Open and go through the installation wizard. When the installation finishes you will have a new submenu under Help - Win32.hlp The SetPriorityClass is in winbase.h/kernel32.lib so you need to add these to your project. The vUpdate server seems to be down at the moment, or maybe I have some error in my Internet connection .... -- Best regards, Anders mailto:am...@sw... |
|
From: Per W. <pw...@ia...> - 2002-11-13 22:05:00
|
SetThreadPriority is also a nice function to look at. /Per W On Wed, 13 Nov 2002, Anders Eriksson wrote: > Hello Scott, > > Wednesday, November 13, 2002, 9:46:27 PM, you wrote: > > SW> Thanks for the reply. This is probably naive but I've tried to find "Win32 > SW> API" in the DevCpp help and a C Library Reference Guide but to no avail. Is > SW> this in a header file? I found a w32api.h file but nothing there about > SW> SetPriorityClass. > > If you use the Tools - Check for Update/Packages, in Dev-Cpp. > > Press Start for vUpdate to check what's new. You will now get a list > of all new modules and among them you will find help files for Dev-Cpp > and a Win32 API reference. Select these, and press Download. If > everything works then the Package Manager will start. You can now > install the Win32 API reference (or maybe it will be automatically > installed, can't remember). > > To Install a downloaded package you select Install ;-) > You will now be asked for a package. The downloaded Pagages are in the > Dev-Cpp\DevPaks directory. Select the Win32API.DevPak and Press Open > and go through the installation wizard. When the installation finishes > you will have a new submenu under Help - Win32.hlp > > The SetPriorityClass is in winbase.h/kernel32.lib so you need to add > these to your project. > > The vUpdate server seems to be down at the moment, or maybe I have > some error in my Internet connection .... > > -- > Best regards, > Anders mailto:am...@sw... > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > _______________________________________________ > 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: Matthews <dem...@uw...> - 2002-11-13 22:01:55
|
I've been having some trouble with the mailing recently. I know of at least four messages that I have not recieved, and I only have seen them because someone else has replied to them (their's shows up.) I did not receive the Borland c++ compiler question, the "please unsubscribe" request, zodiaq's response to this and the "free windows programming bibliography" question. Is this because I'm not in digest mode? Any help? ps. I'm also wondering if my mail is getting out. The other times I've sent questions, there's always been answers within a day. I sent out my second SDL error message about five days ago or something like that. Just in case: ----- Hmm, I added all those options to my linker (-lsdl -lsdlmain -lmingw32) and I still have the same error (Unknows reference to `WinMain@16'). I'm also compiling as a windows app, with the "int argc, char *argv[]" that's required, and I've included the -mwindows tag in the linker command line. ---- |
|
From: Anders E. <am...@sw...> - 2002-11-13 21:26:00
|
Hello Manuel, Wednesday, November 13, 2002, 10:08:17 PM, you wrote: MB> Hi, MB> I have got installed Dev-C++ 4.9.6.0 and Insight5 (20001125-1) for windows MB> 98/NT. MB> I have a couple of troubles: MB> * When I try to go to updates (Tools->Updates), inside Vupdate MB> application I got the message: "Error: your devcpp.cfg file is missing" but MB> the devcpp.cfg file is in the Dev-Cpp directory. How could I solve this MB> problem? Do you have Windows NT 4? If so then there is a BUG in vUpdate.exe which makes it impossible to use. I have reported the bug, but I'm not sure if there has been an update. -- Best regards, Anders mailto:am...@sw... |
|
From: Anders E. <am...@sw...> - 2002-11-13 21:19:02
|
Hello Scott, Wednesday, November 13, 2002, 9:46:27 PM, you wrote: SW> Thanks for the reply. This is probably naive but I've tried to find "Win32 SW> API" in the DevCpp help and a C Library Reference Guide but to no avail. Is SW> this in a header file? I found a w32api.h file but nothing there about SW> SetPriorityClass. If you use the Tools - Check for Update/Packages, in Dev-Cpp. Press Start for vUpdate to check what's new. You will now get a list of all new modules and among them you will find help files for Dev-Cpp and a Win32 API reference. Select these, and press Download. If everything works then the Package Manager will start. You can now install the Win32 API reference (or maybe it will be automatically installed, can't remember). To Install a downloaded package you select Install ;-) You will now be asked for a package. The downloaded Pagages are in the Dev-Cpp\DevPaks directory. Select the Win32API.DevPak and Press Open and go through the installation wizard. When the installation finishes you will have a new submenu under Help - Win32.hlp The SetPriorityClass is in winbase.h/kernel32.lib so you need to add these to your project. The vUpdate server seems to be down at the moment, or maybe I have some error in my Internet connection .... -- Best regards, Anders mailto:am...@sw... |
|
From: Manuel B. <ba...@un...> - 2002-11-13 21:05:40
|
Hi,
I have got installed Dev-C++ 4.9.6.0 and Insight5 (20001125-1) for windows
98/NT.
I have a couple of troubles:
* When I try to go to updates (Tools->Updates), inside Vupdate
application I got the message: "Error: your devcpp.cfg file is missing" but
the devcpp.cfg file is in the Dev-Cpp directory. How could I solve this
problem?
* I am trying to debug a program, I load the project and after I select
Debugging (F8) I am sent to Insight. The first screen there is empty (it
shoud load in an automatic way the program to debugg, I think), so I have to
load manually the .exe file to debugg, but now I do not find any place to
write the parameters to the program, does anybody know how to tell the
debugger the list of parameters to the program?
Thanks a lot.
|
|
From: Scott W. <se...@al...> - 2002-11-13 20:45:42
|
Thanks for the reply. This is probably naive but I've tried to find "Win32 API" in the DevCpp help and a C Library Reference Guide but to no avail. Is this in a header file? I found a w32api.h file but nothing there about SetPriorityClass. Scott -----Original Message----- From: Anders Eriksson [mailto:am...@sw...] Sent: Wednesday, November 13, 2002 3:11 PM To: dev...@li...; Scott Williams Cc: DevCpp UserList Subject: Re: [Dev-C++] Controlling Process Priority Hello Scott, Wednesday, November 13, 2002, 6:41:39 PM, you wrote: SW> Hi, SW> I can, of course, manually set the priority to Low via the Win2K Task SW> Manager but a) the setting resets to normal every time I launch another SW> application and b) I'm lazy and would prefer to have the program run in low SW> priority by default. So, I'm wondering if there's a way to compile the SW> program to have "Low" priority from the get-go. Look up the Win32 API: SetPriorityClass -- Best regards, Anders mailto:am...@sw... |
|
From: Anders E. <am...@sw...> - 2002-11-13 20:26:18
|
Hello Scott, Wednesday, November 13, 2002, 6:41:39 PM, you wrote: SW> Hi, SW> I can, of course, manually set the priority to Low via the Win2K Task SW> Manager but a) the setting resets to normal every time I launch another SW> application and b) I'm lazy and would prefer to have the program run in low SW> priority by default. So, I'm wondering if there's a way to compile the SW> program to have "Low" priority from the get-go. Look up the Win32 API: SetPriorityClass -- Best regards, Anders mailto:am...@sw... |
|
From: Louis G. <lg...@ya...> - 2002-11-13 19:23:00
|
Hi all, I'm running DevC++ 4.9.6.0 and it works great but after checking all the \DevC++\include\*.h files I notice the *.h files don't contain references the GNU C lib functions like getline() and getdelim(). Does anyone know how I can add the GNU C lib functions to DevC++ 4.9.6.0 ? Any help would be appreciated. __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 |
|
From: Naveen <pn...@ze...> - 2002-11-13 19:10:42
|
Hello Eric, Thanks for your reply, > Have I missed something, or is this a variant question to what I asked when > I was doing C++ classes and asked one group "Can you for example take a > header file from Microsoft C++ program (we have at school) and put it into > Borland program (I have at home) and run it" to get my homework to work, the > answer I got was "NO you can not" I agree that you can not compile MSC program in BC++ or in gcc. I would like to say Dev c++ being good IDE for C++(Now it has autocomplete also, in which I was expecting from long time), also You can change the Complier to MingW or gcc. But its task of developer to write appropreate code which compiles in particular compiler(I am talking about only c++ compilers). In some editors like EditPlus we can configure BC++ to compile the project. I think its not big deal where you can have you own compiler provided the option is given in Dev c++ IDE. with regards Naveen |
|
From: /KY <cru...@in...> - 2002-11-13 18:06:31
|
I've got Dev-C++ 4.9.6.8 (4.9.6.0 with included gcc 2.95.3-6 + devcppexe=20
2.1042) and I'm trying to use the GTK+ DevPak.
However, when I pass to compiler options:
`pkg-config --cflags --libs gtk+-2.0`
i get
gcc.exe -c GTK-test.c -o GTK-test.o -I"C:/PRG/DEV-CPP/include" `pkg-config=
=20
--cflags --libs gtk+-2.0` -pg -s
GCC.EXE: cannot specify -o with -c or -S and multiple compilations
while if I run gcc from the shell (from my project folder), i get
>gcc gtk-test.c -o gtk-test.exe 'pkg-config --cflags --libs gtk+-2.0'
GCC.EXE: 'pkg-config: No such file or directory
GCC.EXE: gtk+-2.0': No such file or directory
gtk-test.c:1: gtk.h: No such file or directory
however, If I run pkg-config (from any dir) I obtain what's expected:
>pkg-config --cflags --libs gtk+-2.0
-IC:/PRG/DEV-CPP/include/gtk-2.0 -IC:/PRG/DEV-CPP/lib/gtk-2.0/include=20
-IC:/PRG/
DEV-CPP/include/atk-1.0 -IC:/PRG/DEV-CPP/include/pango-1.0=20
-IC:/PRG/DEV-CPP/incl
ude/glib-2.0 -IC:/PRG/DEV-CPP/lib/glib-2.0/include -LC:/PRG/DEV-CPP/lib=20
-lgtk-
win32-2.0 -lgdk-win32-2.0 -limm32 -lshell32 -lole32 -luuid -latk-1.0=20
-lgdk_pixbu
f-2.0 -lm -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0=
=20
-lgli
b-2.0 -lintl -liconv
And in fact, in PATH I have c:\prg\dev-cpp\bin.
Where's the problem?
Guido Imperiale
cru...@in...
-------------------------------
CRV=A7ADER/KY
KnowledgE is PoweR
|
|
From: Scott W. <se...@al...> - 2002-11-13 17:41:00
|
Hi, I'm building a Windows console application in C (my OS is Win2k and I have DevCpp 4.9.6.8). The application is computationally intensive so dominates CPU usage when run. By default, the program compiles to an executable with "Normal" priority and so leads to sluggish performance while running (typically several hours for each data set). I can, of course, manually set the priority to Low via the Win2K Task Manager but a) the setting resets to normal every time I launch another application and b) I'm lazy and would prefer to have the program run in low priority by default. So, I'm wondering if there's a way to compile the program to have "Low" priority from the get-go. I understand this could be purely an OS side-of-the-fence deal but thought I'd ask here in case it can be controlled from within DevCpp. Thanks. Scott |
|
From: Eric R. <e.r...@pa...> - 2002-11-13 17:28:24
|
I have a Pentium 2, 223MHz? there abouts, DEV-C++ 4.9.6.8
and it compiled and run no trouble.
From Eric
NO ATTACHMENT WAS SENT WITH THIS EMAIL,
IF THERE IS ONE, IT IS A UNDETECTED VIRUS, PLEASE LET ME KNOW..
Black text on white background HTML Emails I get, are replied with white
text on white.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Oroszi
Balázs
Sent: 14 November 2002 03:35
To: dev...@li...
Subject: Re: [Dev-C++] Compile
Hello!
Tuesday, November 12, 2002, 11:27:00 PM, Wobien wrote:
W> Hello,
W> I just downloaded and installed Dev-C++
W> I have a problem compiling files, even the simplest you can think of.
W> For example:
W> #include <iostream>
W> #include <stdlib.h>
W> int main()
W> {
W> cout << "Hello\n";
W> system("PAUSE");
W> return 0;
W> }
W> If I load just the file with this little program, all goes well.
W> But if I load a project with just this file in it compiling stops.
W> The results are:
W> Compile Log:
W> Building Makefile: "C\Dev-Cpp\myprog\Makefile.win"
W> Executing make...
W> make.exe -| "C:\Dev-Cpp\myprog\Makefile.win" all
W> g++.exe -c main.cpp -o
main.0 -|"C:/DEV-CPP/include" -|"C:/DEV-CPP/include/g++ -3"
W> -|"C:/DEV-CPP/include" -s
W> Total errors: 0
W> After that on anything I do I either get :"file not compiled" or "allredy
compiling"
W> Soon after that my computer crashes.
Well, actually I had the same problem sometimes. The compilation goes
on awfully slowly, or it is hanged. It think the problem is with gcc
or make. And really, soon after this my computer crashed too.
Actually this only happened a few times so far, so it is not a problem
for me, but if anyone encountered this, and knows why is this
happening, I would be glad to hear that.
--
Best regards,
Oroszi Balázs mailto:or...@vp...
-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
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
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/02
|
|
From: <or...@vp...> - 2002-11-13 15:01:59
|
Hello again! I encountered a bug, or something like that in Dev-C++. I have MinGW 2.0.0-3 (gcc 3.2) and Dev-C++ 4.9.6.8. I don't want Dev-C++ to link any kind of libraries to my program, so I don't need the -L"dir" flag for the linker, and I don't need any include files, so I don't need the -I"dir" flag for the compiler. I also have the gcc/bin directory in the PATH environment var, so I wouldn't even need to specify the compiler (binaries) directory. But in Dev-C++ under Tools->Compiler Options->Directories tab I need to specify directories, and I cannot press OK, until I don't set the directory for the binaries. So I need to set it, but I removed everything from the other (Libraries, C Includes, C++ Includes) tabs. After this when I start the compilation, I get the following error message from Dev-C++ in a message box: /-------------------------------------------------------\ | Oops! x | |-------------------------------------------------------| | An unexpected error has occured in the application... | | | | Address: 0x0041F68D | | Error message: List index out of bounds (0) | | | |-------------------------------------------------------| | |View bug report| |Send bug report| |Continue| ... | \-------------------------------------------------------/ The bug report sais: Stack trace: ------------ 00568AC6 (00167AC6): ShowExceptionInfo (ExceptionsAnalyzer - 523) 00568B8B (00167B8B): TExceptionsAnalyzer.GlobalExceptionHandler (ExceptionsAnalyzer - 531) 0054BDE9 (0014ADE9): ParseMacros (Macros - 50) 0054E151 (0014D151): TCompiler.GetCompileParams (compiler - 543) 0054E399 (0014D399): TCompiler.Compile (compiler - 579) 0054ECFA (0014DCFA): TCompiler.CompileAndRun (compiler - 697) 005435F6 (001425F6): TMainForm.actCompRunExecute (main - 3339) 0056A26E (0016926E): (devcpp - 120) 0056A289 (00169289): (devcpp - 120) 00569F44 (00168F44): (devcpp - 82) So my question is: how can I tell Dev-C++ not to send the -L and -I flags to the compiler globally. -- Best regards, Oroszi Balázs mailto:or...@vp... P.S.: Does the msgbox look good? :) |
|
From: <or...@vp...> - 2002-11-13 14:40:44
|
Hello!
Tuesday, November 12, 2002, 11:27:00 PM, Wobien wrote:
W> Hello,
W> I just downloaded and installed Dev-C++
W> I have a problem compiling files, even the simplest you can think of.
W> For example:
W> #include <iostream>
W> #include <stdlib.h>
W> int main()
W> {
W> cout << "Hello\n";
W> system("PAUSE");
W> return 0;
W> }
W> If I load just the file with this little program, all goes well.
W> But if I load a project with just this file in it compiling stops.
W> The results are:
W> Compile Log:
W> Building Makefile: "C\Dev-Cpp\myprog\Makefile.win"
W> Executing make...
W> make.exe -| "C:\Dev-Cpp\myprog\Makefile.win" all
W> g++.exe -c main.cpp -o main.0 -|"C:/DEV-CPP/include" -|"C:/DEV-CPP/include/g++ -3"
W> -|"C:/DEV-CPP/include" -s
W> Total errors: 0
W> After that on anything I do I either get :"file not compiled" or "allredy compiling"
W> Soon after that my computer crashes.
Well, actually I had the same problem sometimes. The compilation goes
on awfully slowly, or it is hanged. It think the problem is with gcc
or make. And really, soon after this my computer crashed too.
Actually this only happened a few times so far, so it is not a problem
for me, but if anyone encountered this, and knows why is this
happening, I would be glad to hear that.
--
Best regards,
Oroszi Balázs mailto:or...@vp...
|
|
From: Benedetto P. <ben...@io...> - 2002-11-13 13:41:26
|
People can do mistakes. There is no need to be unpolite. By the way Jophin has politely started with "Sir..." :-) bye benedetto Daniel Glenfield wrote: > Allow me to help you. > > Move your pointer with the computer mouse (the white thing attached to > your computer) to the bottom of any email sent to you by the Dev-cpp > user list. Left click the coloured text to the right of the text that > says TO UNSUBSCRIBE: it is not hard to miss as it is written in capital > letters to get your attention. By left clicking the text (called a > "link") it will take you to a web page where you can follow the very > clear instructions to unsubscribe from the list. > Eric Richards wrote: > CAN PEOPLE READ ELECTRONIC TEXT? > > At the bottom of every email it tells one "reader" how to "UNSUBSCRIBE:" > > let me just repeat it a couple of times > > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > >>From Eric > > NO ATTACHMENT WAS SENT WITH THIS EMAIL, > IF THERE IS ONE, IT IS A UNDETECTED VIRUS, PLEASE LET ME KNOW.. > > Black text on white background HTML Emails I get, are replied with white > text on white. > > > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Zodiaq > Sent: 14 November 2002 00:20 > To: Dev...@li... > Subject: Re: [Dev-C++] I do not wish to subscribe to mailing list > > > Hello jophin and all Dev-C++ users, > > Wednesday, November 13, 2002, 12:01:07 PM, jophin wrote as follows: > > jkj> Sir, > jkj> I do not wish to subscribe to the mailing list > > So, do you want to ask as for something?? If so do it politely... > then, maybe list admin will unsubscribe you... > -- > regards, Zodiaq > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ;-] > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > _______________________________________________ > 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 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/02 > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > _______________________________________________ > 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...> - 2002-11-13 13:37:44
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of jophin kulangara jose > Sent: Wednesday, November 13, 2002 1:01 PM > To: dev...@li... > Subject: [Dev-C++] I do not wish to subscribe to mailing list > > > Sir, > I do not wish to subscribe to the mailing list > > Jophin at kjj...@re... http://www.noicys.cjb.net/devcpp/ub.htm Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys |
|
From: Vlada D. <dj...@im...> - 2002-11-13 12:47:47
|
----- Original Message ----- From: "Igor Pierscinski" <igo...@po...> To: "DevC++ help" <dev...@li...> Sent: Wednesday, November 13, 2002 10:37 AM Subject: RE: [Dev-C++] MDI window again >Hi, > >In programming even a small thing can make a big difference >so you schould be more careful about the exact meaning >of what you write. The problem is in the line below: > if(hFrameWnd=NULL) >it should be changed to > if(hFrameWnd==NULL) > >Regards > >Igor Pierscinski Thanks a lot, man!!!!! You're a saviour! Regards, Vlada ------------------------------------------------------- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html _______________________________________________ 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: <ant...@ya...> - 2002-11-13 12:39:27
|
Hi all, I sent already this e-mail but I have an error on sending it, so if you receive again this one, please don't worry. The question was about how DevC++ can access to the database like Access db, firebird, MySql and so on. The next question concerning the searching on this ML, hwo I can perform a search? Thanks so much Antonio --------------------------------- Per te Blu American Express è gratis |