dev-cpp-users Mailing List for Dev-C++ (Page 112)
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: Ray K. <kul...@wr...> - 2005-08-11 20:43:23
|
fflush(stdin) isn't portable either, so that should probably be replaced
with cin.ignore(8) or something. (with the argument being greater if you
anticipate more than 8 chars of garbage in the stdin queue).
On Thu, 11 Aug 2005 08:35:45 -0700, Per Westermark <pw...@ia...>
wrote:
> Note that system("pause") isn't portable, and that Markella did post a
> solution similar in function to system("pause").
>
> /Per W
>
> On Thu, 11 Aug 2005, Lamana, Michael wrote:
>
>> Sounds more like a missing 'system("PAUSE");' statement. If the input
>> is the last thing in the program, it is probably just terminating
>> normally and closing the shell.
>>
>> -----Original Message-----
>> From: dev...@li...
>> [mailto:dev...@li...] On Behalf Of Markella
>> Krisztian
>> Sent: Thursday, August 11, 2005 6:14 AM
>> To: dev...@li...
>> Subject: Re: [Dev-C++] Execution Problem
>>
>> #include <iostream>
>> using namespace std;
>>
>> int main(int argc, char *argv[])
>> {
>> cout << "give me a number: "; int number; cin >> number;
>> cout << "you typed this number: " << number << endl;
>>
>> //maybe you need just this
>> //you wait for an Enter and keep the window open
>> fflush(stdin); cin.get();
>> return 0;
>> }
>> Krisztian
>>
>> >Hi,
>> >
>> >Whenever I enter the input data and hit enter, the output is not
>> >displayed and the run window closes immediately. i am using Dev C++
>> >4.9.9.2.
|
|
From: Steve H. <st...@sj...> - 2005-08-11 19:36:15
|
Mark Ament wrote:
> Hi Steve,
>
> I'm using your suggestion, but it has no effect.
> I still get an error from CoCreateInstance: 0x800401F0
> It is CO_E_NOTINITIALIZED
> 'Failed to connect to server'
>
> Surfing the internet results in hints that it may have something to do
> with 'MsiInstaller', 'Events'.
> 'Exchange Server 5.5 Service Pack 2 (SP2)', 'CoInitialize has not been
> called'.
>
> I tried using OleInitialize(..) or CoInitializeEx(..) but these crash!
>
> I've now found the solution!
> I use CoInitialize(NULL) in stead of CoInitializeEx(..)
>
> Thanks for your help by the way :)
>
> greetings,
>
> Mark Ament
>
> ----- Original Message ----- From: "Steve Higham" <st...@sj...>
> To: "Mark Ament" <am...@ho...>
> Cc: <dev...@li...>
> Sent: Thursday, August 11, 2005 7:05 PM
> Subject: Re: [Dev-C++] Windows, COM, CoCreateInstance and OleInitialize
>
>
>> Mark Ament wrote:
>>
>>> Hi there!
>>> I was trying all possibilities of DEV-C++ and I was pretty excited
>>> about it.
>>> But I've encountered a problem.
>>> In the Windows-operating-systems it is pretty important to use
>>> components (COM).
>>> I've made a "windows application" project and added the following code:
>>> ----------------------------------------
>>> const CLSID CLSID_Printing =
>>> {0x76A73923,0xD88C,0x11D6,{0xB5,0x51,0xEB,0xCE,0x0B,0x59,0xDA,0x72}};
>>> const IID IID_IUnknown =
>>> {0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}};
>>> const IID IID_IClassFactory
>>> ={0x00000001,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}};
>>> const CLSID CLSID_MySimpleObj
>>> ={0x14C0CBCC,0x8E68,0x4BB0,{0xB4,0x49,0x2D,0x9D,0xFB,0x80,0x9A,0x16}};
>>> const IID IID_IMySimpleObj
>>> ={0x14C0CBCD,0x8E68,0x4BB0,{0xB4,0x49,0x2D,0x9D,0xFB,0x80,0x9A,0x16}};
>>> interface IMySimpleObj : public IUnknown {
>>> virtual HRESULT msg()=0;
>>> };
>>> int WINAPI WinMain (HINSTANCE hThisInstance,
>>> HINSTANCE hPrevInstance,
>>> LPSTR lpszArgument,
>>> int nFunsterStil) {
>>> MessageBox(0,"Test Start..","Project2",0);
>>> //OleInitialize(0); //<-Creates a crash!
>>> IUnknown * schaap;
>>> schaap = NULL;
>>> HRESULT hr;
>>> hr =
>>> CoCreateInstance(CLSID_MySimpleObj,0,CLSCTX_INPROC,IID_IUnknown,(void**)&schaap);
>>>
>>> if (schaap!=NULL) {
>>> MessageBox(0,"Test CoCreateInstance Worked!","Project2",0);
>>> schaap->Release();
>>> schaap = NULL;
>>> }
>>> //OleUninitialize();
>>> MessageBox(0,"Test Done..","Project2",0);
>>> //HERE THE REST OF THE WinMain-Code!
>>> }
>>>
>>> ----------------------------------------
>>> Secondly: in the menu 'Project' -> 'Project Options' --tab->
>>> Parameters --button-> Add Library or Object
>>> I've added the OLE32.LIB from Microsoft Visual C++ 5.0.
>>> The problem is that CoCreateInstance never succeeds in creating an
>>> object!
>>> So I also tried to do a "OleInitialize(0)", but this one always
>>> results in crashing!
>>> I hope this problem can be solved to meet the important requirement
>>> of using COM in DEV-C++ !
>>> greetings,
>>> Mark Ament
>>
>>
>> Hi Mark,
>>
>> I'm using COM without any problems.
>>
>> I'm using the libraries that came with Dev-Cpp - Try using
>> Dev-Cpp\lib\libole32.a. This should work fine.
>>
>> Regards,
>>
>> Steve
>>
>> --
>>
>> Steve Higham
>>
>> › st...@sj... <mailto:st...@sj...>
>>
>>
>
>
>
Hi Mark,
My code also uses CoInitialize(NULL).
Regards,
Steve
--
Steve Higham
› st...@sj... <mailto:st...@sj...>
|
|
From: Mark A. <am...@ho...> - 2005-08-11 17:39:27
|
Hi Steve,
I'm using your suggestion, but it has no effect.
I still get an error from CoCreateInstance: 0x800401F0
It is CO_E_NOTINITIALIZED
'Failed to connect to server'
Surfing the internet results in hints that it may have something to do with
'MsiInstaller', 'Events'.
'Exchange Server 5.5 Service Pack 2 (SP2)', 'CoInitialize has not been
called'.
I tried using OleInitialize(..) or CoInitializeEx(..) but these crash!
I've now found the solution!
I use CoInitialize(NULL) in stead of CoInitializeEx(..)
Thanks for your help by the way :)
greetings,
Mark Ament
----- Original Message -----
From: "Steve Higham" <st...@sj...>
To: "Mark Ament" <am...@ho...>
Cc: <dev...@li...>
Sent: Thursday, August 11, 2005 7:05 PM
Subject: Re: [Dev-C++] Windows, COM, CoCreateInstance and OleInitialize
> Mark Ament wrote:
>
>> Hi there!
>> I was trying all possibilities of DEV-C++ and I was pretty excited about
>> it.
>> But I've encountered a problem.
>> In the Windows-operating-systems it is pretty important to use components
>> (COM).
>> I've made a "windows application" project and added the following code:
>> ----------------------------------------
>> const CLSID CLSID_Printing =
>> {0x76A73923,0xD88C,0x11D6,{0xB5,0x51,0xEB,0xCE,0x0B,0x59,0xDA,0x72}};
>> const IID IID_IUnknown =
>> {0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}};
>> const IID IID_IClassFactory
>> ={0x00000001,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}};
>> const CLSID CLSID_MySimpleObj
>> ={0x14C0CBCC,0x8E68,0x4BB0,{0xB4,0x49,0x2D,0x9D,0xFB,0x80,0x9A,0x16}};
>> const IID IID_IMySimpleObj
>> ={0x14C0CBCD,0x8E68,0x4BB0,{0xB4,0x49,0x2D,0x9D,0xFB,0x80,0x9A,0x16}};
>> interface IMySimpleObj : public IUnknown {
>> virtual HRESULT msg()=0;
>> };
>> int WINAPI WinMain (HINSTANCE hThisInstance,
>> HINSTANCE hPrevInstance,
>> LPSTR lpszArgument,
>> int nFunsterStil) {
>> MessageBox(0,"Test Start..","Project2",0);
>> //OleInitialize(0); //<-Creates a crash!
>> IUnknown * schaap;
>> schaap = NULL;
>> HRESULT hr;
>> hr =
>> CoCreateInstance(CLSID_MySimpleObj,0,CLSCTX_INPROC,IID_IUnknown,(void**)&schaap);
>> if (schaap!=NULL) {
>> MessageBox(0,"Test CoCreateInstance Worked!","Project2",0);
>> schaap->Release();
>> schaap = NULL;
>> }
>> //OleUninitialize();
>> MessageBox(0,"Test Done..","Project2",0);
>> //HERE THE REST OF THE WinMain-Code!
>> }
>>
>> ----------------------------------------
>> Secondly: in the menu 'Project' -> 'Project Options' --tab->
>> Parameters --button-> Add Library or Object
>> I've added the OLE32.LIB from Microsoft Visual C++ 5.0.
>> The problem is that CoCreateInstance never succeeds in creating an
>> object!
>> So I also tried to do a "OleInitialize(0)", but this one always results
>> in crashing!
>> I hope this problem can be solved to meet the important requirement of
>> using COM in DEV-C++ !
>> greetings,
>> Mark Ament
>
> Hi Mark,
>
> I'm using COM without any problems.
>
> I'm using the libraries that came with Dev-Cpp - Try using
> Dev-Cpp\lib\libole32.a. This should work fine.
>
> Regards,
>
> Steve
>
> --
>
> Steve Higham
>
> › st...@sj... <mailto:st...@sj...>
>
>
|
|
From: Steve H. <st...@sj...> - 2005-08-11 17:19:52
|
Per Westermark wrote: >Note that Libs= is empty and that the linking is done using the full >library name (excluding path). > >Note that the libraries are not specified with the -l parameter, so gcc >will not care about any library paths (-Lxxx). > >An expected link line should have looked like: > >gcc ... -L"C:/Dev-Cpp/lib -lole32 -loleaut32 > >/Per W > >On Thu, 11 Aug 2005, Steve Higham wrote: > > > >>sudhir kumar wrote: >> >>[Project] >> >>Libs= >> >>Linker=libole32.a_@@_liboleaut32.a _@@_ >> >>This is now portable. However is does not compile. The compile log is as >>follows: >> >>Compiler: Default compiler >> >>Building Makefile: "C:\Documents and Settings\Steve Higham\My >>Documents\Dev\ConsoleTest\Makefile.win" >> >>Executing make clean >> >>rm -f main.o ConsoleTest.exe >> >>g++.exe -D__DEBUG__ -c main.cpp -o main.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" -g3 >> >>g++.exe -D__DEBUG__ main.o -o "ConsoleTest.exe" -L"C:/Dev-Cpp/lib" >>libole32.a liboleaut32.a -g3 >> >>g++.exe: libole32.a: No such file or directory >> >>g++.exe: liboleaut32.a: No such file or directory >> >>make.exe: *** [ConsoleTest.exe] Error 1 >> >>Execution terminated >> >> >>I don't understand why this fails. The -L switch identifies the correct >>directory (C:/Dev-Cpp/lib) and the lib names are correct. This is the issue. >> >>It's probably not the most important issue in the world. But it would be >>nice to resolve it. >> >>Kind Regards, >> >>Steve >> >>-- >> >>Steve Higham >> >>› st...@sj... <mailto:st...@sj...> >> >> > > > > Per, You're quite right. Replacing "C:\Dev-Cpp\lib\libole32.a" with "-lole32" in the Parameters - Linker box has resolved the issue. Many Thanks, Steve -- Steve Higham › st...@sj... <mailto:st...@sj...> |
|
From: Steve H. <st...@sj...> - 2005-08-11 17:06:03
|
Mark Ament wrote:
> Hi there!
> I was trying all possibilities of DEV-C++ and I was pretty excited
> about it.
> But I've encountered a problem.
> In the Windows-operating-systems it is pretty important to use
> components (COM).
> I've made a "windows application" project and added the following code:
> ----------------------------------------
> const CLSID CLSID_Printing =
> {0x76A73923,0xD88C,0x11D6,{0xB5,0x51,0xEB,0xCE,0x0B,0x59,0xDA,0x72}};
> const IID IID_IUnknown =
> {0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}};
> const IID IID_IClassFactory
> ={0x00000001,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}};
> const CLSID CLSID_MySimpleObj
> ={0x14C0CBCC,0x8E68,0x4BB0,{0xB4,0x49,0x2D,0x9D,0xFB,0x80,0x9A,0x16}};
> const IID IID_IMySimpleObj
> ={0x14C0CBCD,0x8E68,0x4BB0,{0xB4,0x49,0x2D,0x9D,0xFB,0x80,0x9A,0x16}};
> interface IMySimpleObj : public IUnknown {
> virtual HRESULT msg()=0;
> };
> int WINAPI WinMain (HINSTANCE hThisInstance,
> HINSTANCE hPrevInstance,
> LPSTR lpszArgument,
> int nFunsterStil) {
> MessageBox(0,"Test Start..","Project2",0);
> //OleInitialize(0); //<-Creates a crash!
> IUnknown * schaap;
> schaap = NULL;
> HRESULT hr;
> hr =
> CoCreateInstance(CLSID_MySimpleObj,0,CLSCTX_INPROC,IID_IUnknown,(void**)&schaap);
> if (schaap!=NULL) {
> MessageBox(0,"Test CoCreateInstance Worked!","Project2",0);
> schaap->Release();
> schaap = NULL;
> }
> //OleUninitialize();
> MessageBox(0,"Test Done..","Project2",0);
> //HERE THE REST OF THE WinMain-Code!
> }
>
> ----------------------------------------
> Secondly: in the menu 'Project' -> 'Project Options' --tab->
> Parameters --button-> Add Library or Object
> I've added the OLE32.LIB from Microsoft Visual C++ 5.0.
> The problem is that CoCreateInstance never succeeds in creating an object!
> So I also tried to do a "OleInitialize(0)", but this one always
> results in crashing!
> I hope this problem can be solved to meet the important requirement of
> using COM in DEV-C++ !
> greetings,
> Mark Ament
Hi Mark,
I'm using COM without any problems.
I'm using the libraries that came with Dev-Cpp - Try using
Dev-Cpp\lib\libole32.a. This should work fine.
Regards,
Steve
--
Steve Higham
› st...@sj... <mailto:st...@sj...>
|
|
From: lordSauron <lor...@gm...> - 2005-08-11 16:58:19
|
yes that is a good point. You really should use ignore() or something like that as opposed to system() commands because they are deathly non-portable. Making them portable is really a pain too. However, system() commands are necessary in certain situations so don't shelf the idea entirely. |
|
From: Per W. <pw...@ia...> - 2005-08-11 16:32:20
|
Note that Libs=3D is empty and that the linking is done using the full library name (excluding path). Note that the libraries are not specified with the -l parameter, so gcc will not care about any library paths (-Lxxx). An expected link line should have looked like: gcc ... -L"C:/Dev-Cpp/lib -lole32 -loleaut32 /Per W On Thu, 11 Aug 2005, Steve Higham wrote: > sudhir kumar wrote: > > [Project] > > Libs=3D > > Linker=3Dlibole32.a_@@_liboleaut32.a _@@_ > > This is now portable. However is does not compile. The compile log is as > follows: > > Compiler: Default compiler > > Building Makefile: "C:\Documents and Settings\Steve Higham\My > Documents\Dev\ConsoleTest\Makefile.win" > > Executing make clean > > rm -f main.o ConsoleTest.exe > > g++.exe -D__DEBUG__ -c main.cpp -o main.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" -g3 > > g++.exe -D__DEBUG__ main.o -o "ConsoleTest.exe" -L"C:/Dev-Cpp/lib" > libole32.a liboleaut32.a -g3 > > g++.exe: libole32.a: No such file or directory > > g++.exe: liboleaut32.a: No such file or directory > > make.exe: *** [ConsoleTest.exe] Error 1 > > Execution terminated > > > I don't understand why this fails. The -L switch identifies the correct > directory (C:/Dev-Cpp/lib) and the lib names are correct. This is the iss= ue. > > It's probably not the most important issue in the world. But it would be > nice to resolve it. > > Kind Regards, > > Steve > > -- > > Steve Higham > > =9B st...@sj... <mailto:st...@sj...> |
|
From: Steve H. <st...@sj...> - 2005-08-11 15:33:38
|
sudhir kumar wrote: >--- Steve HiHighamststevejsjlto.ukukwrote: > > > >>Hi, >> >>I'm a newbie Dev-CpCppser although I have been >>coding in C++ for several >>years. >> >>I'm very pleased with Dev-CpCppHowever I've found a >>couple of minor >>features / bugs (see below). How do I report these? >> >>Kind Regards, >> >>Steve >> >>Issue 1 - Library Locations >>================== >>When including libraries it is necessary to provide >>a full path. Even >>when the libraries are in the default location. For >>example system >>libraries in C:\Dev-CpCppib. Furthermore when >>browsing for the directory >>using the "Add Library of Object" button the library >>is added using a >>relative path. This has the following unfortunate >>consequences:- >>The project will fail to build if the location of >>the project file >>changes with respect to the install directories >>(e.g. moving a complete >>project will break the build). >>The file name passed to the linker becomes much >>larger (e.g. >>../../../../../../Dev-CpCppib/lilibuuid). This might >>cause problems on >>large projects. >> >>Issue 2 - Dual Monitor and / or large monitor issue >>================================== >>I have installed Dev-CpCppn an AcAceraptop with dual >>monitor support. >>The second (plugged in) monitor is running at a >>resolution of 1280 X >>1024. When I try to maximise Dev-CpCppn the second >>monitor it only uses >>the top 75% of the monitor. I have not experienced >>this issue with any >>other programs. >>-- >> >>Steve HiHigham> >>É +44 (0)1663 719830 >>È +44 (0)7773 381215 >>› ststevejsjlto.ukukmamailtotstevejsjlto.ukuk >> >> >> >> >> >> >------------------------------------------------------- > > >>SF.Net email is Sponsored by the Better Software >>Conference & EXPO September >>19-22, 2005 * San Francisco, CA * Development >>LiLifecyclerPractices> Agile & Plan-Driven >> >> >Development * Managing Projects > > >>& Teams * Testing & QAQA> Security * Process >> >> >Improvement & Measurement * > > >>hthttp/wwwwwqsqeom/bsbscef >>_______________________________________________ >>Dev-cpcppsers mailing list >>Dev-cpcppsers@lists.sosourceforgeet >>TO UNUNSUBSCRIBE >>hthttp/wwwww.brbrinksterom/nonoicysedevcppbubthtm> >> >> >hthttps/lists.sosourceforgeet/lists/lilistinfoedevpcppsers > > > >hi, > > In regard to your first issue: >================================= > > If your library doesn't resides in default library >path, you can alternativily add the directory where >your library files resides by adding "-L<dir_name>" >to "additional commandline parameters" for c/c++ >compiler or adding the the directory in the >"directory" tab in "project options" .Now link the >required library by adding "-l" option in the >"parameters" tab .If you want to link "libXYZ.a" then >the linker parameter will be "-lXYZ" > > >e.g , you want to link with "c:\lib\libXYZ.a" then >1.)add "-Lc:\lib" to compilier paremeters or add the >"c:\lib" directory in library directories. > >2.)add "-lXYZ" in the linker options. > > > Pardon for my english. > > Sudhir kumar porwal > > > > > > >____________________________________________________ >Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to http://in.promos.yahoo.com/rakhi/index.html > > > Sudhir, Thanks for your help. However this does not address the issue. The first approach to adding a library via the IDE is to use the "Add Library or Object" dialog. Using a standard library produces the following entries in the .dev file:- [Project] Libs= Linker=../../../../../Dev-Cpp/lib/libole32.a_@@_../../../../../Dev-Cpp/lib/liboleaut32.a_@@_ This compiles fine. However the entries use a relative path from the project directory to the library directory. In other words moving the project directory will break the build. This is not good. By editing the entries in the "Linker" box of the IDE we can ad the full path in. This improves the situation. The .dev file now looks like this [Project] Libs= Linker=C:\Dev-Cpp\lib\libole32.a_@@_C:\Dev-Cpp\lib\liboleaut32.a_@@_ This also compiles fine. However the dev file now contains full addresses for all libraries. Again this is a portability issue. This may also cause problems with large projects due to shell limitations on the command line length. The correct solution is to only add the library name. This produces the following entry in the .dev file [Project] Libs= Linker=libole32.a_@@_liboleaut32.a _@@_ This is now portable. However is does not compile. The compile log is as follows: Compiler: Default compiler Building Makefile: "C:\Documents and Settings\Steve Higham\My Documents\Dev\ConsoleTest\Makefile.win" Executing make clean rm -f main.o ConsoleTest.exe g++.exe -D__DEBUG__ -c main.cpp -o main.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" -g3 g++.exe -D__DEBUG__ main.o -o "ConsoleTest.exe" -L"C:/Dev-Cpp/lib" libole32.a liboleaut32.a -g3 g++.exe: libole32.a: No such file or directory g++.exe: liboleaut32.a: No such file or directory make.exe: *** [ConsoleTest.exe] Error 1 Execution terminated I don't understand why this fails. The -L switch identifies the correct directory (C:/Dev-Cpp/lib) and the lib names are correct. This is the issue. It's probably not the most important issue in the world. But it would be nice to resolve it. Kind Regards, Steve -- Steve Higham › st...@sj... <mailto:st...@sj...> |
|
From: Mark A. <am...@ho...> - 2005-08-11 15:19:23
|
Hi there!
I was trying all possibilities of DEV-C++ and I was pretty excited about =
it.
But I've encountered a problem.
In the Windows-operating-systems it is pretty important to use =
components (COM).
I've made a "windows application" project and added the following code:
----------------------------------------
const CLSID CLSID_Printing =3D =
{0x76A73923,0xD88C,0x11D6,{0xB5,0x51,0xEB,0xCE,0x0B,0x59,0xDA,0x72}};
const IID IID_IUnknown =3D =
{0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}};
const IID IID_IClassFactory =
=3D{0x00000001,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}};
const CLSID CLSID_MySimpleObj =
=3D{0x14C0CBCC,0x8E68,0x4BB0,{0xB4,0x49,0x2D,0x9D,0xFB,0x80,0x9A,0x16}};
const IID IID_IMySimpleObj =
=3D{0x14C0CBCD,0x8E68,0x4BB0,{0xB4,0x49,0x2D,0x9D,0xFB,0x80,0x9A,0x16}};
interface IMySimpleObj : public IUnknown {
virtual HRESULT msg()=3D0;
};
int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil) {
MessageBox(0,"Test Start..","Project2",0);
//OleInitialize(0); //<-Creates a crash!
IUnknown * schaap;
schaap =3D NULL;
HRESULT hr;
hr =3D =
CoCreateInstance(CLSID_MySimpleObj,0,CLSCTX_INPROC,IID_IUnknown,(void**)&=
schaap);
if (schaap!=3DNULL) {
MessageBox(0,"Test CoCreateInstance Worked!","Project2",0);
schaap->Release();
schaap =3D NULL;
}
//OleUninitialize();
MessageBox(0,"Test Done..","Project2",0);
//HERE THE REST OF THE WinMain-Code!
}
----------------------------------------
Secondly: in the menu 'Project' -> 'Project Options' --tab-> Parameters =
--button-> Add Library or Object
I've added the OLE32.LIB from Microsoft Visual C++ 5.0.
The problem is that CoCreateInstance never succeeds in creating an =
object!
So I also tried to do a "OleInitialize(0)", but this one always results =
in crashing!
I hope this problem can be solved to meet the important requirement of =
using COM in DEV-C++ !
greetings,
Mark Ament |
|
From: Per W. <pw...@ia...> - 2005-08-11 13:03:56
|
Note that system("pause") isn't portable, and that Markella did post a
solution similar in function to system("pause").
/Per W
On Thu, 11 Aug 2005, Lamana, Michael wrote:
> Sounds more like a missing 'system("PAUSE");' statement. If the input
> is the last thing in the program, it is probably just terminating
> normally and closing the shell.
>
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf Of Markella
> Krisztian
> Sent: Thursday, August 11, 2005 6:14 AM
> To: dev...@li...
> Subject: Re: [Dev-C++] Execution Problem
>
> #include <iostream>
> using namespace std;
>
> int main(int argc, char *argv[])
> {
> cout << "give me a number: "; int number; cin >> number;
> cout << "you typed this number: " << number << endl;
>
> //maybe you need just this
> //you wait for an Enter and keep the window open
> fflush(stdin); cin.get();
> return 0;
> }
> Krisztian
>
> >Hi,
> >
> >Whenever I enter the input data and hit enter, the output is not
> >displayed and the run window closes immediately. i am using Dev C++
> >4.9.9.2.
> >
> >
> >
> >
> >
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing & QA Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> 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
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> 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: Lamana, M. <mic...@lm...> - 2005-08-11 12:47:22
|
Sounds more like a missing 'system("PAUSE");' statement. If the input
is the last thing in the program, it is probably just terminating
normally and closing the shell.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Markella
Krisztian
Sent: Thursday, August 11, 2005 6:14 AM
To: dev...@li...
Subject: Re: [Dev-C++] Execution Problem
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout << "give me a number: "; int number; cin >> number;
cout << "you typed this number: " << number << endl;
//maybe you need just this
//you wait for an Enter and keep the window open
fflush(stdin); cin.get();
return 0;
}
Krisztian
>Hi,
>
>Whenever I enter the input data and hit enter, the output is not
>displayed and the run window closes immediately. i am using Dev C++
>4.9.9.2.
>
>
>
>
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices Agile & Plan-Driven Development * Managing Projects & Teams *
Testing & QA Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
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: Markella K. <chr...@fr...> - 2005-08-11 10:13:24
|
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout << "give me a number: "; int number; cin >> number;
cout << "you typed this number: " << number << endl;
//maybe you need just this
//you wait for an Enter and keep the window open
fflush(stdin); cin.get();
return 0;
}
Krisztian
>Hi,
>
>Whenever I enter the input data and hit enter, the output is not
>displayed and the run window closes immediately. i am using Dev C++
>4.9.9.2.
>
>
>
>
>
|
|
From: Suhail I. <suh...@gm...> - 2005-08-11 07:34:59
|
Hi, Whenever I enter the input data and hit enter, the output is not displayed and the run window closes immediately. i am using Dev C++ 4.9.9.2. |
|
From: sudhir k. <sud...@ya...> - 2005-08-11 07:17:03
|
--- Steve HiHighamststevejsjlto.ukukwrote: > Hi, > > I'm a newbie Dev-CpCppser although I have been > coding in C++ for several > years. > > I'm very pleased with Dev-CpCppHowever I've found a > couple of minor > features / bugs (see below). How do I report these? > > Kind Regards, > > Steve > > Issue 1 - Library Locations > ================== > When including libraries it is necessary to provide > a full path. Even > when the libraries are in the default location. For > example system > libraries in C:\Dev-CpCppib. Furthermore when > browsing for the directory > using the "Add Library of Object" button the library > is added using a > relative path. This has the following unfortunate > consequences:- > The project will fail to build if the location of > the project file > changes with respect to the install directories > (e.g. moving a complete > project will break the build). > The file name passed to the linker becomes much > larger (e.g. > ../../../../../../Dev-CpCppib/lilibuuid). This might > cause problems on > large projects. > > Issue 2 - Dual Monitor and / or large monitor issue > ================================== > I have installed Dev-CpCppn an AcAceraptop with dual > monitor support. > The second (plugged in) monitor is running at a > resolution of 1280 X > 1024. When I try to maximise Dev-CpCppn the second > monitor it only uses > the top 75% of the monitor. I have not experienced > this issue with any > other programs. > -- > > Steve HiHigham> > É +44 (0)1663 719830 > È +44 (0)7773 381215 > ststevejsjlto.ukukmamailtotstevejsjlto.ukuk > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software > Conference & EXPO September > 19-22, 2005 * San Francisco, CA * Development > LiLifecyclerPractices> Agile & Plan-Driven Development * Managing Projects > & Teams * Testing & QAQA> Security * Process Improvement & Measurement * > hthttp/wwwwwqsqeom/bsbscef > _______________________________________________ > Dev-cpcppsers mailing list > Dev-cpcppsers@lists.sosourceforgeet > TO UNUNSUBSCRIBE > hthttp/wwwww.brbrinksterom/nonoicysedevcppbubthtm> hthttps/lists.sosourceforgeet/lists/lilistinfoedevpcppsers > hi, In regard to your first issue: ================================= If your library doesn't resides in default library path, you can alternativily add the directory where your library files resides by adding "-L<dir_name>" to "additional commandline parameters" for c/c++ compiler or adding the the directory in the "directory" tab in "project options" .Now link the required library by adding "-l" option in the "parameters" tab .If you want to link "libXYZ.a" then the linker parameter will be "-lXYZ" e.g , you want to link with "c:\lib\libXYZ.a" then 1.)add "-Lc:\lib" to compilier paremeters or add the "c:\lib" directory in library directories. 2.)add "-lXYZ" in the linker options. Pardon for my english. Sudhir kumar porwal --------------------------------- Check out Yahoo! India Rakhi Special for Rakhi shopping, contests and lots more. http://in.promos.yahoo.com/rakhi/index.html |
|
From: Per W. <pw...@ia...> - 2005-08-10 22:12:01
|
Since you are running Dev-C++ on a Windows machine and the used compiler - MinGW - is a special version of the gcc compiler, you can select the simplest solution: #define IBPP_WINDOWS #define IBPP_GCC #include "ibpp.h" Note however, that adding the #include line in your source file does _not_ add a library to your project. If ibpp.h has the implementation code in a library, you must also add a reference to this library to your project so that the linker will link in the library. /Per W On Wed, 10 Aug 2005, Ales Pavel wrote: > how to I can add lib to project in dev-c? When I try add this > #include "ibpp.h" > error is > > C:\projektyc\Personal\PersonDlg.cpp In file included from PersonDlg.cpp > 58:2 C:\Dev-Cpp\include\ibpp.h #error Please define IBPP_WINDOWS or > IBPP_LINUX before compiling ! > 62:2 C:\Dev-Cpp\include\ibpp.h #error Please define IBPP_BCC or IBPP_GCC > or IBPP_MSVC before compiling ! > C:\projektyc\Personal\Makefile.win [Build Error] [PersonDlg.o] Error 1 > > I am begginer what can I try?:-D > > I am sorry for my english > > Ales |
|
From: Ales P. <ta...@su...> - 2005-08-10 21:03:58
|
how to I can add lib to project in dev-c? When I try add this #include "ibpp.h" error is C:\projektyc\Personal\PersonDlg.cpp In file included from PersonDlg.cpp 58:2 C:\Dev-Cpp\include\ibpp.h #error Please define IBPP_WINDOWS or IBPP_LINUX before compiling ! 62:2 C:\Dev-Cpp\include\ibpp.h #error Please define IBPP_BCC or IBPP_GCC or IBPP_MSVC before compiling ! C:\projektyc\Personal\Makefile.win [Build Error] [PersonDlg.o] Error 1 I am begginer what can I try?:-D I am sorry for my english Ales |
|
From: Malcolm N. <m.n...@wa...> - 2005-08-10 17:08:27
|
Hello Ricardo, On 10 August 2005, 17:01:12, you wrote: > I=A0need to do an GUI program that works in Windows and Linux,=20 > Some one sugested to use wxWidgets, I downloaded the devpak, but > it doesn't compile I get this error: =20 I would rather suggest you download and install wxDevCpp, from http://wxdsgn.sourceforge.net It is a version of DevCpp with the wxWidgets libraries already installed, as well as an integrated form designer. --=20 Best regards, Malcolm mailto:m.n...@wa... |
|
From: <ric...@gm...> - 2005-08-10 15:03:49
|
Hello All, I need to do an GUI program that works in Windows and Linux,=20 Some one sugested to use wxWidgets, I downloaded the devpak, but it = doesn't compile I get this error: # error "Please define string case-insensitive compare for your = OS/compiler" in the wxchar.h file (I've also got in the string.h but I've been able = to solve it (thanks to google)) Can any one help? |
|
From: Armani <Ad...@ww...> - 2005-08-10 09:55:48
|
The key to making serious money through investing is not to follow the crowd.
Make no mistake: Our mission at SmallCap-Investors is to claw our way through
the thousands of underperforming companies out there to find the golden needle
in the haystack the micro-cap DIAMOND that can make you rich. More often than not,
the stocks we profile show a significant increase in stock price and sometimes in days,
not months or years. We have come across what we feel is one of those rear deals
that the public has not heard about yet.
We Told at 1.20 to WATCH PGCN and now its $2.00 up again today.
Harbin Pingchuan Pharmaceutical: (PGCN)
Current Price: $2.00
Shares Outstanding: 20 Million
Market Capitalization: $6 Million
Short Term Target: $5.75
12month Target: $10.00
Market Performance: STRONG BUY
***NEWS RELEASE***NEWS RELEASE***NEWS RELEASE***NEWS RELEASE***NEWS RELEASE***
HARBIN, China, /Xinhua-PRNewswire-FirstCall/ -- Harbin Pingchuan Pharmaceutical Holding Co. Ltd.
(OTC Bulletin Board: PGCN - News; "PINGCHUAN") announced today that PINGCHUAN signed a Purchase Agreement
with the Guangdong Medicine Group Co. Ltd. ("GDMG").
Under the terms of the agreement, PINGCHUAN will authorize GDMG as its franchisee
in five southern provinces of China. With respect to the authorization, GDMG intends
to purchase approximately US$2.00million worth of PINGCHUAN's pharmaceutical products in 2005.
By cooperating with GDMG, PINGCHUAN will greatly enhance the marketing network and sales channels
in Southern China.
"We are delighted to reach this agreement with the leading medical enterprise in Southern China.
This purchase agreement not only increases our sales revenue in these five provinces, but also
substantially improves our brand awareness in Southern China. While maintaining the existing
marketing network, we are developing and setting up new marketing network and sales channel actively."
Said Hu ZhanWu, Chairman and President of Pingchuan Pharmaceutical Co. Ltd., "One of our
marketing strategies is to establish a connection with medical enterprises such as
Guangdong Medicine Group, for the promotion of our products into their commercial networks
throughout the entire country."
***
GET PGCN FIRST THING WEDNESDAY, THIS IS GOING TO EXPLODE IN THE NEXT 2-5 DAYS.
Disclaimer:
Information within this email contains "forwardlooking statements" within
the meaning of Section 27Aof the Securities Act of 1933 and Section 21B of
the Securities Exchange Act of 1934. Any statements that express or involve
discussions with respect to predictions, expectations, beliefs,
plans, projections, objectives, goals, assumptions or future events or
performance are not statements of historical fact and may be "forward
looking statements". "Forward looking statements" are based on
expectations, estimates and projections at the time the statements are made
that involve a number of risks and uncertainties which could cause actual
results or events to differ materially from those presently anticipated.
Forward looking statements in this action may be identified through the use
of words such as "projects", "foresee", "expects", "will", "anticipates",
"estimates", "believes", "understands" or that by statements indicating
certain actions "may", "could", or "might" occur. Risk factors include
general economic and business conditions, the ability to acquire and develop
specific projects, the ability to fund operations and changes in consumer
and business consumption habits and other factors overwhich the company has
little or no control. The publisher of this newsletter does not represent
that the information contained in this message states all material facts or
does not omit a material fact necessary to make the statements therein not
misleading. All information provided within this email pertaining to
investing, ST0CKs, securities must be understood as information provided and
not investment advice. The publisher of this newsletter advises all readers
and subscribers to seek advice from a registered professional securities
representative before deciding to trade in ST0CKs featured within this
email. None of the material within this report shall be construed as any
kind of investment advice or solicitation. Many of these companies are on
the verge of bankruptcy. You can lose all your money by investing in this
ST0CK. We urge you to read the company's SEC filings now, before you invest.
The publisher of this newsletter is not a registered invstment advisor.
Subscribers should not view information herein as legal, tax, accounting or
investment advice. In compliance with the SecuritiesAct of 1933, Section
17(b), The publisher of this newsletter is contracted to receive six hundred
thousand free trading shares from a third party, not an officer, director or
affiliate shareholder for the circulation of this report. Be aware of an
inherent conflict of interest resulting from such compensation due to the
fact that this is a paid advertisement and is not without bias. The party
that paid us has a position in the ST0CK they will sell at anytime without
notice. This could have a negative impact on the price of the ST0CK, causing
you to lose money. All factual information in this report was gathered from
public sources, including but not limited to SEC filings, Company Websites
and Company Press Releases. The publisher of this newsletter believes this
information to be reliable but can make no guarantee as to its accuracy or
completeness. Use of the material within this email constitutes your
acceptance of these terms.
|
|
From: Hind F. <the...@ho...> - 2005-08-10 03:24:57
|
Hi, I'm trying to develop a small program where the user's informations will be "copied" in a predifined picture (like a poster for exemple) I've heard about GDI and GDI+ but i still don't know if i can use them with dev-cpp, or if there's another package bluit specialy for dev-cpp, so if anyone have any information or idea... Thanx in advance _________________________________________________________________ MSN Hotmail : antivirus et antispam intégrés http://www.msn.fr/newhotmail/Default.asp?Ath=f |
|
From: sudhir k. <sud...@ya...> - 2005-08-09 18:20:16
|
--- Josh McFarlane <da...@gm...> wrote: > On 7/26/05, Alfred P. Reaud <al...@ya...> > wrote: > > > > The issue of ram only comes up when you are > already crunched for ram. > > That's why the previous suggestion to monitor > memory usage via Task Manager > > (or whatever was the appropriate application on > '98). 64MB of ram may be > > sufficient for some machines and OS combinations. > The fact that the > > compiler runs slower than the previous version > isn't indicative of a ram > > size problem, as the previous compiler version ran > with the existing ram > > without problem, right? > > True, but Windows 98 by itself running on 64MB of > RAM is incredibly > slow. There's a huge performance increase going from > just 64MB to > 128MB and while it may not directly speed up the > compiler due to more > ram, the passive boost the system gets from Windows > having more RAM > will be very very nice. > -- > Darsant Silverstring > > "Peace cannot be kept by force. It can only be > achieved by understanding." > -Albert Einstein > > 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 > What I have noticed ,on windows the memory managment is not that good as compared to OSes like LINUX . So what I personally recommend is to try an external memory manager with your programs.But be warned ,in some cases their use may lead to system instablity! I use 7-max < www.7-max.org > , an application accelerator from the maker of 7-zip . It is fairly stable and give the performance boost of 5 to 10% on my system. Just attach 7-max to the memory hungry application and notice the diffrence. In the case of dev-c++ , I achieved best results by attaching 7-max to the gcc compiler exe (gcc.exe etc.) instead of attaching it with dev-c++ exe. ____________________________________________________ Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to http://in.promos.yahoo.com/rakhi/index.html |
|
From: sudhir k. <sud...@ya...> - 2005-08-09 17:34:52
|
--- Steve HiHighamststevejsjlto.ukukwrote: > Hi, > > I'm a newbie Dev-CpCppser although I have been > coding in C++ for several > years. > > I'm very pleased with Dev-CpCppHowever I've found a > couple of minor > features / bugs (see below). How do I report these? > > Kind Regards, > > Steve > > Issue 1 - Library Locations > ================== > When including libraries it is necessary to provide > a full path. Even > when the libraries are in the default location. For > example system > libraries in C:\Dev-CpCppib. Furthermore when > browsing for the directory > using the "Add Library of Object" button the library > is added using a > relative path. This has the following unfortunate > consequences:- > The project will fail to build if the location of > the project file > changes with respect to the install directories > (e.g. moving a complete > project will break the build). > The file name passed to the linker becomes much > larger (e.g. > ../../../../../../Dev-CpCppib/lilibuuid). This might > cause problems on > large projects. > > Issue 2 - Dual Monitor and / or large monitor issue > ================================== > I have installed Dev-CpCppn an AcAceraptop with dual > monitor support. > The second (plugged in) monitor is running at a > resolution of 1280 X > 1024. When I try to maximise Dev-CpCppn the second > monitor it only uses > the top 75% of the monitor. I have not experienced > this issue with any > other programs. > -- > > Steve HiHigham> > É +44 (0)1663 719830 > È +44 (0)7773 381215 > ststevejsjlto.ukukmamailtotstevejsjlto.ukuk > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software > Conference & EXPO September > 19-22, 2005 * San Francisco, CA * Development > LiLifecyclerPractices> Agile & Plan-Driven Development * Managing Projects > & Teams * Testing & QAQA> Security * Process Improvement & Measurement * > hthttp/wwwwwqsqeom/bsbscef > _______________________________________________ > Dev-cpcppsers mailing list > Dev-cpcppsers@lists.sosourceforgeet > TO UNUNSUBSCRIBE > hthttp/wwwww.brbrinksterom/nonoicysedevcppbubthtm> hthttps/lists.sosourceforgeet/lists/lilistinfoedevpcppsers > hi, In regard to your first issue ,what I want to say is, you can alalternativilydd the directory ____________________________________________________ Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to http://in.promos.yahoo.com/rakhi/index.html |
|
From: Ahmed B. <bel...@ya...> - 2005-08-07 08:49:13
|
hi,
I need help to introduce my file.chm help file to API
Win32.
I think i have to use :
HtmlHelp(GetDesktopWindow(),
"file.chm::/introduction.htm>mainwin",
HH_DISPLAY_TOPIC,
(DWORD)NULL) ;
I make a test I got : [Linker error] undefined
reference to `HtmlHelpA@16'
any help....
Tkx
A3anakoum allah
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
|
|
From: Markella K. <chr...@fr...> - 2005-08-07 07:08:41
|
Here is an example how to use the complex numbers: // I modified the code from this site: // http://farside.ph.utexas.edu/teaching/329/lectures/node55.html // Have fun // Krisztian #include <complex.h> #include <stdio.h> #include <iostream> using namespace std; /* Define complex double data type */ typedef complex<double> dcomp; int main() { dcomp i, a, b, c, d, e, p, q, r; // Declare complex double variables double x, y; /* Set complex double variable equal to complex double constant */ i = dcomp (0.0, 1.0); cout << "i = " << i << endl;; // printf("\ni = (%6.4f, %6.4f)\n", i); /* Test arithmetic operations with complex double variables */ a = i * i; b = 1. / i; cout << "i*i = " << a << endl; // printf("\ni*i = (%6.4f, %6.4f)\n", a); cout << "1/i = " << b << endl; // printf("1/i = (%6.4f, %6.4f)\n", b); /* Test mathematical functions using complex double variables */ c = sqrt(i); d = sin(i); e = pow(i, 0.25); cout << "sqrt(i) = " << c << endl; // printf("\nsqrt(i) = (%6.4f, %6.4f)\n", c); cout << "sin(i) = " << d << endl; // printf("sin(i) = (%6.4f, %6.4f)\n", d); cout << "i^0.25 = " << e << endl; // printf("i^0.25 = (%6.4f, %6.4f)\n", e); /* Test complex operations */ p = conj(i); q = real(i); r = imag(i); cout << "conj(i) = " << p << endl; // printf("\nconj(i) = (%6.4f, %6.4f)\n", p); cout << "real(i) = " << q << endl; // printf("real(i) = %6.4f\n", q); cout << "imag(i) = " << r << endl; // printf("imag(i) = %6.4f\n", r); cin.get(); return 0; } > Hello all, > > Could anyone tell me how to use the complex.h ? > > How to enter or declare a complex number and how to perform operation > on complex numbers (+, / , * -, arg...) ? > > Thank you > > Chris > |
|
From: Ed M. <DMi...@cf...> - 2005-08-07 03:19:02
|
I figured it out. Thanks for your patience. Ed |