dev-cpp-users Mailing List for Dev-C++ (Page 517)
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: Graeme F. <gr...@dr...> - 2002-10-02 17:32:30
|
Hi, you need to typecast the pointer. the last parameter is of type lParam so you need to modify you code as follows (LPARAM)this. >you wrote... >The errors occurs here : > >hHyperLinkWnd= CreateWindowEx(dwExStyle, > wcex.lpszClassName, > "", > dwStyle, > HypLinkData.cx,HypLinkData.cy, > size.cx,size.cy, > hWndParent, > NULL, > wcex.hInstance, --> (LPARAM)this); <- Here at the "this" pointer passing, compiling crashes |
|
From: Saba K. T. <sab...@vu...> - 2002-10-02 10:31:19
|
Hi, thanks Ricardo for the response. however as Carlos said conio.c worked fine..... Saba ----- Original Message ----- From: "Ricardo L=F3pez Ruiz" <ri...@po...> To: "Dev-C++" <dev...@li...> Cc: "Saba Khalil Toor" <sab...@vu...> Sent: Wednesday, October 02, 2002 3:12 PM Subject: Re: [Dev-C++] querry > you can use > > #include <conio_mingw.h> > > perhaps it works. |
|
From: metalseb <met...@fr...> - 2002-10-02 10:21:21
|
Just link the conio lib. Project options/Linker option : -lconio Kind regards -- Seb |
|
From: Ricardo R. <ri...@po...> - 2002-10-02 10:17:47
|
you can use #include <conio_mingw.h> perhaps it works. |
|
From: Carlos d. M. <cg...@wo...> - 2002-10-02 10:10:55
|
First, Your mail is messed with the text you're answering and your answer, and it's really hard to read it. You shall define a LOGFONT before the use of the definition of the CHOOSEFONT and initialize the lpLogFont field of CHOOSEFONT with it. And then you select this on a HFONT, with CreateFontIndirect(LPLOGFONT). Anyway, if it's there and I didn't see it, check the CHOOSEFONT specification at your Win32 API reference, perhaps there is some field you should initialize due to the use of some option and you're not initializing it. I did a simple experiment with it and I had the same error (win2k), till I realized that I hadn't initialize the Flags field of CHOOSEFONT, and then it disappeared. |
|
From: Vlada D. <dj...@im...> - 2002-10-02 09:54:24
|
MessageHi, Marc This solved my problem. Thanks. ----- Original Message -----=20 From: Marc Heiligers=20 To: 'Vlada Djurovic' ; 'DevC++ help'=20 Sent: Wednesday, October 02, 2002 10:04 AM Subject: RE: [Dev-C++] fonts Hi, =20 I just had a look at msdn.microsoft.com and this is the example they = provide: =20 HWND hwnd; // owner window HDC hdc; // display device context of owner window CHOOSEFONT cf; // common dialog box structure static LOGFONT lf; // logical font structure static DWORD rgbCurrent; // current text color HFONT hfont, hfontPrev; DWORD rgbPrev; // Initialize CHOOSEFONT ZeroMemory(&cf, sizeof(cf)); cf.lStructSize =3D sizeof (cf); cf.hwndOwner =3D hwnd; cf.lpLogFont =3D &lf; cf.rgbColors =3D rgbCurrent; cf.Flags =3D CF_SCREENFONTS | CF_EFFECTS; if (ChooseFont(&cf)=3D=3DTRUE) { hfont =3D CreateFontIndirect(cf.lpLogFont); hfontPrev =3D SelectObject(hdc, hfont); rgbCurrent=3D cf.rgbColors; rgbPrev =3D SetTextColor(hdc, rgbCurrent); . . . } The only differences I can see is that: 1. They specify CF_SCREENFONTS, but you said you tried that 2. They ZeroMemory the CHOOSEFONT struct before use. =20 Common dialog examples can be found at: =20 = http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/winui/= WinUI/WindowsUserInterface/UserInput/CommonDialogBoxLibrary/UsingCommonDi= alogBoxes.asp =20 Also the full set of flags can be found at: =20 = http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/winui/= winui/windowsuserinterface/userinput/commondialogboxlibrary/commondialogb= oxreference/commondialogboxstructures/choosefont.asp _____________________________ Marc Heiligers -----Original Message----- From: Vlada Djurovic [mailto:dj...@im...]=20 Sent: 02 October 2002 09:39 AM To: 'Marc Heiligers'; 'DevC++ help' Subject: RE: [Dev-C++] fonts Hi, Marc Thanks for your help, but it still doesn't work. I still get the = same message. Can it be that I need to include some header files? I = included windows.h and commdlg.h. Or maybe there is a problem with my = Windows 200? =20 Regards, Vlada =20 -----Original Message----- From: dev...@li... = [mailto:dev...@li...] On Behalf Of Marc = Heiligers Sent: utorak, 1. oktobar 2002 15:27 To: 'Vlada Djurovic'; DevC++ help Subject: RE: [Dev-C++] fonts =20 Hi, =20 I had a similar problem using the common font dialog in VB. As far = as I can remember you have to specify a type of font to list using one = of the flags otherwise Windows doesn't know which fonts to enumerate. =20 CF_WYSIWYG, CF_PRINTERFONTS or CF_TTONLY =20 =20 _____________________________ Marc Heiligers -----Original Message----- From: Vlada Djurovic [mailto:dj...@im...]=20 Sent: 01 October 2002 12:57 PM To: DevC++ help Subject: [Dev-C++] fonts Hi. I have a strange problem: I want to use ChooseFont API function to = display font selection dialog. I wrote a procedure, compiled, but when I = start the application and press choose font from the menu, I get the = message: "There are no fonts instaled. Open Fonts folder in Control = Panel to install fonts.". Of course, fonts are installed. I have Windows = 2000 and DevCpp 4.9.5.0. Can anyone tell me what could cause this? Here = is the code I wrote to display font dialog: =20 case WM_COMMAND: switch(LOWORD(wParam)) { case ID_FORMAT_FONT: { CHOOSEFONT chFont; chFont.lStructSize=3Dsizeof(CHOOSEFONT); chFont.hwndOwner=3Dhwnd; chFont.lpLogFont=3D&lFont; chFont.iPointSize=3D1; = chFont.Flags=3DCF_INITTOLOGFONTSTRUCT|CF_EFFECTS; chFont.rgbColors=3DRGB(0,0,0); chFont.nFontType=3DREGULAR_FONTTYPE; if(!ChooseFont(&chFont)) MessageBox(hwnd,"Error in font = dialog","Error",MB_OK|MB_ICONSTOP); } break; } |
|
From: Saba K. T. <sab...@vu...> - 2002-10-02 09:01:32
|
Hi. can any plz let me know why clrscr and gotoxy in conio.h is not working i use dev c++ 4. thankyou saba |
|
From: Marc H. <ma...@e-...> - 2002-10-02 08:02:38
|
Hi, I just had a look at msdn.microsoft.com and this is the example they provide: HWND hwnd; // owner window HDC hdc; // display device context of owner window CHOOSEFONT cf; // common dialog box structure static LOGFONT lf; // logical font structure static DWORD rgbCurrent; // current text color HFONT hfont, hfontPrev; DWORD rgbPrev; // Initialize CHOOSEFONT ZeroMemory(&cf, sizeof(cf)); cf.lStructSize = sizeof (cf); cf.hwndOwner = hwnd; cf.lpLogFont = &lf; cf.rgbColors = rgbCurrent; cf.Flags = CF_SCREENFONTS | CF_EFFECTS; if (ChooseFont(&cf)==TRUE) { hfont = CreateFontIndirect(cf.lpLogFont); hfontPrev = SelectObject(hdc, hfont); rgbCurrent= cf.rgbColors; rgbPrev = SetTextColor(hdc, rgbCurrent); . . . } The only differences I can see is that: 1. They specify CF_SCREENFONTS, but you said you tried that 2. They ZeroMemory the CHOOSEFONT struct before use. Common dialog examples can be found at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI /WindowsUserInterface/UserInput/CommonDialogBoxLibrary/UsingCommonDialogBoxe s.asp <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinU I/WindowsUserInterface/UserInput/CommonDialogBoxLibrary/UsingCommonDialogBox es.asp> Also the full set of flags can be found at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui /windowsuserinterface/userinput/commondialogboxlibrary/commondialogboxrefere nce/commondialogboxstructures/choosefont.asp <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winu i/windowsuserinterface/userinput/commondialogboxlibrary/commondialogboxrefer ence/commondialogboxstructures/choosefont.asp> _____________________________ Marc Heiligers -----Original Message----- From: Vlada Djurovic [mailto:dj...@im...] Sent: 02 October 2002 09:39 AM To: 'Marc Heiligers'; 'DevC++ help' Subject: RE: [Dev-C++] fonts Hi, Marc Thanks for your help, but it still doesn't work. I still get the same message. Can it be that I need to include some header files? I included windows.h and commdlg.h. Or maybe there is a problem with my Windows 200? Regards, Vlada -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Marc Heiligers Sent: utorak, 1. oktobar 2002 15:27 To: 'Vlada Djurovic'; DevC++ help Subject: RE: [Dev-C++] fonts Hi, I had a similar problem using the common font dialog in VB. As far as I can remember you have to specify a type of font to list using one of the flags otherwise Windows doesn't know which fonts to enumerate. CF_WYSIWYG, CF_PRINTERFONTS or CF_TTONLY _____________________________ Marc Heiligers -----Original Message----- From: Vlada Djurovic [mailto:dj...@im...] Sent: 01 October 2002 12:57 PM To: DevC++ help Subject: [Dev-C++] fonts Hi. I have a strange problem: I want to use ChooseFont API function to display font selection dialog. I wrote a procedure, compiled, but when I start the application and press choose font from the menu, I get the message: "There are no fonts instaled. Open Fonts folder in Control Panel to install fonts.". Of course, fonts are installed. I have Windows 2000 and DevCpp 4.9.5.0. Can anyone tell me what could cause this? Here is the code I wrote to display font dialog: case WM_COMMAND: switch(LOWORD(wParam)) { case ID_FORMAT_FONT: { CHOOSEFONT chFont; chFont.lStructSize=sizeof(CHOOSEFONT); chFont.hwndOwner=hwnd; chFont.lpLogFont=&lFont; chFont.iPointSize=1; chFont.Flags=CF_INITTOLOGFONTSTRUCT|CF_EFFECTS; chFont.rgbColors=RGB(0,0,0); chFont.nFontType=REGULAR_FONTTYPE; if(!ChooseFont(&chFont)) MessageBox(hwnd,"Error in font dialog","Error",MB_OK|MB_ICONSTOP); } break; } |
|
From: Vlada D. <dj...@im...> - 2002-10-02 07:37:46
|
Hi, Marc
Thanks for your help, but it still doesn't work. I still get the same
message. Can it be that I need to include some header files? I included
windows.h and commdlg.h. Or maybe there is a problem with my Windows
200?
Regards, Vlada
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Marc
Heiligers
Sent: utorak, 1. oktobar 2002 15:27
To: 'Vlada Djurovic'; DevC++ help
Subject: RE: [Dev-C++] fonts
Hi,
I had a similar problem using the common font dialog in VB. As far as I
can remember you have to specify a type of font to list using one of the
flags otherwise Windows doesn't know which fonts to enumerate.
CF_WYSIWYG, CF_PRINTERFONTS or CF_TTONLY
_____________________________
Marc Heiligers
-----Original Message-----
From: Vlada Djurovic [mailto:dj...@im...]
Sent: 01 October 2002 12:57 PM
To: DevC++ help
Subject: [Dev-C++] fonts
Hi.
I have a strange problem: I want to use ChooseFont API function to
display font selection dialog. I wrote a procedure, compiled, but when I
start the application and press choose font from the menu, I get the
message: "There are no fonts instaled. Open Fonts folder in Control
Panel to install fonts.". Of course, fonts are installed. I have Windows
2000 and DevCpp 4.9.5.0. Can anyone tell me what could cause this? Here
is the code I wrote to display font dialog:
case WM_COMMAND:
switch(LOWORD(wParam))
{
case ID_FORMAT_FONT:
{
CHOOSEFONT chFont;
chFont.lStructSize=sizeof(CHOOSEFONT);
chFont.hwndOwner=hwnd;
chFont.lpLogFont=&lFont;
chFont.iPointSize=1;
chFont.Flags=CF_INITTOLOGFONTSTRUCT|CF_EFFECTS;
chFont.rgbColors=RGB(0,0,0);
chFont.nFontType=REGULAR_FONTTYPE;
if(!ChooseFont(&chFont))
MessageBox(hwnd,"Error in font
dialog","Error",MB_OK|MB_ICONSTOP);
}
break;
}
|
|
From: Santosh M. <moh...@nc...> - 2002-10-02 06:39:07
|
hi guys, I have a class, with a member function which is actually a template. if i try to instantiate it , gives an error saying.. 'illegal use of this type as an expression' it seems to be a windows specific thing, as the same code got compiled well, on Linux. ..Santosh |
|
From: <CSt...@ao...> - 2002-10-01 21:41:16
|
About 3 months ago, I asked for some examples of using the debugger. gi...@li... was kind enough to make up a zip file and sent it as an attachment to a message on 6/30/02 3:46:54 PM Pacific Daylight Time. After looking at the file, I accidentally deleted it. Does anyone have that file attachment? Apparently it was sent in a zip file called doc.tgz? If you do could you sent it directly to me, or perhaps to the group as it contains a few debugger examples that would be of help to many of us. Thanks gi...@li... for putting together the examples! Charles in LA |
|
From: Santiago P. C. <San...@yd...> - 2002-10-01 16:26:03
|
Hi *, I've been playing around today with MinGW 2.0.0 (gcc 3.2) and I've found that exe files are really bigger than the ones produced by MinGW 1.1 (gcc 2.95.3). Build Time: File Size: Exe File: 17/05/2002 18:30 6.656 NetCmd1.exe 01/10/2002 18:13 53.248 NetCmd2.exe I've tried with an old project (fully functional, no new code since some months), so source code is the same. Object files have been rebuild for the new version. Makefile is almost the same (except lib & include paths for each version), and CFLAGS from both makefiles is: CFLAGS = $(INCLUDE_DIRS) -fexceptions -s -O3 So... Why the increment? Any hints here? Thanx, Santy -------------------------------------------------------------------------------------- This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. No confidentiality or privilege is waived or lost by any wrong transmission. If you have received this message in error, please immediately destroy it and kindly notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Opinions, conclusions and other information in this message that do not relate to the official business of Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it. -------------------------------------------------------------------------------------- |
|
From: Napoleon A. <n_a...@ya...> - 2002-10-01 16:14:03
|
Thanks Earnie, Cleaning my project directories works a treat now. However when I run clean from Dev-C++, it cleans both .obj and .exe files. Since the makefile is generated automatically by Dev-C++ how do I tell it not to delete .exe files ? Napoleon. --- Earnie Boyd <ear...@ya...> wrote: > Napoleon Ahiable wrote: > > > > Hi, > > I needed rm.exe so I downloaded MYSYS as advised. I then copied > rm.exe > > to my MINGW directory. When I try to clean I get the error message > > mingw32-make.exe: *** [clean] Error 128. > > > > No, don't copy, leave it with msys and add d:\path\to\msys\1.0\bin to > your PATH. > > > Another concern is that the size of rm.exe from the MYSYS package > is > > 64k. and a couple of rm.exe files sent to by some good people from > > DEV-C++ are just 2k and that give these error messages when used > > mingw32-make.exe: *** [clean] Error 128. > > mingw32-make.exe: *** [clean] Error 87. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com |
|
From: Elizabeth B. <sog...@ya...> - 2002-10-01 15:30:53
|
metalseb <met...@fr...> writes: > > The errors occurs here : > > hHyperLinkWnd= CreateWindowEx(dwExStyle, > wcex.lpszClassName, > "", > dwStyle, > HypLinkData.cx,HypLinkData.cy, > size.cx,size.cy, > hWndParent, > NULL, > wcex.hInstance, > this); <- Here at the "this" pointer passing, compiling crashes > > I've tried to pass "NULL" as parameter but same results. Are you still stuck with this? My book says CreateWindowEx is: CreateWindowEx(DWORD ExStyle, LPCTSTR Classname, LPCSTR WindowsName, DWORD Style, int X, int Y, int Width, int Height, HWND hParent, LPCTSTR hMenu, HINSTANCE hInstance, LPVOID Param); I'm surprised that casting each parameter explicitly is not working. Elizabeth |
|
From: Elizabeth B. <sog...@ya...> - 2002-10-01 15:22:25
|
"Evandro Humberto Rodrigues" <ero...@ro...> writes: > Some body can help me how to compile the lib Mysql++ on DevC++? > > Thanks a lot... Someone recently mentioned a tool in the mingw-util collection that can read a MSVC .dsw file and produce a gnu makefile. If Mysql++ comes with the MSVC files, this may help. <http://mefriss1.swan.ac.uk/~jfonseca/gnu-win32/software/utils/> Other than that, I suggest using ./configure in a MSYS environment: <http://www.mingw.org/msys.shtml> But support for mingw is somewhat limited (but growing). Else its just doing it by hand. Elizabeth |
|
From: Per W. <pw...@ia...> - 2002-10-01 14:56:31
|
No, I don't think Microsoft adds these lines to the executable. If you run the executable from the command line, I'm pretty sure you don't see this behaviour other than when testing the application from the IDE. /Per W On Mon, 30 Sep 2002, Samuel Keding wrote: > I don't know if it would make up the difference in > size, but Microsoft adds a couple lines to every > executable. It is something like > cout << "Press any key to continue."; > cin.ignore(256,'\n'); > so microsoft's stuff would be a little bigger unless, > you added those lines manually in Dev. Unless dev does > it nowadays. I wouldn't know because I have an older > version of dev. > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Rob <ro...@us...> - 2002-10-01 14:06:39
|
I think that may be only true in certain cases, such as with Student/Learning Editions. Or perhaps it's an option I don't have turned on. When run, the executables I produced in this experiment (and others run since I recently installed the .net IDE) do as expected and return to the command prompt. I do remember the "Press any key to continue" behavior from the "Learning Edition" of MSVC++ 6 that we used in CS classes at Belhaven College, though. (And I found it annoying, to be honest.) regards, Rob > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Samuel > Keding > Sent: Monday, September 30, 2002 10:14 PM > To: dev...@li... > Subject: [Dev-C++] Re: compare and contrast > > > I don't know if it would make up the difference in > size, but Microsoft adds a couple lines to every > executable. It is something like > cout << "Press any key to continue."; > cin.ignore(256,'\n'); > so microsoft's stuff would be a little bigger unless, > you added those lines manually in Dev. Unless dev does > it nowadays. I wouldn't know because I have an older > version of dev. > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Marc H. <ma...@e-...> - 2002-10-01 13:24:29
|
Hi,
I had a similar problem using the common font dialog in VB. As far as I can
remember you have to specify a type of font to list using one of the flags
otherwise Windows doesn't know which fonts to enumerate.
CF_WYSIWYG, CF_PRINTERFONTS or CF_TTONLY
_____________________________
Marc Heiligers
-----Original Message-----
From: Vlada Djurovic [mailto:dj...@im...]
Sent: 01 October 2002 12:57 PM
To: DevC++ help
Subject: [Dev-C++] fonts
Hi.
I have a strange problem: I want to use ChooseFont API function to display
font selection dialog. I wrote a procedure, compiled, but when I start the
application and press choose font from the menu, I get the message: "There
are no fonts instaled. Open Fonts folder in Control Panel to install
fonts.". Of course, fonts are installed. I have Windows 2000 and DevCpp
4.9.5.0. Can anyone tell me what could cause this? Here is the code I wrote
to display font dialog:
case WM_COMMAND:
switch(LOWORD(wParam))
{
case ID_FORMAT_FONT:
{
CHOOSEFONT chFont;
chFont.lStructSize=sizeof(CHOOSEFONT);
chFont.hwndOwner=hwnd;
chFont.lpLogFont=&lFont;
chFont.iPointSize=1;
chFont.Flags=CF_INITTOLOGFONTSTRUCT|CF_EFFECTS;
chFont.rgbColors=RGB(0,0,0);
chFont.nFontType=REGULAR_FONTTYPE;
if(!ChooseFont(&chFont))
MessageBox(hwnd,"Error in font
dialog","Error",MB_OK|MB_ICONSTOP);
}
break;
}
|
|
From: Evandro H. R. <ero...@ro...> - 2002-10-01 13:11:42
|
Some body can help me how to compile the lib Mysql++ on DevC++? Thanks a lot... -------------------------------------- Evandro H. Rodrigues Ind=FAstrias ROMI S/A - Brazil Quality Assurance Dep F14-07 Phone: 55-19-455-9529 Fax: 55-19-455-9084 email: ero...@ro... |
|
From: <nu...@ya...> - 2002-10-01 12:00:45
|
null --------------------------------- 자동차 보험 33% ↓ 보험료 비교견적 서비스 - 야후! 금융정보 친구들과 함께 바꿔보세요 - 야후! 메신저 |
|
From: Daniel G. <sp...@ho...> - 2002-10-01 11:35:52
|
What about *this instead of this ? >From: metalseb <met...@fr...> >Reply-To: met...@fr... >To: Elizabeth Barham <sog...@ya...>,devcpp mailing list ><dev...@li...> >Subject: Re: [Dev-C++] ANSI C++ forbids implicit conversion from "void*" >Date: Tue, 01 Oct 2002 09:17:46 +0200 > >Thanx Elizabeth. I've already tried this solution but I can get no better >results. > >The errors occurs here : > >hHyperLinkWnd= CreateWindowEx(dwExStyle, > wcex.lpszClassName, > "", > dwStyle, > HypLinkData.cx,HypLinkData.cy, > size.cx,size.cy, > hWndParent, > NULL, > wcex.hInstance, > this); <- Here at the "this" pointer passing, compiling crashes > >I've tried to pass "NULL" as parameter but same results. > >I'm really stuck with this. > >Anybody ever tried to compile this class under DevCpp ? > >Kind regards > >-- >Seb > > > >------------------------------------------------------- >This sf.net email is sponsored by: DEDICATED SERVERS only $89! >Linux or FreeBSD, FREE setup, FAST network. Get your own server >today at http://www.ServePath.com/indexfm.htm >_______________________________________________ >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 _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |
|
From: Vlada D. <dj...@im...> - 2002-10-01 10:56:47
|
Hi.
I have a strange problem: I want to use ChooseFont API function to
display font selection dialog. I wrote a procedure, compiled, but when I
start the application and press choose font from the menu, I get the
message: =93There are no fonts instaled. Open Fonts folder in Control
Panel to install fonts.=94. Of course, fonts are installed. I have =
Windows
2000 and DevCpp 4.9.5.0. Can anyone tell me what could cause this? Here
is the code I wrote to display font dialog:
=20
case WM_COMMAND:
switch(LOWORD(wParam))
{
case ID_FORMAT_FONT:
{
CHOOSEFONT chFont;
chFont.lStructSize=3Dsizeof(CHOOSEFONT);
chFont.hwndOwner=3Dhwnd;
chFont.lpLogFont=3D&lFont;
chFont.iPointSize=3D1;
chFont.Flags=3DCF_INITTOLOGFONTSTRUCT|CF_EFFECTS;
chFont.rgbColors=3DRGB(0,0,0);
chFont.nFontType=3DREGULAR_FONTTYPE;
if(!ChooseFont(&chFont))
MessageBox(hwnd,"Error in font
dialog","Error",MB_OK|MB_ICONSTOP);
}
break;
}
|
|
From: 50415312 <504...@st...> - 2002-10-01 08:11:33
|
When I open a NEW c++ file,it shows error saying "can not create a code completion file and a default file.How can I solve it? |
|
From: metalseb <met...@fr...> - 2002-10-01 07:15:53
|
The error occurs at : while (fs!='.') strncpy(ls, fs, 1); ls is a string (In C point of view) and fs is a char. Char is not a string. You must consider strings as arrays of char. Arrays are seen like pointers to allocated memory in C. And char is a one-byte implementation of int. strncpy wants two pointers to arrays of char as first two parameters. You pass one pointer and one char (one int). Didn't tried this, but you should write : while (fs!='.') strncpy(ls, (char*)&fs, 1); Although getting an index initialised to 0 at the beginning of the loop and making loop look like this : while (fs!='.') ls[index++]=fs; ls[index]='\0'; Would be much better IMHO. Kind regards -- Seb |
|
From: metalseb <met...@fr...> - 2002-10-01 07:15:50
|
Thanx Elizabeth. I've already tried this solution but I can get no better results. The errors occurs here : hHyperLinkWnd= CreateWindowEx(dwExStyle, wcex.lpszClassName, "", dwStyle, HypLinkData.cx,HypLinkData.cy, size.cx,size.cy, hWndParent, NULL, wcex.hInstance, this); <- Here at the "this" pointer passing, compiling crashes I've tried to pass "NULL" as parameter but same results. I'm really stuck with this. Anybody ever tried to compile this class under DevCpp ? Kind regards -- Seb |