dev-cpp-users Mailing List for Dev-C++ (Page 132)
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: Alfred P. R. <al...@ya...> - 2005-05-17 19:50:06
|
You can also use the DOS xcopy /k to copy attributes. However, Per is right, and if you use Mingw and/or Msys then you can use cp via DOS. Read the help on xcopy as there are quite a few options.
Per Westermark <pw...@ia...> wrote: Some - non-complete - notes about copy:
copy will preserve date/time of last write.
copy will modify date/time of last access
copy will modify date/time of file creation
copy will append archive flag
copy will remove read-only flag
copy will not even find system file
copy will not even find hidden file
In short - copy is inferior to cp.
Simple solution: Download a win32-compatible port of the cp command.
/Per W
On Tue, 17 May 2005, Alexsandro Meireles wrote:
> Hi, all!
> I need to translate the system command cp -p to work with Windows.
> Does anyone know if dos copy translate exactly what cp -p?
> Syntax are as follows:
> LINUX: system("cp -p $oldname $newname");
> WINDOWS: system("copy $oldname $newname");
> I am not sure if copy can copy from one file to the other with EXACTLY the
> same attribute as -p does.
> Thanks in advance!
> Best,
>
> --
> Alexsandro Meireles
>
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
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
Alfred P. Reaud
|
|
From: Per W. <pw...@ia...> - 2005-05-17 19:26:02
|
Some - non-complete - notes about copy:
copy will preserve date/time of last write.
copy will modify date/time of last access
copy will modify date/time of file creation
copy will append archive flag
copy will remove read-only flag
copy will not even find system file
copy will not even find hidden file
In short - copy is inferior to cp.
Simple solution: Download a win32-compatible port of the cp command.
/Per W
On Tue, 17 May 2005, Alexsandro Meireles wrote:
> Hi, all!
> I need to translate the system command cp -p to work with Windows.
> Does anyone know if dos copy translate exactly what cp -p?
> Syntax are as follows:
> LINUX: system("cp -p $oldname $newname");
> WINDOWS: system("copy $oldname $newname");
> I am not sure if copy can copy from one file to the other with EXACTLY the
> same attribute as -p does.
> Thanks in advance!
> Best,
>
> --
> Alexsandro Meireles
>
|
|
From: Per W. <pw...@ia...> - 2005-05-17 19:15:49
|
Can we expect you to repeat this question until somehow someone new to this list and takes the time to write something about it? It takes quite some time to write the answer you like. You can, on the other hand, find that information without too much google magic. This is your - at least - third mail about requests for help with shell copy. And while discussing shell copy - you haven't even mentioned any special reason for your desperate need for use of this specific function, or why the answer must come from this list instead of from google. If the google links contains wrong information, or wrong type of information, just say so and specify exactly what makes your requirements completely different from other peoples. /Per W On Tue, 17 May 2005, Guillermo Gutierrez wrote: > Does any one out there have any experience with Windows Shell API? > Particularly with copying files using 'SHFileOperation()' ? > > Guillermo Gutierrez > Market Scan Information Systems > Software Q.A. Supervisor > (818) 575-2000 x2427 > ggu...@ma... > > |
|
From: Alexsandro M. <mei...@gm...> - 2005-05-17 18:44:39
|
Hi, all!
I need to translate the system command cp -p to work with Windows.=20
Does anyone know if dos copy translate exactly what cp -p?
Syntax are as follows:
LINUX: system("cp -p $oldname $newname");=20
WINDOWS: system("copy $oldname $newname");=20
I am not sure if copy can copy from one file to the other with EXACTLY the=
=20
same attribute as -p does.
Thanks in advance!
Best,
--=20
Alexsandro Meireles
|
|
From: Alfred P. R. <al...@ya...> - 2005-05-17 17:59:28
|
I've had that problem before. What I've done is click on a blank section of the document, press F4, then type in the name of the variable that I want to watch. I also recall having to clear all watch variables at times. André Macário Barros <and...@su...> wrote: Yes, we press F4. But the variable to be follwed doesn´t appear in any place! I can´t see the values changing! Regards Andre xxxxxxxxxxxxxxxxxxx Message: 4 Date: Mon, 16 May 2005 09:09:13 -0700 (PDT) From: "Alfred P. Reaud" Subject: Re: [Dev-C++] How to see a marked variabel in Debug Mode/Dev 4.9.8.0? To: Dev-Cpp UserList --0-508252127-1116259753=:56467 Content-Type: text/plain; charset=us-ascii Isn't that F4? If I recall correctly, the debug window on 4.9.8.0 was slightly bugged. I've sometimes had to manually type in the name of the variable name into the watch window, vs right clicking on it. André Macário Barros wrote: Dear users, I need to know how can I see a variable marked as "watched" in Debug Mode/Dev 4.9.8.0? Regards Andre <snip> Alfred P. Reaud |
|
From: Guillermo G. <ggu...@ma...> - 2005-05-17 17:46:06
|
Does any one out there have any experience with Windows Shell API? Particularly with copying files using 'SHFileOperation()' ? Guillermo Gutierrez Market Scan Information Systems Software Q.A. Supervisor (818) 575-2000 x2427 ggu...@ma... |
|
From: <and...@su...> - 2005-05-17 16:45:14
|
Yes, we press F4. But the variable to be follwed doesn´t appear in any place! I can´t see the values changing! Regards Andre xxxxxxxxxxxxxxxxxxx Message: 4 Date: Mon, 16 May 2005 09:09:13 -0700 (PDT) From: "Alfred P. Reaud" <al...@ya...> Subject: Re: [Dev-C++] How to see a marked variabel in Debug Mode/Dev 4.9.8.0? To: Dev-Cpp UserList <dev...@li...> --0-508252127-1116259753=:56467 Content-Type: text/plain; charset=us-ascii Isn't that F4? If I recall correctly, the debug window on 4.9.8.0 was slightly bugged. I've sometimes had to manually type in the name of the variable name into the watch window, vs right clicking on it. André Macário Barros <and...@su...> wrote: Dear users, I need to know how can I see a variable marked as "watched" in Debug Mode/Dev 4.9.8.0? Regards Andre |
|
From: Per W. <pw...@ia...> - 2005-05-17 11:29:51
|
That is a linker option (an extra library to link with), not a compiler option, so move the option to correct place in the project settings. /Per W On Tue, 17 May 2005, SETRAZ wrote: > All, > I am trying my hand at OpenGL programming and I am having difficulty compiling the programme. I have copied source code from a tutorial site and when I compile the programme I get the message "gcc: -lglu32: linker input file unused since linking not done". I have already added the line "-lglu32" to the compiler options. I am only using the "gl\glu.h" library this time. > > What have I done incorrectly? What else do I change? > > Thanks all, > Setraz |
|
From: SETRAZ <se...@ko...> - 2005-05-17 10:35:34
|
All, I am trying my hand at OpenGL programming and I am having difficulty = compiling the programme. I have copied source code from a tutorial site = and when I compile the programme I get the message "gcc: -lglu32: linker = input file unused since linking not done". I have already added the = line "-lglu32" to the compiler options. I am only using the "gl\glu.h" = library this time. What have I done incorrectly? What else do I change? Thanks all, Setraz |
|
From: Robert A. <ral...@gm...> - 2005-05-16 22:59:04
|
How about just fully qualifying what main you want to make your friend... t=
ry
friend int ::main(void);
On 5/16/05, Alfred P. Reaud <al...@ya...> wrote:
> Possibly declare main as a friend in the private section of MyClass
> instead? Also, I'd get away from calling a friend member function main o=
r
> Main, due to what the linker may try to do with that label.
>=20
> Farzan Hajian <far...@ho...> wrote:=20
> Dear C++ users,
> I have problem with friend functions and namespaces.
> Assume we have class "MyClass" defined in namespace "MyNameSpace":
> namespace MyNameSpace
> {
> class MyClass
> {
> private:
> int data;
> public:
> int func(){}
> friend int main();
> };
> }
>=20
> using namespace name;
> int main()
> {
> C obj;
> obj.data;
> return 0;
> }
> I want to allow "main()" to access private members so I made it friend=20
> for the class. Since "main()" does not belong to "MyNameSpace" the=20
> compiler can not make it a friend for the class. It trys to find a=20
> "main()" function which belongs to the namespace not a "Main()" function=
=20
> outside.
> Now I want to k now if there is solution for this problem.
> Thanks,
> <snip>
>=20
> =20
> =20
>=20
> Alfred P. Reaud
|
|
From: <Mat...@Ve...> - 2005-05-16 22:05:45
|
Order does not matter on friend declarations. Most classes I have seen put
them at the bottom because they do not have much to do with what the class
does as a whole.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Denis
Korzunov
Sent: Monday, May 16, 2005 6:36 AM
To: Farzan Hajian
Cc: dev...@li...
Subject: Re: [OBORONA-SPAM] [Dev-C++] Friend functions
Tuesday, May 17, 2005, 1:39:34 PM, you wrote:
If you whant to declare some friend function in the class declaration
then you should place function prototype before the class declaration. e.g.
int main();
namespace MyNameSpace
{
class MyClass
{
friend int main();
...
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
|
|
From: Denis K. <di...@ya...> - 2005-05-16 20:34:28
|
Tuesday, May 17, 2005, 1:39:34 PM, you wrote:
Hi. You've forgot a semicolon after last closing bracket of namespace
declaration.
FH> Dear C++ users,
FH> I have problem with friend functions and namespaces.
FH> Assume we have class "MyClass" defined in namespace "MyNameSpace":
FH> namespace MyNameSpace
FH> {
FH> class MyClass
FH> {
FH> private:
FH> int data;
FH> public:
FH> int func(){}
FH> friend int main();
FH> };
FH>
}; // ';' should be placed here to define that class MyClass belongs
// to namespace MyNameSpace
In the implementation file of MyClass's members you shouldn't place a
semicolon. e.g.
namespace MyNameSpace {
int MyClass::func()
{
//...
}
}
If you whant to declare some friend function in the class declaration
then you should place function prototype before the class declaration. e.g.
int main();
namespace MyNameSpace
{
class MyClass
{
friend int main();
...
And at last... what's for do you need an access for private members
in main() function? It's hard to imagine a real reason for doing this.
FH> using namespace name;
FH> int main()
FH> {
FH> C obj;
FH> obj.data;
FH> return 0;
FH> }
FH> I want to allow "main()" to access private members so I made it friend
FH> for the class. Since "main()" does not belong to "MyNameSpace" the
FH> compiler can not make it a friend for the class. It trys to find a
FH> "main()" function which belongs to the namespace not a "Main()" function
FH> outside.
FH> Now I want to k now if there is solution for this problem.
FH> Thanks,
--
Best regards,
Denis
|
|
From: Josh M. <mrl...@gm...> - 2005-05-16 16:48:33
|
I don't see how that can possibly work. What you want in this case is
an accessor function like
int GetData() { return data; }
in the public section of your class.
Josh
On 5/17/05, Alfred P. Reaud <al...@ya...> wrote:
> Possibly declare main as a friend in the private section of MyClass
> instead? Also, I'd get away from calling a friend member function main o=
r
> Main, due to what the linker may try to do with that label.
>=20
> Farzan Hajian <far...@ho...> wrote:=20
> Dear C++ users,
> I have problem with friend functions and namespaces.
> Assume we have class "MyClass" defined in namespace "MyNameSpace":
> namespace MyNameSpace
> {
> class MyClass
> {
> private:
> int data;
> public:
> int func(){}
> friend int main();
> };
> }
>=20
> using namespace name;
> int main()
> {
> C obj;
> obj.data;
> return 0;
> }
> I want to allow "main()" to access private members so I made it friend=20
> for the class. Since "main()" does not belong to "MyNameSpace" the=20
> compiler can not make it a friend for the class. It trys to find a=20
> "main()" function which belongs to the namespace not a "Main()" function=
=20
> outside.
> Now I want to k now if there is solution for this problem.
> Thanks,
> <snip>
>=20
> =20
> =20
>=20
> Alfred P. Reaud
|
|
From: Alfred P. R. <al...@ya...> - 2005-05-16 16:09:21
|
Isn't that F4? If I recall correctly, the debug window on 4.9.8.0 was slightly bugged. I've sometimes had to manually type in the name of the variable name into the watch window, vs right clicking on it. André Macário Barros <and...@su...> wrote: Dear users, I need to know how can I see a variable marked as "watched" in Debug Mode/Dev 4.9.8.0? Regards Andre ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ 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 Alfred P. Reaud |
|
From: Alfred P. R. <al...@ya...> - 2005-05-16 16:04:16
|
Possibly declare main as a friend in the private section of MyClass instead? Also, I'd get away from calling a friend member function main or Main, due to what the linker may try to do with that label.
Farzan Hajian <far...@ho...> wrote:Dear C++ users,
I have problem with friend functions and namespaces.
Assume we have class "MyClass" defined in namespace "MyNameSpace":
namespace MyNameSpace
{
class MyClass
{
private:
int data;
public:
int func(){}
friend int main();
};
}
using namespace name;
int main()
{
C obj;
obj.data;
return 0;
}
I want to allow "main()" to access private members so I made it friend
for the class. Since "main()" does not belong to "MyNameSpace" the
compiler can not make it a friend for the class. It trys to find a
"main()" function which belongs to the namespace not a "Main()" function
outside.
Now I want to k now if there is solution for this problem.
Thanks,
<snip>
Alfred P. Reaud
|
|
From: Farzan H. <far...@ho...> - 2005-05-16 06:39:47
|
Dear C++ users,
I have problem with friend functions and namespaces.
Assume we have class "MyClass" defined in namespace "MyNameSpace":
namespace MyNameSpace
{
class MyClass
{
private:
int data;
public:
int func(){}
friend int main();
};
}
using namespace name;
int main()
{
C obj;
obj.data;
return 0;
}
I want to allow "main()" to access private members so I made it friend =
=20
for the class. Since "main()" does not belong to "MyNameSpace" the =20
compiler can not make it a friend for the class. It trys to find a =20
"main()" function which belongs to the namespace not a "Main()" function =
=20
outside.
Now I want to k now if there is solution for this problem.
Thanks,
--=20
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
From: <and...@su...> - 2005-05-14 19:04:28
|
Dear users, I need to know how can I see a variable marked as "watched" in Debug Mode/Dev 4.9.8.0? Regards Andre |
|
From: Scott <fre...@ve...> - 2005-05-14 11:34:49
|
Hi, (Long time listener, first time poster) I just tried making a template using a "C" Win32.dll=20 There seems to be a bug in the template file created in the template = directory... All the files get marked with a CPP instead of just a C syntax.=20 The template definition file incorrectly links using the following: CPPName=3Dstartup.c CPP=3DDLL_startup.c.txt This creates an empty useless template. If i manually edit the definition files in the template directory to = read: CName=3Dstartup.c C=3DDLL_startup.c.txt The template then works fine.=20 There is another minor bug, which also never keeps the "Make C Default = language" toggle box, checked to it's default setting. Thanks! Cheers, Scott. . |
|
From: Alfred P. R. <al...@ya...> - 2005-05-11 22:10:19
|
Hi Josh, Thanks for the info! I've fought this ever since I started using Dev-C++! Josh Matthews <mrl...@gm...> wrote: You have to save the file before it is reparsed for classes, variables and functions. Josh <snip> Alfred P. Reaud |
|
From: Josh M. <mrl...@gm...> - 2005-05-11 21:08:04
|
You have to save the file before it is reparsed for classes, variables and functions. Josh On 5/9/05, A_B...@gm... <A_B...@gm...> wrote: > =20 > Hi,=20 > if I add a new class or a new member to a class, the added class/member > doesn't show up in the class browser!=20 > I add it by right clicking on the class browser...=20 > Until I disable the class browser and then enable the browser again (new > scan for all classes)...=20 > Is there a way to do this scan after every addition (and delete) ???=20 > =20 > CU, Acki=20 > |
|
From: <Mat...@Ve...> - 2005-05-11 16:09:47
|
First you need to Google it to find out whether there is some kind of re-entrant mode or re-entrance safe functions. Sometimes you have to do something like #DEFINE _REENTRANT. If there is a re-entrant mode, that will solve your problem. Another option would be fork/exec instead of threads. Lastly you would have mutexes. Mutual exclusion objects. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Dmitry Sidorov Sent: Wednesday, May 11, 2005 12:15 AM To: dev...@li... Subject: [Dev-C++] MTA COM+ class Hello, dev-cpp-users. A have created STA COM+ class using DevC++ and it is working fine But when I try to use it from the different threads of the same process, I get a failure :( So I think I must use MTA for this class How could I do it? -- Dmitry ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ 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 ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. |
|
From: Martin O. <tri...@gm...> - 2005-05-11 15:55:51
|
Hi, How can i get XP-style themes on my windows in DevCpp? Do i have to pass something to dwStyle in CreateWindowEx? I've tried the "Support Windows XP Themes" in Project Options, but didn't work! Where can i send my bugs and "wish-list"? ...olsen |
|
From: David M. <dml...@co...> - 2005-05-11 12:55:33
|
The good news is that there is a MySQL dev-pak but it does not have the embedded server. If you just want to connect to an external database then the Dev-pak should work for you. You can get it throught the "Check for updates/packages" menu item in the tools menu of Dev-C++ or just search Google for MysSQL dev-pak. P.S. Switch to Linux and forget Windows programming is definitely not a bad thing... :) Sadly the linux version of Dev-C++ is no longer maintained :P Eesh Modi wrote: >Thanks for the info David - really helpful. Since I am new at programming it >would probably be excessively difficult for me to convert the .lib library >to .a. I will have to consider my options. Different database engine? Switch >to Linux and forget windows programming? > >Thanks again, >Eesh > >----- Original Message ----- >From: "David McKen" <dml...@co...> >To: "Dev-C++ Mailing List" <dev...@li...> >Sent: Monday, May 09, 2005 11:06 PM >Subject: Re: [Dev-C++] mysql download > > > > >>To Eesh & Hariyanto. >> >>I am really not sure why but the mysql developers do not provide the .a >>files needed to compile programs with mingw. You have a few options from >>here: >> >>1. Convert the .lib (MS ViusalC++) libraries to .a (mingw). Relatively >>simple but long and painful. Disadvantage is that this method can't >>produce static libraries (which to me kinda nulls out the reason I am >>using an EMBEDDED server). Som info on the topic can be found at: >>http://www.synnottsoftware.com/tutorials/mysqlwindows.php >>http://lists.mysql.com/win32/16919 >> >>2. Compile with cygwin (and be eternally dependent on the cygwin dll). >>Not a bad thing until you start distributing. >> >>3. Cross compile. From what I have heard not a good thing to do in >>general if you plan to keep your sanity. >> >>4. Build mysql (at least the libs) from scratch writing the makefile >>yourself (I can tell you right now using the Dev-C++ import MSVC++ >>project does not work with the project file from mysql). Even if one has >>a copy of Visual C++ and starting going through the dependency tree by >>hand you will find so my projects within the workspace that the >>libraries are dependent on that option 1 actually looks easy). Believe >>me I tried for a couple hours before getting fed up (I think it had more >>to do with the fact that I was using Visual Studio .NET) >> >>Hope this helps >>David McKen >> >>Hariyanto wrote: >> >> >> >>>I have error when compile in mysql_com.h, I want to download mysql under >>> >>> >window there are 3 file : > > >>>1. Windows Essentials (x86) 4.1.11 14.1M >>> MD5: dc331a3a3c9b151d3840dd2b4c47ed49 >>> >>>2. Windows (x86) 4.1.11 35.1M >>> MD5: b4b9d56bbf8139197f9c730c96c48595 >>> >>>3. Without installer (unzip in C:\) 4.1.11 36.2M >>> MD5: 6330f744f8a15cd9c3f6a70e023ce563 >>> >>>which one I must to download to develop program with glade and dev-cpp. >>>thx >>> >>> >>> >>> |
|
From: Dmitry S. <si...@si...> - 2005-05-11 07:15:35
|
Hello, dev-cpp-users. A have created STA COM+ class using DevC++ and it is working fine But when I try to use it from the different threads of the same process, I get a failure :( So I think I must use MTA for this class How could I do it? -- Dmitry |
|
From: Matthew L. <ml...@gf...> - 2005-05-10 22:04:02
|
I am learning Windows programming and I am using Dev-C++ IDE. I am = currently making progress with scrollbar controls, but the thumbs are = always the same-sized boxes that were used before Win95. I would like = to know if Dev-C++ IDE supports the "variable-sized thumbs"; that is, if = the display on the screen is 90% of the total document, the thumb is 90% = the size of the entire scrollbar. |