dev-cpp-users Mailing List for Dev-C++ (Page 703)
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: Yeoh H. <ye...@ya...> - 2001-04-14 03:56:28
|
Hi Devin,
I finally got it to work! :)
Created liblibmysql.a using a tool called "reimp.exe".
According to the readme file:
`reimp' is a tool to convert Microsoft's new-style (short) import
libraries to import libraries for win32 ports of GNU tools (mingw32,
cygwin).
The command: "reimp.exe libmysql.lib" will create liblibmysql.a
Then all I had to do was to add this file liblibmysql.a to the linker
options and re-build my exe.
If you need the tool "reimp.exe", do e-mail me. I have downloaded the exe +
src and the zip file is only 31K.
Note that the libmysql.lib file is Microsoft's format.
Regards,
Yeoh
----- Original Message -----
From: Devin Smith <dev...@bu...>
To: <dev...@li...>
Sent: Saturday, April 14, 2001 1:40 AM
Subject: Re: [Dev-C++] Writing a mySQL client
> I am getting the same problem trying to compile a sample little test
> program.
>
> Here is the program I have written to test it:
>
> #include <stdio.h>
> #include <mysql/mysql.h>
>
> int main(int argc, char *argv[])
> {
> MYSQL *mysql;
>
> mysql_init(mysql);
> mysql_close(mysql);
>
> return 0;
> }
>
> It is being linked with libmysql.a , and libmingw32.a.
>
> I downloaded the Borland version of the library and used impdef and then
> dlltool to create the import library. I'll update the dlltool program and
> see if I can fix the problem.
>
>
> ----- Original Message -----
> From: "Yeoh HS" <ye...@ya...>
> To: <dev...@li...>
> Sent: Friday, April 13, 2001 12:22 AM
> Subject: [Dev-C++] Writing a mySQL client
>
>
> > Hi,
> >
> > I'm trying to use Dev-C++ 4 to write a simple Win32 client to logon to a
> > mySQL server.
> >
> > I have mySQL installed on Win98 standalone PC. This is a fresh install.
> >
> > The Dev-C++ project file is set to the include file mysql.h and the lib
> file
> > libmysql.lib.
> > There is also a libmysql.def in the include dir and the dll file
> > libmysql.dll is in the working directory.
> >
> > My test program compiles okay but there is a linker error.
> >
> > Here's the linker error:
> > d:\devcpp\login.o(.text+0x5c):login.cpp: undefined reference to
> > `mysql_init@4'
> >
> > It appears that Dev-C++ is not able to link with libmysql.lib. This
> > libmysql.lib file is from the mysql++ VC++ version package.
> >
> > Also, I've used dlltool.exe to create libmysql.lib from libmysql.dll but
> the
> > linker error is still the same.
> >
> > What am I missing here?
> > What options do I have?
> > Perhaps load the libmysql.dll via LoadLibrary function?
> >
> > Tested my program using BCC5.5 and it compiles, links (with the lib for
> > BCC5.5) and runs okay.
> >
> > Would appreciate any help. Thanks in advance.
> >
> > Yeoh
> >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> >
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|
|
From: <jo...@ca...> - 2001-04-13 19:47:07
|
Hi to all on the list: I was wondering if anyone had a code snippet for making a histogram taking an array grades[100] and making break point 0-10;10-20,30-50 etc. then making a histogram with '*" that goes across the page. I have beat myself silly trying to make this module work, and cant get past the for statement. Any help out there .... would be appreciated. John E. Garrison |
|
From: Scott P. <sc...@no...> - 2001-04-13 18:14:44
|
test |
|
From: Devin S. <dev...@bu...> - 2001-04-13 17:36:43
|
I am getting the same problem trying to compile a sample little test
program.
Here is the program I have written to test it:
#include <stdio.h>
#include <mysql/mysql.h>
int main(int argc, char *argv[])
{
MYSQL *mysql;
mysql_init(mysql);
mysql_close(mysql);
return 0;
}
It is being linked with libmysql.a , and libmingw32.a.
I downloaded the Borland version of the library and used impdef and then
dlltool to create the import library. I'll update the dlltool program and
see if I can fix the problem.
----- Original Message -----
From: "Yeoh HS" <ye...@ya...>
To: <dev...@li...>
Sent: Friday, April 13, 2001 12:22 AM
Subject: [Dev-C++] Writing a mySQL client
> Hi,
>
> I'm trying to use Dev-C++ 4 to write a simple Win32 client to logon to a
> mySQL server.
>
> I have mySQL installed on Win98 standalone PC. This is a fresh install.
>
> The Dev-C++ project file is set to the include file mysql.h and the lib
file
> libmysql.lib.
> There is also a libmysql.def in the include dir and the dll file
> libmysql.dll is in the working directory.
>
> My test program compiles okay but there is a linker error.
>
> Here's the linker error:
> d:\devcpp\login.o(.text+0x5c):login.cpp: undefined reference to
> `mysql_init@4'
>
> It appears that Dev-C++ is not able to link with libmysql.lib. This
> libmysql.lib file is from the mysql++ VC++ version package.
>
> Also, I've used dlltool.exe to create libmysql.lib from libmysql.dll but
the
> linker error is still the same.
>
> What am I missing here?
> What options do I have?
> Perhaps load the libmysql.dll via LoadLibrary function?
>
> Tested my program using BCC5.5 and it compiles, links (with the lib for
> BCC5.5) and runs okay.
>
> Would appreciate any help. Thanks in advance.
>
> Yeoh
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Dario P. <do...@ho...> - 2001-04-13 16:44:01
|
Por que no preguntas y ya? es mas facil... _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
|
From: Waldo G. P. <wal...@us...> - 2001-04-13 16:25:18
|
Hola alguien que hable espa=F1ol en esta lista por favor pongase en conta= cto conmigo. por favor necesito ayuda #linuxperu #tumbes /undernet .. Cyber Rock Caf=E9 Huacho - Per=FA http://www.cyberockcafe.com.pe ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 |
|
From: Yeoh H. <ye...@ya...> - 2001-04-13 07:18:55
|
Hi, I'm trying to use Dev-C++ 4 to write a simple Win32 client to logon to a mySQL server. I have mySQL installed on Win98 standalone PC. This is a fresh install. The Dev-C++ project file is set to the include file mysql.h and the lib file libmysql.lib. There is also a libmysql.def in the include dir and the dll file libmysql.dll is in the working directory. My test program compiles okay but there is a linker error. Here's the linker error: d:\devcpp\login.o(.text+0x5c):login.cpp: undefined reference to `mysql_init@4' It appears that Dev-C++ is not able to link with libmysql.lib. This libmysql.lib file is from the mysql++ VC++ version package. Also, I've used dlltool.exe to create libmysql.lib from libmysql.dll but the linker error is still the same. What am I missing here? What options do I have? Perhaps load the libmysql.dll via LoadLibrary function? Tested my program using BCC5.5 and it compiles, links (with the lib for BCC5.5) and runs okay. Would appreciate any help. Thanks in advance. Yeoh _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
|
From: <jos...@ya...> - 2001-04-13 06:49:03
|
Here are links to the new versions of the Windows API + some info concerning them http://www.geocities.com/josempadron/eng/tutorials.htm#winapi Hope this helps, Chemanuel --- "Purohit Prahlad J.." <pra...@si...> escribió: > Hello Friends, > > I Once About 4 Months Ago Downloaded Win32 API Reference Help > File > From A Link On www.bloodshed.net Which Was About 12 MB. That Help > File Is > Too Old Made Somewhere in 1996. Does Any Body Know From Where Can I > Get The > Latest Version Of That File OR Any Other Complete Win32 API or SDK > Help or > Reference Files. > > Thanx In Advance..... > > Prahlad Purohit.. > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _______________________________________________________________ Do You Yahoo!? Envía mensajes instantáneos y recibe alertas de correo con Yahoo! Messenger - http://messenger.yahoo.es |
|
From: Zimoro <Zi...@ya...> - 2001-04-13 06:42:09
|
i have upload the part of msdn about win32 api in /home/bombayastrologers/ftp/anonftp/pub/ bye bye ----- Original Message ----- From: "Purohit Prahlad J.." <pra...@si...> To: <dev...@li...> Sent: Friday, April 13, 2001 4:58 AM Subject: Re: [Dev-C++] WINDOWS API !!!! > Thanx, > Please Upload It on ftp.bombayastrologers.com > User Id. bombayastrologers Password - bmp0501 > > Prahlad Purohit. > > > ----- Original Message ----- > From: "Zim Oro" <zi...@ya...> > To: <dev...@li...> > Sent: Thursday, April 12, 2001 11:17 PM > Subject: Re: [Dev-C++] WINDOWS API !!!! > > > > Hi, > > if you want i can upload a part of msdn about win32 > > api. > > bye > > > > > > ___________________________________________________________ > > Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, > > Yahoo! Messenger : http://fr.messenger.yahoo.com > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Purohit P. J.. <pra...@si...> - 2001-04-13 02:55:41
|
Thanx,
Please Upload It on ftp.bombayastrologers.com
User Id. bombayastrologers Password - bmp0501
Prahlad Purohit.
----- Original Message -----
From: "Zim Oro" <zi...@ya...>
To: <dev...@li...>
Sent: Thursday, April 12, 2001 11:17 PM
Subject: Re: [Dev-C++] WINDOWS API !!!!
> Hi,
> if you want i can upload a part of msdn about win32
> api.
> bye
>
>
> ___________________________________________________________
> Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
> Yahoo! Messenger : http://fr.messenger.yahoo.com
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Ramana K. <xr...@ho...> - 2001-04-13 02:06:15
|
There is no updated version (I don't think) but there is similar up-to-date information from msdn.microsoft.com (look for the library) and you can download this documentation as part of the Platform SDK (search for this on the msdn website). I hope you find what you need (I'm looking for a new version too, but these substitutes are quite good). Ramana _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
|
From: Wendel <we...@ha...> - 2001-04-12 19:32:52
|
Hi Programmers, I'm begginer in programming and in C/C++ ... :-) I was looking for my help (GNU) in DEV-C++ and i want use a function that need pwd.h ... i put it #include <pwd.h> ...but the compiler spoke me that it doesen't exist...i i was found and realment doesen't exist in my HardDisk ... :-/ Do you know where i can get ?? O better where i can get "several LIBS utils" ?? Until GNU libs ... for C/C++ ... :-) Example ... exist "netdb.h" or other libs used in C for linux, exist this libs to win ?? Where i can get it thinks ?? :-)) I was looking for help and ...is of this kind: The help is: You can search the system user database for information about a specific user using getpwuid or getpwnam. These functions are declared in pwd.h. Function: struct passwd * getpwuid (uid_t uid) This function returns a pointer to a statically-allocated structure containing information about the user whose user ID is uid. This structure may be overwritten on subsequent calls to getpwuid. A null pointer value indicates there is no user in the data base with user ID uid. Function: int getpwuid_r (uid_t uid, struct passwd *result_buf, char * buffer, size_t buflen, struct passwd **result) This function is similar to getpwuid in that is returns information about the user whose user ID is uid. But the result is not placed in a static buffer. Instead the user supplied structure pointed to by result_buf is filled with the information. The first buflen bytes of the additional buffer pointed to by buffer are used to contain additional information, normally strings which are pointed to by the elements of the result structure. In pwd.h help: Data Type: struct passwd The passwd data structure is used to hold information about entries in the system user data base. It has at least the following members: char *pw_name The user's login name. uid_t pw_uid The user ID number. Based in it, How to need i do to get a ID of user ?? Please give me a real example...kind ... how to get the ID of user and print on the screen with printf ?? Thkz for all Best Regards [ ]'s |
|
From: <zi...@ya...> - 2001-04-12 17:48:21
|
Hi, if you want i can upload a part of msdn about win32 api. bye ___________________________________________________________ Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Messenger : http://fr.messenger.yahoo.com |
|
From: Colin L. <web...@bl...> - 2001-04-12 12:03:41
|
hi ! > 1) make gcc invoke one time per source file instead of multiple source files > in one gcc invokation, so you can display in a status line which source file > is compiling Makefiles will be used for next versions, and gcc will be invoked once per source file > 2) make a ctrl-c break of the compilation process good idea > 3) maybe you can implement a more intelligent "make" function, but I know > this is not trivial a task the GNU make tool is intelligent and that one will be used ;) > 4) very important: make the paths in the *.dev file relative so you can move > all sources together with the project file into another directory. right > Now to some more obscure featues > 5) Why the hell can't a source file have the same name than a project > file??? I have "test.dev" and want to have "test.cpp" in it I did this 1000 > times before with other compilers this is because of conflicting object filenames in some cases. I'll try to change that too > 6) If I select "new source file" from the file menu, then rename that source > file, and then want to save it the first time, dev-c++ complains that a > source file of the same name is already existing in the project > harharharharharharhar oups probably a bug > 7) make the project directory the default directory for new source files. I > have found them saved to the root directory of my HD. > > well, that's already 7 points, a magic number, I could continue this list > but I think these are the "features" of Dev-C++ that I would like to have > changed most. Wait until gcc 2.95.3 (<-!!!) is released as MinGW version, > since this is the most recent gcc (it's not the same as 2.95.2-3). True ;) Thanks for the suggestions Greetings, Colin > later, > chris > > > > > > On Wed, 11 Apr 2001, you wrote: > > > I think it would be better if there was an updated dev-c++ version > > > containing the updated compiler. And i am also talking about the new > Dev-C++ > > > users. > > > > > > > > > > > > Ioannis > > > > > > * Ioannis Vranos > > > * Programming pages: http://members.nbci.com/noicys > > > * Alternative URL: http://run.to/noicys > > > > > > > > > > -----Original Message----- > > > > From: dev...@li... > > > > [mailto:dev...@li...]On Behalf Of Colin > > > > Laplace > > > > Sent: Tuesday, April 10, 2001 2:57 PM > > > > To: dev...@li... > > > > Subject: [Dev-C++] Mingw 2.95.2-3 released > > > > > > > > > > > > Hello, > > > > > > > > The Mingw compiler version 2.95.2-3 has been released by the Mingw > team. > > > > If you want to upgrade you Dev-C++ with it you can download the > > > > following files > > > > : > > > > > > > > Win32 API files : > > > > http://prdownloads.sourceforge.net/mingw/w32api-0.5.tar.gz > > > > > > > > GCC 2.95.3 : > > > > http://prdownloads.sourceforge.net/mingw/gcc-2.95.2-3.zip > > > > > > > > LD linker : > > > > http://prdownloads.sourceforge.net/mingw/ld-2.10.91-20010126.zip > > > > > > > > Ming-runtime : > > > > > http://prdownloads.sourceforge.net/mingw/mingw-runtime-0.5-20010221.tar.gz > > > > > > > > You can reach the download page at : > > > > https://sourceforge.net/project/showfiles.php?group_id=2435 > > > > > > > > If some of you are having troubles patching your current version > > > > with this new > > > > one i will make some install instructions documentation. > > > > > > > > Greetings, > > > > Colin Laplace > > > > web...@bl... > > > > http://www.bloodshed.net > > > > > > > > _______________________________________________ > > > > Dev-cpp-users mailing list > > > > Dev...@li... > > > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > > > > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > -- > > Colin Laplace > > web...@bl... > > http://www.bloodshed.net > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users -- Colin Laplace web...@bl... http://www.bloodshed.net |
|
From: <bau...@ln...> - 2001-04-12 11:55:26
|
Hi !
I'm a beginner of programming, but I'd like to write a simply DLL (under NT4.0,
called from Visual Basic). It's parameter is an array of integers, and the
return value is an integer. It's work is only make some basic calculations on
elements of the array, and return with the result integer. Can somebody help me?
(I don't write it in VB, because the speed of calculations is important. )
Thanks.
Baumi.
|
|
From: <bis...@bt...> - 2001-04-12 11:07:39
|
Hi Anybody getting this: cpp.exe: unrecognized option `-remap' cpp.exe: -lang-c++: linker input file unused since linking not done This happens only when I use the '-BC:\Dev-c++\bin' flag in the makefile. Unfortunately there is no way (apparantly) to turn this flag off from the compiler options dialog. - Biswa. > -----Original Message----- > From: Colin Laplace [mailto:web...@bl...] > Sent: 10 April 2001 13:57 > To: dev...@li... > Subject: [Dev-C++] Mingw 2.95.2-3 released > > > Hello, > > The Mingw compiler version 2.95.2-3 has been released by the > Mingw team. > If you want to upgrade you Dev-C++ with it you can download > the following files > : > > Win32 API files : > http://prdownloads.sourceforge.net/mingw/w32api-0.5.tar.gz > > GCC 2.95.3 : > http://prdownloads.sourceforge.net/mingw/gcc-2.95.2-3.zip > > LD linker : > http://prdownloads.sourceforge.net/mingw/ld-2.10.91-20010126.zip > > Ming-runtime : > http://prdownloads.sourceforge.net/mingw/mingw-runtime-0.5-200 10221.tar.gz You can reach the download page at : https://sourceforge.net/project/showfiles.php?group_id=2435 If some of you are having troubles patching your current version with this new one i will make some install instructions documentation. Greetings, Colin Laplace web...@bl... http://www.bloodshed.net _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Elias P. <eli...@ao...> - 2001-04-12 10:44:29
|
I forgot to add, in my example code, the function now is called htmlhelp_HtmlHelpA() instead of HtmlHelp(). |
|
From: Elias P. <eli...@ao...> - 2001-04-12 10:37:52
|
> I have the new ld now and your test program works fine. In my
> program, however, htmlhelp still returns 0, even when I copy the
> code from your program, so I can choose the help file. Does
> HtmlHelp provide a way to receive a detailed error message (so I
> know what's going wrong) and what could be going wrong? We have
> the same types of WNDCLASSEXs and the basically the same settings
> in the two programs, except my program has multiple source files,
> and a lot more resources.
>
I don't know, but on the mingw list someone also said the .lib
wouldn't work. They created a htmlhelp.a library instead. Another way
is to directly load the library. This is the method i'm using to
access the DX8 dll. I just tried it, and it works here as well. ( so
the following code probably works with every .dll where you have no .a
file)
Instead of linking with the htmlhelp.lib, add code similiar to the
following to your project. (the atexit and MessageBox stuff is just
how I do it, you only need LoadLibrary and GetProcAddress) In my
example it works just like the .lib version, but maybe it's more
stable.
#include <stdlib.h> // declares atexit function
// the htmlhelp library
HMODULE htmlhelp=NULL;
// pointer to function we want to use
HWND WINAPI (*htmlhelp_HtmlHelpA)(HWND,LPCSTR,UINT,DWORD_PTR)=NULL;
// unload the htmlhelp library
void unload_htmlhelp_library(void) {
FreeLibrary(htmlhelp);
}
// load the htmlhelp library
void load_htmlhelp_library(void) {
htmlhelp=LoadLibrary("hhctrl.ocx");
if(htmlhelp==NULL) {
MessageBox(NULL,"Can't load hhctrl.ocx","Error",MB_OK);
exit(-1);
}
// ensure the library gets unloaded again
atexit(unload_htmlhelp_library);
htmlhelp_HtmlHelpA =
(void *) GetProcAddress(htmlhelp, "HtmlHelpA");
if(htmlhelp_HtmlHelpA==NULL) {
MessageBox(NULL,"Can't locate methods inside
hhctrl.ocx","Error",MB_OK);
exit(-1);
}
}
hope it works
Elias Pschernig
|
|
From: Christian W. <Chr...@vo...> - 2001-04-12 10:27:00
|
Hi there,
i am still learning c++, for educational purposes i want to write a =
litle
database.
I created a struckt:
------------------schnipp----------------
typedef struct
{
char nname[100]; //Variable nname mit 100 Zeichen l=E4nge...
char vname[100];
char strasse[100];
char tel[100];
} S_ADRESSE;
S_ADRESSE datensatz[1000];=20
----------------schnapp------------------
if i want to write this in a file with
------------------schnipp----------------
FILE *p_dateizeiger;
int i_i;
int i_c;
char c_c[1];
//Versuche Datei zu =F6ffnen, bei Fehler ausgabe=20
if ((p_dateizeiger =3D fopen("adressen.txt", "w")) =3D=3D NULL)
{
//Da bei Fehler fopen den Wert NULL liefert, den
Fehler ausgeben
=20
printf("\nEs ist ein fehler beim oeffnen der Datei
aufgetreten !\n\n");
=20
break;
}
else
{
for (i_i =3D 0; i_i <=3D i_ds; ++i_i)
{
=20
printf("\nSchreibe Datensatz: %i\n",i_ds);
=20
for (i_c =3D 0; i_c <=3D 99; ++i_c)
{
=20
c_c[0] =3D
datensatz[i_i].vname[i_c];
if (c_c !=3D "\n")=20
{
if (c_c !=3D " " || c_c !=3D
"") fputc(datensatz[i_i].vname[i_c], p_dateizeiger);
}
else
{
fputc('\n',
p_dateizeiger);
break;
};
=09
=09
};
};
----------------schnapp------------------
and open the file with notepad there are many spaces before the
caracters...
How you see, i tried to filter this without any success...
Who can help ?
best regards...
Christian Wallukat
Voxtron auf der CeBIT: Halle 17, Stand C56 - besuchen Sie uns!=20
Voxtron GmbH, Porschestr. 1-7, 59227 Ahlen=20
Tel.: +49 2382 98974-0 / Fax: +49 2382 98974-74
Internet: <http://www.voxtron.de/> / Mail: <mailto:su...@vo...>=20
|
|
From: Purohit P. J.. <pra...@si...> - 2001-04-12 10:25:49
|
Hello Friends,
I Once About 4 Months Ago Downloaded Win32 API Reference Help File
From A Link On www.bloodshed.net Which Was About 12 MB. That Help File Is
Too Old Made Somewhere in 1996. Does Any Body Know From Where Can I Get The
Latest Version Of That File OR Any Other Complete Win32 API or SDK Help or
Reference Files.
Thanx In Advance.....
Prahlad Purohit..
|
|
From: Ramana K. <xr...@ho...> - 2001-04-12 08:28:11
|
Change your personal settings at the sourceforge website. I think there is a link from the bloodshed website. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
|
From: Ramana K. <xr...@ho...> - 2001-04-12 08:18:43
|
I think you need to include a .a or .lib file which you havent. You do this by going to Project->Options and in the section where you put extra object files or libraries, write its path (eg: C:\Dev-C++\Lib\libcomctl32.a without the quotes). The example above is the library I think you need, or maybe it is libcomdlg32.a. Also, you may not be compiling a windows project (so the compiler doesnt include standard windows headers). Make sure you have set your compiler options (linker section) to Compile for Win32 and your Project Options has Windows Project - no console (or something similar) checked. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
|
From: Ramana K. <xr...@ho...> - 2001-04-12 08:17:54
|
I have the new ld now and your test program works fine. In my program, however, htmlhelp still returns 0, even when I copy the code from your program, so I can choose the help file. Does HtmlHelp provide a way to receive a detailed error message (so I know what's going wrong) and what could be going wrong? We have the same types of WNDCLASSEXs and the basically the same settings in the two programs, except my program has multiple source files, and a lot more resources. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
|
From: Ramana K. <xr...@ho...> - 2001-04-12 08:17:10
|
Is it possible for you to create a new Dev-C++ package with the new MingW (don't have to change the IDE) so it is easier for us to install (we can just update our Dev-c++)? _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
|
From: Wendel <we...@ha...> - 2001-04-11 17:55:26
|
Hi Programmings, I'm looking of how can i get thw SID of a user ?? Example, suppose that = i logged in one NT ... and i'm Administrator ... then i'm SID ... ... = 500!! :-) Somebody know a funcition to get a SID of my user logged local ?? Thkz for all help. [ ]'s Best Regards, |