dev-cpp-users Mailing List for Dev-C++ (Page 559)
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: Luigi S. <gi...@li...> - 2002-07-08 03:52:33
|
At 08.09 07/06/02 +0200, h.r...@gm... wrote:
>...
>At second:
>In the following code is an error, but i cannot find it. Always if i type q
>to finish the data entry i get a error message :
>
>testproj1.exe Fehler in Anwendung
>Die Anweisung in "0x00401b21" verweist auf Speicher "0x00000000". Der
>Vorgang "read konnte nicht auf dem Speicher durchgef=FChrt werden...
>
>Codesnip:
>
>string SP(size_t n) {
> string s(n, ' ');
> return s;
>}
>
>bool ReadDataKbd(const string &s) {
> ofstream out(s.c_str());
>
> string ein;
>
> cout << "Sollwert:" << SP(6);
> cin >> ein;
> out << ein << endl;
>
> cout << "Untere Grenze: ";
> cin >> ein;
> out << ein << endl;
>
> cout << "Obere Grenze: ";
> cin >> ein;
> out << ein << endl;
>
> bool finished;
> int cnt =3D 1;
> size_t w =3D 5;
>
> do {
> if (cnt > 99) w =3D 3;
> else if (cnt > 9) w =3D 4;
>
> cout << "Messwert " << cnt << SP(w);
> cin >> ein;
> if (finished =3D (ein[0] =3D=3D 'q')) break;
> out << ein << endl;
> cnt++;
> } while (!finished);
>
> out.close();
> return true;
>}
>
>Thanks in advance
>
>greetings
>Horst
Hi,
I've added the following function "main" to test your program:
-------------
int
main()
{
ReadDataKbd("test.out");
}
------------
And found that the code works. i.e. I saw no extra output on the Dos box=20
where I was running. My answers to the questions asked by your program were=
=20
(sorry I could do no better since I do not understand the meaning of them :)
Sollwert: aa
Untere Grenze: bb
Obere Grenze: cc
Messwert 1 dd
Messwert 2 ee
Messwert 3 q
and here is the output file
test.out
--------
aa
bb
cc
dd
ee
--------
I use: Dev 4.9.3.0 (gcc 2.95) on Win98SE.
--
Luigi
gi...@li...
|
|
From: Vakku J. C. <va...@ya...> - 2002-07-08 01:28:46
|
Hi all Mac and Flavio, Thanks for ur valuable comments, Now i have enough to go through , and i will come come back to u all with more specific doubts on this subject.. Thanks all. vakku. --- Mac Reiter <re...@no...> wrote: > > Can some one help me in implementing a tcp/ip > socket > >using c. My ultimate goal is using minimum hardware > >interface a microcontroller to the ethernet. > > > >As mentioned above i am very new to this field, all > i > >know is microcontroller. As a kickstart for this , > i > >would like to do a communication with pc-pc on the > >existing ethernet layer what we have in our office. > >I need to mention that i have never done socket > >programming before. Please suggest me all the > possible > >ways for reaching my goal (any books for a beginner > >like me ). > > I am going to take a slightly different approach > than most, since you > mentioned wanting to attach a microcontroller to the > ethernet. If you > meant an x86 CPU running Windows (which is the only > platform supported by > Dev-C++, as far as I know), then you should check > out the books that have > already been mentioned in other posts. > > If, instead, you are running on a tiny processor > (8051, 6501, PIC, etc), > you might be interested in the following very > lightweight and very small > TCP/IP stacks. Both are by the same guy, one is a > little bit more capable > than the other. > > WARNING : To the best of my knowledge, neither stack > uses the standard > "Berkeley Sockets" functional API, which is what > both Windows and UNIX > networking is usually based on. Learning to use > either of these stacks > WILL NOT help you in learning to program networking > applications for > Windows or UNIX. But if all you want is a tiny > computer talking on the > network, they might fit your requirements. (It is > possible that the lwIP > stack actually does support the "Berkeley Sockets" > standard API, but they > claim it is an optional component, and I don't know > how closely they > actually followed all of the specifications for that > API.) > > http://www.sics.se/~adam/lwip/ > http://dunkels.com/adam/uip/ > > Share and enjoy! > Mac > - > _____________________________ /"\ > Mac Reiter \ / ASCII > Ribbon Campaign > Nomadics, Inc. X Against > HTML Mail > re...@no... / \ (To join > the campaign, simply use > this in > your signature.) > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Bringing you mounds of caffeinated joy. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com |
|
From: Napoleon A. <nah...@so...> - 2002-07-06 16:40:28
|
Hi there, There solution to your problem can be found at http://www.relisoft.com/forum check Windows API Programming in C++. Below is an excerpt of the discussions that went on. ..... The hInstance member of _class is a HANDLE (that is, _class is a WNDCLASSEX, and WNDCLASSEX's 'hInstance' member is a HANDLE, not, as one might guess from it's name, an HINSTANCE). mingw does define HANDLE as a pointer to void. But LoadImage is looking for an honest-to-god HINSTANCE. There is also a solution on the forumwhich works fine on Dev-C++. Napoleon. ----- Original Message ----- From: "Carlos García del Monte" <cg...@wo...> To: "dev-cpp-users-list" <dev...@li...> Sent: Saturday, July 06, 2002 11:58 AM Subject: Re: [Dev-C++] conversion from void *(and is neither void nor pointer) > Thanks, it works in some sites, but now I have found a place where it is a 0 > in LoadImage, and it still says that, the parameter expected is an UINT, I do > everything but no way! > > Here is the line: > _class.hIcon = reinterpret_cast<HICON> ( > ::LoadImage (_class.hInstance, > MAKEINTRESOURCE (resId), > IMAGE_ICON, > ::GetSystemMetrics (SM_CXICON), > ::GetSystemMetrics (SM_CYICON), > 0)); > > I changed the first with _class.hIcon = ::LoadIcon(_class.hInstance, > MAKEINTRESOURCE(resId)); and it says the same error. The same if I put 1-1 > instead of 0, or if I declare a UINT var = 0; and write var. I use the > LR_DEFAULTSIZE flag and still says that. > Here is the code of the full function where the two lines still have error > are: > > void WinClass::SetResIcons (int resId) > { > UINT zero = 0; > _class.hIcon = reinterpret_cast<HICON> ( > ::LoadImage ( > _class.hInstance, > MAKEINTRESOURCE (resId), > IMAGE_ICON, > ::GetSystemMetrics (SM_CXICON), > ::GetSystemMetrics (SM_CYICON), > 0)); > // Small icon can be loaded from the same resource > _class.hIconSm = reinterpret_cast<HICON> ( > ::LoadImage ( > _class.hInstance, > MAKEINTRESOURCE (resId), > IMAGE_ICON, > ::GetSystemMetrics (SM_CXSMICON), > ::GetSystemMetrics (SM_CYSMICON), > 0)); > } > > Borland 5.5 compiles fine, but I prefer Dev, it's more comfortable IDE than > those I found for Borland, with difference. > > P.S.: Some times the error has lines where the error is unreadable characters. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Got root? We do. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > 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.372 / Virus Database: 207 - Release Date: 20/06/02 |
|
From: Carlos d. M. <cg...@wo...> - 2002-07-06 11:01:50
|
Thanks, it works in some sites, but now I have found a place where it is a 0
in LoadImage, and it still says that, the parameter expected is an UINT, I do
everything but no way!
Here is the line:
_class.hIcon = reinterpret_cast<HICON> (
::LoadImage (_class.hInstance,
MAKEINTRESOURCE (resId),
IMAGE_ICON,
::GetSystemMetrics (SM_CXICON),
::GetSystemMetrics (SM_CYICON),
0));
I changed the first with _class.hIcon = ::LoadIcon(_class.hInstance,
MAKEINTRESOURCE(resId)); and it says the same error. The same if I put 1-1
instead of 0, or if I declare a UINT var = 0; and write var. I use the
LR_DEFAULTSIZE flag and still says that.
Here is the code of the full function where the two lines still have error
are:
void WinClass::SetResIcons (int resId)
{
UINT zero = 0;
_class.hIcon = reinterpret_cast<HICON> (
::LoadImage (
_class.hInstance,
MAKEINTRESOURCE (resId),
IMAGE_ICON,
::GetSystemMetrics (SM_CXICON),
::GetSystemMetrics (SM_CYICON),
0));
// Small icon can be loaded from the same resource
_class.hIconSm = reinterpret_cast<HICON> (
::LoadImage (
_class.hInstance,
MAKEINTRESOURCE (resId),
IMAGE_ICON,
::GetSystemMetrics (SM_CXSMICON),
::GetSystemMetrics (SM_CYSMICON),
0));
}
Borland 5.5 compiles fine, but I prefer Dev, it's more comfortable IDE than
those I found for Borland, with difference.
P.S.: Some times the error has lines where the error is unreadable characters.
|
|
From: Hongli L. <h....@ch...> - 2002-07-06 07:41:01
|
On Sat, 2002-07-06 at 08:09, h.r...@gm... wrote: > Hello, > > I have two questions. > At first, is there intended (in near future) to build a package with fltk ? > I have an FLTK package on my hd, I'm just feeling too lazy to actually release it. |
|
From: Hongli L. <h....@ch...> - 2002-07-06 07:39:12
|
On Sat, 2002-07-06 at 05:50, Ioannis Vranos wrote: > Well only the creators can help you here... > > > > Ioannis > Well only Colin can help. He made the installer. |
|
From: <h.r...@gm...> - 2002-07-06 06:09:40
|
Hello,
I have two questions.
At first, is there intended (in near future) to build a package with fltk ?
At second:
In the following code is an error, but i cannot find it. Always if i type q
to finish the data entry i get a error message :
testproj1.exe Fehler in Anwendung
Die Anweisung in "0x00401b21" verweist auf Speicher "0x00000000". Der
Vorgang "read konnte nicht auf dem Speicher durchgeführt werden...
Codesnip:
string SP(size_t n) {
string s(n, ' ');
return s;
}
bool ReadDataKbd(const string &s) {
ofstream out(s.c_str());
string ein;
cout << "Sollwert:" << SP(6);
cin >> ein;
out << ein << endl;
cout << "Untere Grenze: ";
cin >> ein;
out << ein << endl;
cout << "Obere Grenze: ";
cin >> ein;
out << ein << endl;
bool finished;
int cnt = 1;
size_t w = 5;
do {
if (cnt > 99) w = 3;
else if (cnt > 9) w = 4;
cout << "Messwert " << cnt << SP(w);
cin >> ein;
if (finished = (ein[0] == 'q')) break;
out << ein << endl;
cnt++;
} while (!finished);
out.close();
return true;
}
Thanks in advance
greetings
Horst
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
|
|
From: Ioannis V. <no...@ho...> - 2002-07-06 03:50:56
|
Well only the creators can help you here... Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Rob > Sent: Saturday, July 06, 2002 5:19 AM > To: dev...@li... > Subject: Re: [Dev-C++] uninstall/reinstall/upgrade help > > > I seem to have already gotten some of my problem under control, > actually. I had a problem with 4.9.4.1, such that if I created a new > source file and tried to save it, I'd receive an error (access > violation, I believe, although I should've made note of it at > the time). > > I reinstalled 4.9.4.1 and tried it again, receiving the same error > messages, and uninstalled it. Now I've reinstalled 4.9.4.0 > and can save > newly-created files, but Dev-C++ doesn't appear on the list under > *Add/Remove Programs*. > > Rob > > Rob wrote: > > > Something went wrong when I was upgrading Dev-C++ last > night, and now I > > have run into problems. I tried uninstalling everything, > but it doesn't > > seem to have completely uninstalled. > > > > This is on Windows 2000. I did a quick look at the registry > and saw that > > there is at least some remnant stuck in there. Is there a > master list of > > things I can go through and remove to get things back to > normal so I can > > reinstall and make it work again? > > > > Rob > > http://uselesspython.com > > > -- > "Giving the Linus Torvalds Award to the Free Software Foundation is a > bit like giving the Han Solo Award to the Rebel Alliance." > --Richard Stallman at the 1999 LinuxWorld show > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Bringing you mounds of caffeinated joy. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Rob <ro...@us...> - 2002-07-06 02:15:49
|
I seem to have already gotten some of my problem under control, actually. I had a problem with 4.9.4.1, such that if I created a new source file and tried to save it, I'd receive an error (access violation, I believe, although I should've made note of it at the time). I reinstalled 4.9.4.1 and tried it again, receiving the same error messages, and uninstalled it. Now I've reinstalled 4.9.4.0 and can save newly-created files, but Dev-C++ doesn't appear on the list under *Add/Remove Programs*. Rob Rob wrote: > Something went wrong when I was upgrading Dev-C++ last night, and now I > have run into problems. I tried uninstalling everything, but it doesn't > seem to have completely uninstalled. > > This is on Windows 2000. I did a quick look at the registry and saw that > there is at least some remnant stuck in there. Is there a master list of > things I can go through and remove to get things back to normal so I can > reinstall and make it work again? > > Rob > http://uselesspython.com -- "Giving the Linus Torvalds Award to the Free Software Foundation is a bit like giving the Han Solo Award to the Rebel Alliance." --Richard Stallman at the 1999 LinuxWorld show |
|
From: Rob <ro...@us...> - 2002-07-06 01:58:56
|
Something went wrong when I was upgrading Dev-C++ last night, and now I have run into problems. I tried uninstalling everything, but it doesn't seem to have completely uninstalled. This is on Windows 2000. I did a quick look at the registry and saw that there is at least some remnant stuck in there. Is there a master list of things I can go through and remove to get things back to normal so I can reinstall and make it work again? Rob http://uselesspython.com -- "Giving the Linus Torvalds Award to the Free Software Foundation is a bit like giving the Han Solo Award to the Rebel Alliance." --Richard Stallman at the 1999 LinuxWorld show |
|
From: Hongli L. <h....@ch...> - 2002-07-05 20:16:55
|
On Fri, 2002-07-05 at 21:11, Carlos Garc=EDa del Monte wrote: > Hi: > I am learning windows programing, and in great proportion of the > examples I try to compile I get the error "ANSI C++ forbids implicit > conversion from `void *' in argument passing", many times due to the 0 > value passed in functions like CreateWindowEx, in the last parameter, > what can I do for Mingw accept it? Some times I change 0 by NULL, but it > does not work always, in such cases, what can I do? >=20 > Thank you >=20 That parameter expects a pointer. 0 is an integer. Since C++ is strict, you'll have to tell explicitly that 0 must be treated as a memory location (pointer). Something like this: CreateWindowEx (foo, bar, (void *) 0); |
|
From: Carlos d. M. <cg...@wo...> - 2002-07-05 19:14:32
|
Hi: I am learning windows programing, and in great proportion of the examples I try to compile I get the error "ANSI C++ forbids implicit conversion from `void *' in argument passing", many times due to the 0 value passed in functions like CreateWindowEx, in the last parameter, what can I do for Mingw accept it? Some times I change 0 by NULL, but it does not work always, in such cases, what can I do? Thank you |
|
From: Carlos d. M. <cg...@wo...> - 2002-07-05 19:14:32
|
You're compiling a console program with the option of compiling a windows application (not console). Daniel Glenfield escribi=F3: > oh this is an easy one, but I forget how to solve it lol. Is it a case = of > adding a library anyone? > > >From: Andr=E9 Leder <pi...@we...> > >To: <dev...@li...> > >Subject: [Dev-C++] linker error > >Date: Fri, 5 Jul 2002 13:31:22 +0200 > > > >Hello! > >When I try to compile and run a self-written program, there > >sometimes appears the following error-message from the compiler/linker= : > >[linker error] undefined reference to 'WinMain@16' > >Can somebody explain me the meaning of this message? > >Thank you! Andy > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Bringing you mounds of caffeinated joy. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Daniel G. <sp...@ho...> - 2002-07-05 18:27:34
|
oh this is an easy one, but I forget how to solve it lol. Is it a case of adding a library anyone? >From: André Leder <pi...@we...> >To: <dev...@li...> >Subject: [Dev-C++] linker error >Date: Fri, 5 Jul 2002 13:31:22 +0200 > >Hello! >When I try to compile and run a self-written program, there >sometimes appears the following error-message from the compiler/linker: >[linker error] undefined reference to 'WinMain@16' >Can somebody explain me the meaning of this message? >Thank you! Andy _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
|
From: Scott A. S. <ss...@ma...> - 2002-07-05 17:37:11
|
Oops, wrong mailing list. |
|
From: Scott A. S. <ss...@ma...> - 2002-07-05 17:19:10
|
Hi,
I had built a small test DLL with cygwin, worked great. I then adjusted
the Cygwin mingw directory files for C++ and rebuilt the DLL with
additional -mno-cygwin flags. Again no problems! Recently I ran setup
and upgraded everything Cygwin on my system. Things work fine, Cygwin
still makes the DLL, but the DLL build using -mno-cygwin no longer seems
to work. I get errors regarding multiple definitons when I try an make
any executables linking to my DLL:
.//libBasics.dll.a(d000259.o)(.text+0x0): multiple definition of `atexit'
/usr/lib/mingw/crt2.o(.text+0xfc):crt1.c: first defined here
.//libBasics.dll.a(d000223.o)(.text+0x0): multiple definition of `_onexit'
/usr/lib/mingw/crt2.o(.text+0x114):crt1.c: first defined here
Does anyone know why this would happen? The same executable using
the Cygwin built DLL (no MinGW) works fine. It seems like either the command
to do the linking is adding in multiple libraries having these defined or
the
DLL build goes funny and adds them in where they shouldn't be.
Here is what my final linking command looks like (making a test program
using the DLL):
c++ -v -o TestBasics.exe -g -mno-cygwin TestBasics.o -L./ -lBasics
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
gcc version 2.95.3-5 (cygwin special)
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/collect2.exe -Bdynamic --dll-search
-prefix=cyg -o TestBasics.exe
/usr/lib/mingw/crt2.o -L./ -L/usr/lib/mingw -L/usr/lib/w32api -L/usr/lib/gcc
-lib/i686-pc-cygwin/2.95.3-5
TestBasics.o -lBasics -lstdc++ -lmingw32 -lgcc -lmoldname -lmsvcrt -lmingw32
-luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmsvcr
t
Are the repeated libraries proper? When I look in the straight Cygwin built
DLL (mine is Basics.dll) it does not have atexit listed, but it is listed in
the DLL built with -mno-cygwin. If it matters, here is the command that made
the
DLL:
g++ -shared -Wl,--out-implib=libBasics.dll.a -o Basics.dll
${MYOBJS} -Wl,--export-all-symbols --target=i386-mingw32 -mno-cygwin
and all of my object files are made with commands such as
c++ -c -mno-cygwin -I. -g -o TestBasics.o TestBasics.cc
I am pretty certain that this problem began to occur after my last
Cygwin upgrade. Thanks in advance for any help.
Scott
=======================================
Scott A. Smith
|
|
From: Mac R. <re...@no...> - 2002-07-05 15:44:37
|
I hate to ask again, but I'm about to get sent off on a business trip and I would like to play with Dev-C++ during some of the sleepless hours between the end of official business and when I am able to get to sleep. Why don't breakpoints seem to work in 4.9.4.1? I have turned on debugging myself (first project), and I have also allowed the IDE to turn on debugging and rebuild (second project, when I pressed Debug on a non-debuggable build). I get exactly the same results in both cases. In both cases, the breakpoints are claimed to be invalid, and the debugger terminates the program. Mac At 02:00 PM 7/4/02 -0500, Mac Reiter wrote: >I just installed Dev-C++ on a win2k box with no other c++ compiler. >Installation was to the default directory, C:\Dev-C++\. I made a new >"Windows Application" Project, and saved all the files. Then I went to >Compiler Options, selected the Linker tab, and checked the bold blue line >for including debugging information. I did a Rebuild All, set a breakpoint >inside WinMain, and hit Debug. Watching the output window down at the >bottom, I got a complaint about the breakpoint being invalid. > >I have tried it with breakpoints in different places. I always get the >same result. I have tried it with different numbers of breakpoints, and it >always knows how many breakpoints I have set, but they are all claimed to >be invalid. > >The program runs properly. If I don't set any breakpoints, it even runs in >the debugger. But since I can't ever set any breakpoints, I can't get the >program to stop so that I can attempt to look at any of the variables. > >I watched the command lines being sent to the compiler, and "-g3" was >included during the compilation of main.cpp into main.o, and also during >the linking of main.o into FirstDevCpp.exe (the name of my test project). > >I feel certain that I have missed something, probably something obvious, >but I can't seem to find it in the dialogs. > >Any help would be appreciated, because the IDE is not much use to me >without the debugger. Thanks, >Mac >- > _____________________________ /"\ > Mac Reiter \ / ASCII Ribbon Campaign > Nomadics, Inc. X Against HTML Mail > re...@no... / \ (To join the campaign, simply use > this in your signature.) > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Caffeinated soap. No kidding. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > - _____________________________ /"\ Mac Reiter \ / ASCII Ribbon Campaign Nomadics, Inc. X Against HTML Mail re...@no... / \ (To join the campaign, simply use this in your signature.) |
|
From: Bob W. <bo...@ph...> - 2002-07-05 14:40:00
|
Colin, > Dev-C++ 4.9.4.1 has just been released :) > > This version is released mainly because we are going back to GCC 2.95.3, until > GCC 3.1 is considered stable. Is the 4.9.4.1 IDE stable? I have had repeated problems with 4.01. Bob |
|
From: Mac R. <re...@no...> - 2002-07-05 12:58:46
|
> Can some one help me in implementing a tcp/ip socket >using c. My ultimate goal is using minimum hardware >interface a microcontroller to the ethernet. > >As mentioned above i am very new to this field, all i >know is microcontroller. As a kickstart for this , i >would like to do a communication with pc-pc on the >existing ethernet layer what we have in our office. >I need to mention that i have never done socket >programming before. Please suggest me all the possible >ways for reaching my goal (any books for a beginner >like me ). I am going to take a slightly different approach than most, since you mentioned wanting to attach a microcontroller to the ethernet. If you meant an x86 CPU running Windows (which is the only platform supported by Dev-C++, as far as I know), then you should check out the books that have already been mentioned in other posts. If, instead, you are running on a tiny processor (8051, 6501, PIC, etc), you might be interested in the following very lightweight and very small TCP/IP stacks. Both are by the same guy, one is a little bit more capable than the other. WARNING : To the best of my knowledge, neither stack uses the standard "Berkeley Sockets" functional API, which is what both Windows and UNIX networking is usually based on. Learning to use either of these stacks WILL NOT help you in learning to program networking applications for Windows or UNIX. But if all you want is a tiny computer talking on the network, they might fit your requirements. (It is possible that the lwIP stack actually does support the "Berkeley Sockets" standard API, but they claim it is an optional component, and I don't know how closely they actually followed all of the specifications for that API.) http://www.sics.se/~adam/lwip/ http://dunkels.com/adam/uip/ Share and enjoy! Mac - _____________________________ /"\ Mac Reiter \ / ASCII Ribbon Campaign Nomadics, Inc. X Against HTML Mail re...@no... / \ (To join the campaign, simply use this in your signature.) |
|
From: <pi...@we...> - 2002-07-05 11:33:01
|
Hello! When I try to compile and run a self-written program, there sometimes appears the following error-message from the compiler/linker:=20 [linker error] undefined reference to 'WinMain@16' Can somebody explain me the meaning of this message? Thank you! Andy |
|
From: <fla...@ya...> - 2002-07-05 11:23:17
|
See some Socket links that may help you start: http://world.std.com/~jimf/papers/sockets/winsock.html http://klement.dstorm.net/rpg/socktut/tutorial.html http://www.ecst.csuchico.edu/~beej/guide/net/html/ http://www.sockets.com/winsock.htm http://www.cyberport.com/~tangent/programming/winsock/ A good start point is: * "Windows Sockets: A Quick and Dirty Primer" I have also some simple socket class, if you want i can send you ( I used Dev-Cpp to make it ) . However it is a little bit old and I did not make any improvements. There is much more on the net. Search in GOOOOOOOGLE ! Regards, Flávio. Brazil! The World Cup Champion! --__--__-- Message: 7 Date: Thu, 4 Jul 2002 20:21:39 -0700 (PDT) From: Vakku Jose Chethalan <va...@ya...> To: dev...@li... Subject: [Dev-C++] Socket Programming hi all, I am new user dev ++ and also new to c Can some one help me in implementing a tcp/ip socket using c. My ultimate goal is using minimum hardware interface a microcontroller to the ethernet. As mentioned above i am very new to this field, all i know is microcontroller. As a kickstart for this , i would like to do a communication with pc-pc on the existing ethernet layer what we have in our office. I need to mention that i have never done socket programming before. Please suggest me all the possible ways for reaching my goal (any books for a beginner like me ). I hope this wont be a big request for all the highly experinced people in here .. Thanks in advance vakku. ===== Flavio de Souza fla...@ya... Sertãozinho - SP - Brasil Yahoo! ID: flaviostz _______________________________________________________________________ Yahoo! Encontros O lugar certo para encontrar a sua alma gêmea. http://br.encontros.yahoo.com/ |
|
From: Hongli L. <h....@ch...> - 2002-07-05 10:33:41
|
On Fri, 2002-07-05 at 09:10, Fabrice Desr=E9 wrote: > Hello, >=20 > I'm looking for some documentation describing the process use to build=20 > DevPack. I'll appreciate any pointers. >=20 > Thanks A DevPak file is just a tar.bz2 file with a different extension. Inside the archive, you'll find a file with the extension .DevPackage, which contains information about the package and it's files. Extract some DevPak files and look inside the .DevPackage file for examples. You may also want to read this: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dev-cpp/V5/source/packman/Fi= le%20Format.txt?rev=3DHEAD&content-type=3Dtext/vnd.viewcvs-markup |
|
From: Teodorescu C. <te...@xt...> - 2002-07-05 09:07:30
|
Adam Vardy wrote: >This list could really use some spark. What kinds of apps are people aiming for? > Depends if you want to know my opinion about dev-c++ i can only say : It' a long way to become professional( sorry but this is my opinion). It needs a lot of stuff to become a usuable c++ IDE it is no extendeble by c++ developers because is written in DELPHI and when i want to add a new future... lets just say i hate pascal like languages so..., Code completion is primitive at this point.Does not reognize Win32 Api . > >How many pure beginners are here? How many advanced developers? > I 'm not an expert in c++ i'm rather an intermediate programer. > >Do we just write freeware? Do you use this compiler exclusively, or >others? > Usualy i write in vc++ and somethimes i need to test some code on other compilers i use dev c++ > >Throw out some practical topics please. > algorithms > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Caffeinated soap. No kidding. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > |
|
From: <fab...@fr...> - 2002-07-05 07:10:17
|
Hello, I'm looking for some documentation describing the process use to build = DevPack. I'll appreciate any pointers. Thanks Fabrice --=20 Fabrice Desr=E9 - FT.BD/FTR&D/DTL/TAL T=E9l: (33) 2 96 05 31 43 Fax: (33) 2 96 05 39 45 |
|
From: <fab...@fr...> - 2002-07-05 07:09:14
|
Hello, Did anyone succeed building wxWindows 2.3.2 with dev-c++ ? I know=20 there's a package for 2.2.9, but I really need 2.3.2... Thanks, Fabrice --=20 Fabrice Desr=E9 - FT.BD/FTR&D/DTL/TAL T=E9l: (33) 2 96 05 31 43 Fax: (33) 2 96 05 39 45 |