dev-cpp-users Mailing List for Dev-C++ (Page 68)
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: Raghavendra R <mai...@gm...> - 2007-02-08 10:20:51
|
Hello, I am not able to debug my code ie Not able to set the debugger ON I have looked into the FAQ list about the similar question and help manual, I followed the same steps but it's not working. Steps I have followed, 1. set break points in code and added even watch also 2. compiled and run the program-F9 3. click ->debug- it asks that your project does not have debug information whether to enable or not click:::::: yes 4. click -> debug again or click -> run time cursor The program is working fine. Where is the problem? I have varied some of the steps with little luck. Should I follow some extra steps? Please help me in setting my debugger. If you can give me step by step information, it will be of great help. Raghavendra |
From: Philip B. <phi...@pb...> - 2007-02-07 01:00:00
|
Hey everyone, I am trying to compile a program that uses Direct input 8, and I believe = that I have done everything correctly, but the linker will not include = dinput8.lib for some reason. I am using the Microsoft Direct X October = SDK release from 2006, so there should be no problem what so ever. It is = finding the file, that's for sure, but it is giving me a strange error = that I can't for the life of me figure out how to solve. The log is = below. Compiler: Default compiler Building Makefile: "C:\C++ tests\Direct input\Makefile.win" Finding dependencies for file: C:\C++ tests\Direct input\Direct = input.cpp Executing make... make.exe -f "C:\C++ tests\Direct input\Makefile.win" all g++.exe -c "Direct input.cpp" -o "Direct input.o" = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" = -I"C:/Dev-Cpp/include/c++/3.4.2/backward" = -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" = -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" =20 g++.exe "Direct input.o" -o "Direct input.exe" -L"C:/Dev-Cpp/lib" = -mwindows dxguid.lib dinput8.lib =20 Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' = unrecognized Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' = unrecognized Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' = unrecognized Direct input.o(.text+0x39):Direct input.cpp: undefined reference to = `DirectInput8Create@20' collect2: ld returned 1 exit status make.exe: *** ["Direct] Error 1 Execution terminated I simply can't make any sense out of it. Can anyone help? Thanks in advance. Regards Philip Bennefall |
From: Ken B. <kba...@ya...> - 2007-02-03 17:20:20
|
This is a very fundamental equation... I put 2 'float's in my program and multiplied them... I then used basic 'cout' to print out the decimals... The program internally rounded all 3 outputs to basically integers... It did not print the number to the right of the decimal... I thought I could use setprecision() to see number of decimals to right of decimals... but that did not work... ...so, why does dev4cpp do this...?... and... how do I make simple corrections for printing of decimals from floats...? Thks, ken --------------------------------- No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. |
From: Per W. <pw...@ia...> - 2007-02-01 18:42:02
|
The constant is defined in winbase.h. winbase.h is also included from windows.h When in trouble - always do a grep in the include directories. /Per W On Thu, 1 Feb 2007 k.a...@at... wrote: > I am trying to run a program but I keep getting an error message. The message is STD_OUTPUT_HANDLE undeclared. The line of code that I have in my program is > HANDLE hcon = Get Std Handle (STD_OUTPUT_HANDLE); > I am using Dev C++ version 4.9.8.0 can someone tell me if this version supports hcon? > > Kathy Elia > k.a...@at... |
From: <k.a...@at...> - 2007-02-01 18:34:35
|
I am trying to run a program but I keep getting an error message. The message is STD_OUTPUT_HANDLE undeclared. The line of code that I have in my program is HANDLE hcon = Get Std Handle (STD_OUTPUT_HANDLE); I am using Dev C++ version 4.9.8.0 can someone tell me if this version supports hcon? Kathy Elia k.a...@at... |
From: afpTeam <af...@sb...> - 2007-01-31 21:41:14
|
----- Original Message ----- From: "Steven Carter" <ste...@gm...> To: "Daniel D." <Dan...@gm...> Cc: <dev...@li...> Sent: Wednesday, January 31, 2007 4:27 PM Subject: Re: [Dev-C++] Fw: Dev-C++ looking for MSVCRT.DLL > 1. I've done really small things with Borland's IDE and MFC without > issue so MinGW/DevC++ should be little different as long as the libs > are there. Do you have a Windows Platform SDK? Any MFC libs should > be in that wouldn't they? (Okay, maybe not modern SDKs but in > deprecated ones. I'm sure there must be a repository somewhere.) I have MFC 4.n libs, but MingW seems to be choking on using them, or I don't know how to structure the compile to integrate it properly. Yes, I have the SDK as well, but not at 6.n and these are no longer supported to just download, as far as I could find. > > 2. Ideally that might be the case. Life isn't perfect. > > 3. For my part I'm stuck between the corporate world where VS rules > and my dream of writing cross platform apps that the entire world, > including Microserfs can enjoy. Ditto: :) Thanks. Mike > On 31/01/07, Daniel D. <dan...@gm...> wrote: >> Some points : >> >> 1. being a MS technology, MFC will scarcely help beyond Windows and VS. >> 2. you may probably have to rewrite the project, so that to make no use >> of >> the MFC :( >> 3. just wonder why would you use a different IDE anyway, as long as your >> system remains Windows >> >> >> >> >> DD >> /***************************************** >> these are just my personal opinions and thoughts >> *****************************************/ >> ----- Original Message ----- >> From: "afpTeam" <af...@sb...> >> To: <dev...@li...> >> Sent: Wednesday, January 31, 2007 7:31 PM >> Subject: [Dev-C++] Fw: Dev-C++ looking for MSVCRT.DLL >> >> >> > Hi list, >> > >> > I'm trying to build a pre-existing VS C++ 6.0 project in the current >> > 4.9.9.2 >> > MingW Dev-C++ IDE and sadly for starters, I only have 4.nn MFC libs on >> > board my XP system. >> > >> > Dev-C++ imported the solution/project. >> > I pointed the project includes directory at the MFC includes directory. >> > >> > The IDE identified the following macros for the project: >> > >> > Compiler: >> > -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_AFXDLL >> > >> > C++ compiler: >> > -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_AFXDLL >> > >> > Linker: (is empty) >> > >> > When I run compile, I get the following errors: >> > >> > ////////////////////// >> > In file included from C:/Devel_all/MSDEV/mfc/include/afx.h:27, >> > from C:/Devel_all/MSDEV/mfc/include/afxwin.h:19, >> > from dialogs/..\stdafx.h:10, >> > from dialogs/MailSendDlg.cpp:7: >> > C:/Devel_all/MSDEV/mfc/include/afxver_.h:128:3: #error Please use >> > the >> > /MD switch for _AFXDLL builds >> > C:/Devel_all/MSDEV/mfc/include/afxver_.h:133:3: #error Please use >> > the >> > /MD switch (multithreaded DLL C-runtime) >> > ////////////////////// >> > >> > When I follow them out I get... >> > >> > MailSendDlg.cpp says: #include "..\stdafx.h" >> > stdafx.h:10 says #include <afxwin.h> (MFC core) >> > afxwin.h:19 says #include <afx.h> >> > >> > afxver_.h 128 says >> > #if defined(_AFXDLL) && !defined(_DLL) >> > #error Please use the /MD switch for _AFXDLL builds >> > #endif >> > >> > afxver_.h 128 says >> > #ifndef _MAC >> > #if defined(_AFXDLL) && !defined(_MT) >> > #error Please use the /MD switch (multithreaded DLL C-runtime) >> > #endif >> > #endif >> > >> > It seems a little odd that the compiler is sending back a response >> > related >> > to "ifndef _MAC" so perhaps I have to find a way to tell the compiler >> > to >> > ignore this one? >> > >> > Apparently then I need to tell gcc to compile and link in MSVCRT.DLL to >> > support threading, either static or at runtime? >> > >> > Admittedly this is a lack of familiarity on my part in how to tell >> > Dev-C++ >> > and GCC to make this inclusion. >> > >> > So what is the best way to have Dev-C++ tell the comipler to manage >> > this? >> > >> > Thanks, >> > >> > Mike >> > > --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 000709-1, 01/31/2007 Tested on: 1/31/2007 4:40:56 PM avast! - copyright (c) 1988-2007 ALWIL Software. http://www.avast.com |
From: afpTeam <af...@sb...> - 2007-01-31 21:37:17
|
----- Original Message ----- From: "Daniel D." <dan...@gm...> To: "afpTeam" <af...@sb...>; <dev...@li...> Sent: Wednesday, January 31, 2007 4:13 PM Subject: Re: [Dev-C++] Fw: Dev-C++ looking for MSVCRT.DLL > Some points : > > 1. being a MS technology, MFC will scarcely help beyond Windows and VS. I keep finding mixed opinions as to whether or not calling into MFC from MingW should or shouldn't work. The MingW project shows msvcrt capability to exist which I thought would spoof or at least borrow on the MFC libs themselves, but then it seems to choke when running into MFC, so I can tell if the support is or isn't functional. I adopted a little project that was written in VS C++ 06 and I have only 04 rev. libs on board for one thing. I was hoping to keep the original project in it's basic native form and write "around" the differences, if practical. So far I have 14 errors and many are dependency issues, as stupid as glorified printf's, but in this case it looks to be coming down to socket threading issues which are not necessarily trivial to just "write around". > 2. you may probably have to rewrite the project, so that to make no use of > the MFC :( Yeah. It looks like hacking it up may be more trouble than it's worth, where if I could have created a maintainable crossover, the project would make sense to take on, where a re-write would be a little too much for the value of the effort. > 3. just wonder why would you use a different IDE anyway, as long as your > system remains Windows I would prefer to move away from M$ dependency and continue to look for cross platform ways of dealing with Windows applications. I really don't want to pay to upgrade old MFC libs for one little project, nor do I want to stay in VS C++. Express 2005 conversion to C++ would have been nice but of course Bill broke that off in our tailpipes by excluding MFC and other critical support unless you purchase the 2005 pro version of C++. I don't mind writing in C# 05 Express from scratch, when someone needs it but otherwise I continue to work toward MingW and keep most of my efforts closer to Linux based life, onboard the Win box as most of what I produce for my own purposes will be .Net Mono/standard M$. I'm having pretty good luck maintaining cross portability with some fairly substantial apps this way. Thanks for your words. Mike > > DD > /***************************************** > these are just my personal opinions and thoughts > *****************************************/ > ----- Original Message ----- > From: "afpTeam" <af...@sb...> > To: <dev...@li...> > Sent: Wednesday, January 31, 2007 7:31 PM > Subject: [Dev-C++] Fw: Dev-C++ looking for MSVCRT.DLL > > >> Hi list, >> >> I'm trying to build a pre-existing VS C++ 6.0 project in the current >> 4.9.9.2 >> MingW Dev-C++ IDE and sadly for starters, I only have 4.nn MFC libs on >> board my XP system. >> >> Dev-C++ imported the solution/project. >> I pointed the project includes directory at the MFC includes directory. >> >> The IDE identified the following macros for the project: >> >> Compiler: >> -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_AFXDLL >> >> C++ compiler: >> -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_AFXDLL >> >> Linker: (is empty) >> >> When I run compile, I get the following errors: >> >> ////////////////////// >> In file included from C:/Devel_all/MSDEV/mfc/include/afx.h:27, >> from C:/Devel_all/MSDEV/mfc/include/afxwin.h:19, >> from dialogs/..\stdafx.h:10, >> from dialogs/MailSendDlg.cpp:7: >> C:/Devel_all/MSDEV/mfc/include/afxver_.h:128:3: #error Please use the >> /MD switch for _AFXDLL builds >> C:/Devel_all/MSDEV/mfc/include/afxver_.h:133:3: #error Please use the >> /MD switch (multithreaded DLL C-runtime) >> ////////////////////// >> >> When I follow them out I get... >> >> MailSendDlg.cpp says: #include "..\stdafx.h" >> stdafx.h:10 says #include <afxwin.h> (MFC core) >> afxwin.h:19 says #include <afx.h> >> >> afxver_.h 128 says >> #if defined(_AFXDLL) && !defined(_DLL) >> #error Please use the /MD switch for _AFXDLL builds >> #endif >> >> afxver_.h 128 says >> #ifndef _MAC >> #if defined(_AFXDLL) && !defined(_MT) >> #error Please use the /MD switch (multithreaded DLL C-runtime) >> #endif >> #endif >> >> It seems a little odd that the compiler is sending back a response >> related >> to "ifndef _MAC" so perhaps I have to find a way to tell the compiler to >> ignore this one? >> >> Apparently then I need to tell gcc to compile and link in MSVCRT.DLL to >> support threading, either static or at runtime? >> >> Admittedly this is a lack of familiarity on my part in how to tell >> Dev-C++ >> and GCC to make this inclusion. >> >> So what is the best way to have Dev-C++ tell the comipler to manage this? >> >> Thanks, >> >> Mike >> --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 000709-1, 01/31/2007 Tested on: 1/31/2007 4:37:03 PM avast! - copyright (c) 1988-2007 ALWIL Software. http://www.avast.com |
From: Steven C. <ste...@gm...> - 2007-01-31 21:27:18
|
1. I've done really small things with Borland's IDE and MFC without issue so MinGW/DevC++ should be little different as long as the libs are there. Do you have a Windows Platform SDK? Any MFC libs should be in that wouldn't they? (Okay, maybe not modern SDKs but in deprecated ones. I'm sure there must be a repository somewhere.) 2. Ideally that might be the case. Life isn't perfect. 3. For my part I'm stuck between the corporate world where VS rules and my dream of writing cross platform apps that the entire world, including Microserfs can enjoy. On 31/01/07, Daniel D. <dan...@gm...> wrote: > Some points : > > 1. being a MS technology, MFC will scarcely help beyond Windows and VS. > 2. you may probably have to rewrite the project, so that to make no use of > the MFC :( > 3. just wonder why would you use a different IDE anyway, as long as your > system remains Windows > > > > > DD > /***************************************** > these are just my personal opinions and thoughts > *****************************************/ > ----- Original Message ----- > From: "afpTeam" <af...@sb...> > To: <dev...@li...> > Sent: Wednesday, January 31, 2007 7:31 PM > Subject: [Dev-C++] Fw: Dev-C++ looking for MSVCRT.DLL > > > > Hi list, > > > > I'm trying to build a pre-existing VS C++ 6.0 project in the current > > 4.9.9.2 > > MingW Dev-C++ IDE and sadly for starters, I only have 4.nn MFC libs on > > board my XP system. > > > > Dev-C++ imported the solution/project. > > I pointed the project includes directory at the MFC includes directory. > > > > The IDE identified the following macros for the project: > > > > Compiler: > > -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_AFXDLL > > > > C++ compiler: > > -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_AFXDLL > > > > Linker: (is empty) > > > > When I run compile, I get the following errors: > > > > ////////////////////// > > In file included from C:/Devel_all/MSDEV/mfc/include/afx.h:27, > > from C:/Devel_all/MSDEV/mfc/include/afxwin.h:19, > > from dialogs/..\stdafx.h:10, > > from dialogs/MailSendDlg.cpp:7: > > C:/Devel_all/MSDEV/mfc/include/afxver_.h:128:3: #error Please use the > > /MD switch for _AFXDLL builds > > C:/Devel_all/MSDEV/mfc/include/afxver_.h:133:3: #error Please use the > > /MD switch (multithreaded DLL C-runtime) > > ////////////////////// > > > > When I follow them out I get... > > > > MailSendDlg.cpp says: #include "..\stdafx.h" > > stdafx.h:10 says #include <afxwin.h> (MFC core) > > afxwin.h:19 says #include <afx.h> > > > > afxver_.h 128 says > > #if defined(_AFXDLL) && !defined(_DLL) > > #error Please use the /MD switch for _AFXDLL builds > > #endif > > > > afxver_.h 128 says > > #ifndef _MAC > > #if defined(_AFXDLL) && !defined(_MT) > > #error Please use the /MD switch (multithreaded DLL C-runtime) > > #endif > > #endif > > > > It seems a little odd that the compiler is sending back a response related > > to "ifndef _MAC" so perhaps I have to find a way to tell the compiler to > > ignore this one? > > > > Apparently then I need to tell gcc to compile and link in MSVCRT.DLL to > > support threading, either static or at runtime? > > > > Admittedly this is a lack of familiarity on my part in how to tell Dev-C++ > > and GCC to make this inclusion. > > > > So what is the best way to have Dev-C++ tell the comipler to manage this? > > > > Thanks, > > > > Mike > > > > > > > > --- > > avast! Antivirus: Outbound message clean. > > Virus Database (VPS): 000709-1, 01/31/2007 > > Tested on: 1/31/2007 12:31:18 PM > > avast! - copyright (c) 1988-2007 ALWIL Software. > > http://www.avast.com > > > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Daniel D. <dan...@gm...> - 2007-01-31 21:13:25
|
Some points : 1. being a MS technology, MFC will scarcely help beyond Windows and VS. 2. you may probably have to rewrite the project, so that to make no use of the MFC :( 3. just wonder why would you use a different IDE anyway, as long as your system remains Windows DD /***************************************** these are just my personal opinions and thoughts *****************************************/ ----- Original Message ----- From: "afpTeam" <af...@sb...> To: <dev...@li...> Sent: Wednesday, January 31, 2007 7:31 PM Subject: [Dev-C++] Fw: Dev-C++ looking for MSVCRT.DLL > Hi list, > > I'm trying to build a pre-existing VS C++ 6.0 project in the current > 4.9.9.2 > MingW Dev-C++ IDE and sadly for starters, I only have 4.nn MFC libs on > board my XP system. > > Dev-C++ imported the solution/project. > I pointed the project includes directory at the MFC includes directory. > > The IDE identified the following macros for the project: > > Compiler: > -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_AFXDLL > > C++ compiler: > -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_AFXDLL > > Linker: (is empty) > > When I run compile, I get the following errors: > > ////////////////////// > In file included from C:/Devel_all/MSDEV/mfc/include/afx.h:27, > from C:/Devel_all/MSDEV/mfc/include/afxwin.h:19, > from dialogs/..\stdafx.h:10, > from dialogs/MailSendDlg.cpp:7: > C:/Devel_all/MSDEV/mfc/include/afxver_.h:128:3: #error Please use the > /MD switch for _AFXDLL builds > C:/Devel_all/MSDEV/mfc/include/afxver_.h:133:3: #error Please use the > /MD switch (multithreaded DLL C-runtime) > ////////////////////// > > When I follow them out I get... > > MailSendDlg.cpp says: #include "..\stdafx.h" > stdafx.h:10 says #include <afxwin.h> (MFC core) > afxwin.h:19 says #include <afx.h> > > afxver_.h 128 says > #if defined(_AFXDLL) && !defined(_DLL) > #error Please use the /MD switch for _AFXDLL builds > #endif > > afxver_.h 128 says > #ifndef _MAC > #if defined(_AFXDLL) && !defined(_MT) > #error Please use the /MD switch (multithreaded DLL C-runtime) > #endif > #endif > > It seems a little odd that the compiler is sending back a response related > to "ifndef _MAC" so perhaps I have to find a way to tell the compiler to > ignore this one? > > Apparently then I need to tell gcc to compile and link in MSVCRT.DLL to > support threading, either static or at runtime? > > Admittedly this is a lack of familiarity on my part in how to tell Dev-C++ > and GCC to make this inclusion. > > So what is the best way to have Dev-C++ tell the comipler to manage this? > > Thanks, > > Mike > > > > --- > avast! Antivirus: Outbound message clean. > Virus Database (VPS): 000709-1, 01/31/2007 > Tested on: 1/31/2007 12:31:18 PM > avast! - copyright (c) 1988-2007 ALWIL Software. > http://www.avast.com > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
From: afpTeam <af...@sb...> - 2007-01-31 17:31:33
|
Hi list, I'm trying to build a pre-existing VS C++ 6.0 project in the current 4.9.9.2 MingW Dev-C++ IDE and sadly for starters, I only have 4.nn MFC libs on board my XP system. Dev-C++ imported the solution/project. I pointed the project includes directory at the MFC includes directory. The IDE identified the following macros for the project: Compiler: -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_AFXDLL C++ compiler: -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_AFXDLL Linker: (is empty) When I run compile, I get the following errors: ////////////////////// In file included from C:/Devel_all/MSDEV/mfc/include/afx.h:27, from C:/Devel_all/MSDEV/mfc/include/afxwin.h:19, from dialogs/..\stdafx.h:10, from dialogs/MailSendDlg.cpp:7: C:/Devel_all/MSDEV/mfc/include/afxver_.h:128:3: #error Please use the /MD switch for _AFXDLL builds C:/Devel_all/MSDEV/mfc/include/afxver_.h:133:3: #error Please use the /MD switch (multithreaded DLL C-runtime) ////////////////////// When I follow them out I get... MailSendDlg.cpp says: #include "..\stdafx.h" stdafx.h:10 says #include <afxwin.h> (MFC core) afxwin.h:19 says #include <afx.h> afxver_.h 128 says #if defined(_AFXDLL) && !defined(_DLL) #error Please use the /MD switch for _AFXDLL builds #endif afxver_.h 128 says #ifndef _MAC #if defined(_AFXDLL) && !defined(_MT) #error Please use the /MD switch (multithreaded DLL C-runtime) #endif #endif It seems a little odd that the compiler is sending back a response related to "ifndef _MAC" so perhaps I have to find a way to tell the compiler to ignore this one? Apparently then I need to tell gcc to compile and link in MSVCRT.DLL to support threading, either static or at runtime? Admittedly this is a lack of familiarity on my part in how to tell Dev-C++ and GCC to make this inclusion. So what is the best way to have Dev-C++ tell the comipler to manage this? Thanks, Mike --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 000709-1, 01/31/2007 Tested on: 1/31/2007 12:31:18 PM avast! - copyright (c) 1988-2007 ALWIL Software. http://www.avast.com |
From: Twanny A. <tw...@li...> - 2007-01-31 14:21:09
|
Hello dev-cpp-users, I just installed dev-cpp and I need the C++ context file help, where do I get it from? -- Best regards, Leopardus. |
From: Chino A. <chi...@gm...> - 2007-01-27 06:58:51
|
Hi, I'm seeing this error on /var/log/messages: Jan 23 20:01:20 buildsrvr kernel: bamd[19577]: segfault at 0000003a44630818 rip 0000003a44630818 rsp 00000000409ffeb8 error 15 what does this mean? Is there to trace this error? Application 'bamd' seems running ok though. I'm using RHEL4-x86_64 on a AMD64 machine... Regards, Chino |
From: Hariyanto <xho...@gm...> - 2007-01-26 01:41:15
|
Sorry about this out topic, because i don't know where to ask this question. tx I just want to format number using thousand separator and decimal. a. On linux I use strfmon function. I have install gtkwin32 dev and compile with dev-cpp. But i got error about strfmon. How i can solve this error? b. Or Where I search sample code to get thousand separator and decimal on win xp? thx Hariyanto sorry about my poor english. |
From: Per W. <pw...@ia...> - 2007-01-25 12:49:22
|
About Unix: The "$" token is actually the "&" token, and it is used to run an application in the background, using the current console. The application still has a console, and will die when the console dies. It is _very_ hard to start a console applicatin from a graphical application, without getting a console window. To my knowledge, you have to intercept and replace a couple of Win32 API functions, to manage it. A far simpler method is to let the console be crated, and then minimized. /Per W On Thu, 25 Jan 2007, Daniel Datcu wrote: > I think you should call it as a background process, as by adding the "$" > token to commands in unix > > Use the Force ! > lol > ----- Original Message ----- > From: "LUKE" <lu...@tc...> > To: <dev...@li...> > Sent: Thursday, January 25, 2007 12:14 PM > Subject: [Dev-C++] How to complie src to none-gui program? > > > > I need to call a command_line(CM1.EXE) from another program(APP1.pl). > > in APP.pl (PERL) > > > > #!perl.exe > > system('/path/CM1.EXE 1234>file.txt'); > > > > But the CM1.exe will show the console window. > > How to avoid the CM1.exe show the console window? > > > > > > > -------------------------------------------------------------------------------- > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > -------------------------------------------------------------------------------- > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > |
From: Daniel D. <dan...@gm...> - 2007-01-25 12:34:49
|
I think you should call it as a background process, as by adding the "$" token to commands in unix Use the Force ! lol ----- Original Message ----- From: "LUKE" <lu...@tc...> To: <dev...@li...> Sent: Thursday, January 25, 2007 12:14 PM Subject: [Dev-C++] How to complie src to none-gui program? > I need to call a command_line(CM1.EXE) from another program(APP1.pl). > in APP.pl (PERL) > > #!perl.exe > system('/path/CM1.EXE 1234>file.txt'); > > But the CM1.exe will show the console window. > How to avoid the CM1.exe show the console window? > > -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------------------------------------------------------------------------- > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: LUKE <lu...@tc...> - 2007-01-25 10:14:48
|
I need to call a command_line(CM1.EXE) from another program(APP1.pl). in APP.pl (PERL) #!perl.exe system('/path/CM1.EXE 1234>file.txt'); But the CM1.exe will show the console window. How to avoid the CM1.exe show the console window? |
From: <ta...@fe...> - 2007-01-17 19:00:14
|
(Apologies for cross-posting) =20 --------------------------------------------------------------------- International ECCOMAS Thematic Conference VipIMAGE 2007 - I ECCOMAS = THEMATIC CONFERENCE ON COMPUTATIONAL VISION AND MEDICAL IMAGE PROCESSING 17-19th October 2007, FEUP, Porto, Portugal www.fe.up.pt/VIPIMAGE --------------------------------------------------------------------- =20 Latest News =20 -Registration and Extend Abstracts Submission are open (www.fe.up.pt/~vipimage/html/conference/authors_area.html); -The proceedings book of VipIMAGE will be published by the Taylor & = Francis Group (www.balkema.nl/instructions.asp); -Extend versions of papers presented in VipIMAGE on topics related with Simulation and Modelling could be published in the International Journal = of Simulation Modelling (www.ijsimm.com); -Extend versions of papers presented in VipIMAGE on topics related with Computational Vision and Biomechanics could be published in the new International Journal for Computational Vision and Biomechanics (www.fe.up.pt/~ijcvb). =20 Important dates -Submission of extended abstracts: March 15, 2007; -Authors Notification: April 15, 2007; -Lectures and Final Papers: May 15, 2007; -Early registration fee: May 31, 2007. =20 Invited Lectures -=93Automatic Generation of Computer Models from Multi-modal Bio-medical Imaging=94, Chandrajit Bajaj - University of Texas, USA -"Computational Bioimaging and Visualization", Chris Johnson - = University of Utah, USA -"From Geometrical Models to Physiological Models of the Human Body", = Herv=E9 Delingette - Institut National de Recherche en Informatique, France -"Latest advances in Cardiovascular Informatics", Ioannis A. Kakadiaris = - University of Houston, USA -"Robust Algorithms for Deformable Contours", Jorge S. Marques - = Instituto Superior T=E9cnico, Portugal -"Image Sequence Evaluation", Juan J. Villanueva - Universitat = Aut=F2noma de Barcelona, Spain -"Fast Surface Segmentation and remeshing by finding geodesics", Laurent Cohen - Universit=E9 Paris Dauphine, France -"Processing of Simultaneous acquisition of EEG and fMRI", Mario Forjaz Secca - Universidade Nova de Lisboa, Portugal -"Automatic Construction of Statistical Shape Models using Non-Rigid Registration", Tim Cootes - University of Manchester, UK Kind regards, Jo=E3o Manuel R. S. Tavares Renato Natal Jorge (conference co-chairs) Please Note: You can obtain a PDF flyer of the VipIMAGE at: www.fe.up.pt/~vipimage/files/Flyer_VipIMAGE.pdf; a poster at: www.fe.up.pt/~vipimage/files/Poster_A3_VIPIMAGE.pdf; and the logos at: www.fe.up.pt/~vipimage/files/Logos_VIPIMAGE.zip. |
From: Noorez K. <lor...@ho...> - 2007-01-16 01:41:33
|
When using the fstream, are the seekp and seekg act on two different pointe= rs or on the same one?... If its on the same one, if seekp moves the pointer to one position, would s= eekg need to reposition the pointer again? _________________________________________________________________ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=3D5d21c51a-b161-4314-9b0e-= 4911fb2b2e6d= |
From: Per W. <pw...@ia...> - 2007-01-12 02:45:27
|
Note that non-lossy audio compression (I'm definitely not talking about zip :) or similar) have a hard time giving more than 30-50% compression for music. Software that needs to be delivered with audio samples often requires non-lossy audio (instrument samplings for a sequencer software) or have too small sample files for it to be worth it to bother with mp3 or similar (informational/error sounds or speech messages). Consider for example an application I developed at a previous employer. It was delivered with alarm messages. Let's assume 50 different alarm messages, each about 3 seconds long. 150 seconds times 22kHz 16-bit mono is less than 7MB total size. The need for sound compression would in this case be quite small, and I think this would be representable for quite a large percentage of applications that are distributed with sound data. The other end of the spectrum is of course high-end sequencer software, that might be delivered with many GB of sound samples, but then the requirements are often 24-bit non-lossy audio. While multimedia players make good use of (lossy) compressed audio, I really don't think they are representative of software that are distributed with audio. You get the player without any sound clips, and you then collect your music separately. /Per W On Thu, 11 Jan 2007, Roger Furer wrote: > Aloha from honolulu, > If you use a .wav file this is usually uncompressed audio. There > are several compressed audio formats .mp3, .m4a, etc. Microsoft and > Apple each have their own formats that Windows Media Player and iTunes > use. I'm not sure about Unix/Linux, but the point is audio compression > formats exist and deliver reasonable results. Don't try to compress a > .wav file into a .zip and expect to enjoy the listening experience. > (Although that isn't based on my experience--I've never tried it.) > In professional recording the trend now is to record the tracks at > the higest resolution, now 24-bit/196KHz sample rate. Then mix to > stereo file (at same res) then downsample to meet spec for various > formats. Audio DVDs are 24-bit/96KHz and CDs are 16-bit/44.1KHz. Audio > for video is usually 16-bit/48KHz. Note that none of this is > compressed, it is just using less of the original information. > MP3 (MPEG-1 Audio Layer 3) on the other hand is defined as a lossy > compression format where "inaudible" data is removed from the audio > file. Look up "MP3" in Wikipedia http://en.wikipedia.org/wiki/MP3 the > article has information on the various formats in use today. > The compression ratios are quite impressive, but you must choose > what type of compression you use, based on the audio material involved. > Speech can be compressed the most. Loud, hard rock and roll music can > handle a lot of compression. Delicate classical music with large > dynamic range will suffer the most from compression. If you have the > time and tools, run the audio through an oscilloscope and compare > uncompressed to compressed. > Hope this is helpful. > Aloha, > Roger Furer > > Per Westermark wrote: > > > Note that sound is very hard to compress, and for most applications it > > isn't meaningful to spend any time to compress/decompress it. > > > > The only situations where compression is important is when used in flash > > memory of small hand-held devices, or if transmitted over a > > bandwidth-limited media, such as using a GPRS phone. > > > > Cmpiling audio or images into an application is quite often done, and > > works very well. By having the information in the exe file - or even > > better in one or more dll files - the OS will be able to throw away the > > information in case of a mermory contention. If the information is read in > > from a data file (read in, instead of memory-mapped), the OS must swap out > > the information so that it can restore the information later without > > letting the application know about it. Information stored in resource > > files, the exe file or a dll file does not need to be swapped, since the > > OS specifically knows how to load the information on demand directly > > from the original source. > > > > /Per W > > > > On Thu, 11 Jan 2007, Pedro Perez wrote: > > > > > >>Hello; > >> > >> Is not advisable to include a complete audio file in your program, maybe if is a small file you can include it as a resource file. > >> > >> I think the best you can do is to pack it in a file in some format you desire (*.dat), unpack it and use it as desire. (Tip: You can apply a compress format leaving the .dat extension and then encrypt it, that helps too). > >> > >> > >> > >>____________________________________________________________________________________ > >>Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. > >> > >>------------------------------------------------------------------------- > >>Take Surveys. Earn Cash. Influence the Future of IT > >>Join SourceForge.net's Techsay panel and you'll get the chance to share your > >>opinions on IT & business topics through brief surveys - and earn cash > >>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >>_______________________________________________ > >>Dev-cpp-users mailing list > >>Dev...@li... > >>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > >> > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Roger F. <ra...@ha...> - 2007-01-12 02:21:24
|
Aloha from honolulu, If you use a .wav file this is usually uncompressed audio. There are several compressed audio formats .mp3, .m4a, etc. Microsoft and Apple each have their own formats that Windows Media Player and iTunes use. I'm not sure about Unix/Linux, but the point is audio compression formats exist and deliver reasonable results. Don't try to compress a .wav file into a .zip and expect to enjoy the listening experience. (Although that isn't based on my experience--I've never tried it.) In professional recording the trend now is to record the tracks at the higest resolution, now 24-bit/196KHz sample rate. Then mix to stereo file (at same res) then downsample to meet spec for various formats. Audio DVDs are 24-bit/96KHz and CDs are 16-bit/44.1KHz. Audio for video is usually 16-bit/48KHz. Note that none of this is compressed, it is just using less of the original information. MP3 (MPEG-1 Audio Layer 3) on the other hand is defined as a lossy compression format where "inaudible" data is removed from the audio file. Look up "MP3" in Wikipedia http://en.wikipedia.org/wiki/MP3 the article has information on the various formats in use today. The compression ratios are quite impressive, but you must choose what type of compression you use, based on the audio material involved. Speech can be compressed the most. Loud, hard rock and roll music can handle a lot of compression. Delicate classical music with large dynamic range will suffer the most from compression. If you have the time and tools, run the audio through an oscilloscope and compare uncompressed to compressed. Hope this is helpful. Aloha, Roger Furer Per Westermark wrote: > Note that sound is very hard to compress, and for most applications it > isn't meaningful to spend any time to compress/decompress it. > > The only situations where compression is important is when used in flash > memory of small hand-held devices, or if transmitted over a > bandwidth-limited media, such as using a GPRS phone. > > Cmpiling audio or images into an application is quite often done, and > works very well. By having the information in the exe file - or even > better in one or more dll files - the OS will be able to throw away the > information in case of a mermory contention. If the information is read in > from a data file (read in, instead of memory-mapped), the OS must swap out > the information so that it can restore the information later without > letting the application know about it. Information stored in resource > files, the exe file or a dll file does not need to be swapped, since the > OS specifically knows how to load the information on demand directly > from the original source. > > /Per W > > On Thu, 11 Jan 2007, Pedro Perez wrote: > > >>Hello; >> >> Is not advisable to include a complete audio file in your program, maybe if is a small file you can include it as a resource file. >> >> I think the best you can do is to pack it in a file in some format you desire (*.dat), unpack it and use it as desire. (Tip: You can apply a compress format leaving the .dat extension and then encrypt it, that helps too). >> >> >> >>____________________________________________________________________________________ >>Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. >> >>------------------------------------------------------------------------- >>Take Surveys. Earn Cash. Influence the Future of IT >>Join SourceForge.net's Techsay panel and you'll get the chance to share your >>opinions on IT & business topics through brief surveys - and earn cash >>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Per W. <pw...@ia...> - 2007-01-11 18:42:43
|
Note that sound is very hard to compress, and for most applications it isn't meaningful to spend any time to compress/decompress it. The only situations where compression is important is when used in flash memory of small hand-held devices, or if transmitted over a bandwidth-limited media, such as using a GPRS phone. Cmpiling audio or images into an application is quite often done, and works very well. By having the information in the exe file - or even better in one or more dll files - the OS will be able to throw away the information in case of a mermory contention. If the information is read in from a data file (read in, instead of memory-mapped), the OS must swap out the information so that it can restore the information later without letting the application know about it. Information stored in resource files, the exe file or a dll file does not need to be swapped, since the OS specifically knows how to load the information on demand directly from the original source. /Per W On Thu, 11 Jan 2007, Pedro Perez wrote: > Hello; > > Is not advisable to include a complete audio file in your program, maybe if is a small file you can include it as a resource file. > > I think the best you can do is to pack it in a file in some format you desire (*.dat), unpack it and use it as desire. (Tip: You can apply a compress format leaving the .dat extension and then encrypt it, that helps too). > > > > ____________________________________________________________________________________ > Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Pedro P. <eje...@ya...> - 2007-01-11 17:55:53
|
Hello;=0A=0A Is not advisable to include a complete audio file in your pr= ogram, maybe if is a small file you can include it as a resource file.=0A= =0A I think the best you can do is to pack it in a file in some format y= ou desire (*.dat), unpack it and use it as desire. (Tip: You can apply a co= mpress format leaving the .dat extension and then encrypt it, that helps to= o).=0A=0A=0A =0A___________________________________________________________= _________________________=0AAny questions? Get answers on any topic at www.= Answers.yahoo.com. Try it now. |
From: Noah S. <nsh...@cs...> - 2007-01-08 15:40:51
|
Greetings, We're using Dev-C++ here at our university for our intro programming class. We would like to set the program up to store the code completion cache in a central location on a lab computer, rather than each individual user having to generate the code completion cache the first time they use Dev-C++, and store it in their user profile, adding an extra >10MB per user to our file server. I've tried doing this by telling Dev-C++ to use an alternative location for the cache (first I used "C:\Dev-Cpp", then tried "C:\Documents and Settings\All Users\Application Data\Dev-Cpp"). When I do this, however, the program generates an essentially empty cache. If I then run the program, go to options, and explicitly add the include files to the cache, it goes ahead and creates the cache in the user directory instead of putting it where I told it to put the cache when I first ran the program. Is it possible to generate the cache once and have all users use that cache rather than individually storing the cache in each person's user space? If this is not currently possible, can someone point me to which source code files I might have to modify to implement this feature? Thanks, -- Noah Sheppard Computer Systems Support Engineer Taylor University CSS Department nsh...@cs... |
From: Philip B. <phi...@pb...> - 2007-01-05 21:18:11
|
Hello, I have another question. How do I create a simple COM Dll in Dev? Basically one that has a Prog and a Class ID like my.control, etc etc. And that has properties, methods and events and that can be called from other languages that support Com objects like Vb script. It might not be as simple as I think, but if anyone has a very, very simple example let me know. I'm not looking to go in depth, simply to make a few Com dll and distribute them. Thanks. Regards Philip Bennefall |
From: Mayorga, A. C. N. N. N. <arm...@na...> - 2007-01-05 19:57:59
|
=20 -----Original Message----- From: Mayorga, Armando CTR NIOC Norfolk N361=20 Sent: Friday, January 05, 2007 14:53 To: 'Philip Bennefall' Subject: RE: [Dev-C++] New to the list, and a quick question For what your looking to do I would check out http://www.lesser-software.com/en/content/products/Thinstall.htm I think that would be easiest for you Good luck AJ=20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Philip Bennefall Sent: Friday, January 05, 2007 14:35 To: dev...@li... Subject: [Dev-C++] New to the list, and a quick question =20 Hello everyone. =20 My name is Philip Bennefall, I am an audio producer and game programmer from Sweden. I am just getting into C++, before now I've been working with high level languages. But lately I've started to feel that they simply are not good enough for my needs, they limit me too much in what I can do. I'm a complete beginner at the actual C++ language, although I know programming well. My first question is, in Dev C++, is it possible to pack for example a sound file into your executable and then access it directly from memory inside of the application? That is, without ever extracting it on to the users harddrive. That way, noone will be able to see the file unless they know how to disassemble executables which is certainly beyond me. Basically I just want to put the file in the executable together with my code and be able to access it directly with a memory address or perhaps a buffer pointer. =20 If anyone can answer this, I'd be very glad. =20 Thanks in advance. =20 Regards Philip Bennefall |