|
From: Noorez K. <coo...@ho...> - 2004-01-04 06:59:04
|
Can the data types that you would see in WinApps like UINT (unsigned int) be used without the windows.h file? Or do you need to define that sort of thing without the windows header file? _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca |
|
From: Michael C U. <mu...@cb...> - 2004-01-04 07:55:47
|
It's just an unsigned int. So yes, you can use it. You can even define a pre-processor macro for it if you want. Many of the data types you see in Windows programming are just typedefs or pre-processor macros for primitive types. On Sat, 3 Jan 2004, Noorez Kassam wrote: > Can the data types that you would see in WinApps like UINT (unsigned int) be > used without the windows.h file? Or do you need to define that sort of thing > without the windows header file? > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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 > |
|
From: Per W. <pw...@ia...> - 2004-01-04 10:18:13
|
I wouldn't recommend to #define UINT unsigned int but would instead recommend the typedef unsigned int UINT; declaration. /Per W On Sun, 4 Jan 2004, Michael C Urban wrote: > It's just an unsigned int. So yes, you can use it. You can even define a > pre-processor macro for it if you want. > > Many of the data types you see in Windows programming are just typedefs or > pre-processor macros for primitive types. > > On Sat, 3 Jan 2004, Noorez Kassam wrote: > > > Can the data types that you would see in WinApps like UINT (unsigned int) be > > used without the windows.h file? Or do you need to define that sort of thing > > without the windows header file? > > > > _________________________________________________________________ > > MSN 8 with e-mail virus protection service: 2 months FREE* > > http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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 > |
|
From: <or...@vp...> - 2004-01-04 10:46:01
|
Hi! I personally recommend including inttypes.h or stdint.h Look around in stdint.h and you will find quite a few definitions, so you won't have to reinvent the wheel. You'll probably need uint32_t -- Greetings, Balázs |
|
From: Michael C U. <mu...@cb...> - 2004-01-04 07:59:02
|
Has anyone tried to build wxWindows 2.4.2 under Dev C++? it seems that the makefile.g95 is FUBAR. I've compiled wxWindows in the past using MinGW and Msys, but wxWindows 2.4.2 fails before it even gets started because it fails to create certain directories. I think it might have to do with the slashes going the wrong way and being interpreted as escape characters or something. Does anyone have insights on this? |
|
From: <or...@vp...> - 2004-01-04 10:48:05
|
Michael C Urban wrote: > Has anyone tried to build wxWindows 2.4.2 under Dev C++? it seems that the > makefile.g95 is FUBAR. I've compiled wxWindows in the past using MinGW and > Msys, but wxWindows 2.4.2 fails before it even gets started because it > fails to create certain directories. I think it might have to do with the > slashes going the wrong way and being interpreted as escape characters or > something. > > Does anyone have insights on this? I know encountered this before. The quick'n'dirty solution is to watch which directories cannot it create, then create them yourself. -- Greetings, Balázs |
|
From: Per W. <pw...@ia...> - 2004-01-04 11:29:32
|
I just downloaded the 2.4.2 windows install release edited src/mingw32.bat point at my MinGW directory run run it. checked contents of setup.h changed to src/msw make -f makefile.g95 Libraries built ok. I have installed MinGW myself. It says: C:\usr\src\wxWindows-2.4.2\lib>gcc --version gcc (GCC) 3.2 (mingw special 20020817-1) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /Per W On Sun, 4 Jan 2004, Michael C Urban wrote: > Has anyone tried to build wxWindows 2.4.2 under Dev C++? it seems that the > makefile.g95 is FUBAR. I've compiled wxWindows in the past using MinGW and > Msys, but wxWindows 2.4.2 fails before it even gets started because it > fails to create certain directories. I think it might have to do with the > slashes going the wrong way and being interpreted as escape characters or > something. > > Does anyone have insights on this? > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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 > |
|
From: Per W. <pw...@ia...> - 2004-01-04 11:34:35
|
Ouch. Forgot to mention that I have available a very large set of unix tools rm, cp, ln, rm, ... in my path. /Per W On Sun, 4 Jan 2004, Per Westermark wrote: > I just downloaded the 2.4.2 windows install release > > edited src/mingw32.bat point at my MinGW directory run run it. > checked contents of setup.h > changed to src/msw > make -f makefile.g95 > > Libraries built ok. I have installed MinGW myself. It says: > > C:\usr\src\wxWindows-2.4.2\lib>gcc --version > gcc (GCC) 3.2 (mingw special 20020817-1) > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > /Per W > > > On Sun, 4 Jan 2004, Michael C Urban wrote: > > > Has anyone tried to build wxWindows 2.4.2 under Dev C++? it seems that the > > makefile.g95 is FUBAR. I've compiled wxWindows in the past using MinGW and > > Msys, but wxWindows 2.4.2 fails before it even gets started because it > > fails to create certain directories. I think it might have to do with the > > slashes going the wrong way and being interpreted as escape characters or > > something. > > > > Does anyone have insights on this? > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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 > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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 > |
|
From: Michael C U. <mu...@cb...> - 2004-01-04 23:13:11
|
Hi all, Thanks to those who gave suggestions. I did finally figure out the problem. Basically, wxWindows doesn't like the make utility that omes with MSys (this despite the fact that the wxWindows instructions tell you to use MSys, and mSys automatically replaces whatever make utility you currently have with its own when it installs). And used the extra.zip package instead (which comes with the basic UNIX utilities and also a different make utility. wxWindows built fine after that. Thanks again, Mike On Sun, 4 Jan 2004, Per Westermark wrote: > Ouch. Forgot to mention that I have available a very large set of unix > tools > rm, cp, ln, rm, ... > in my path. > > /Per W > > On Sun, 4 Jan 2004, Per Westermark wrote: > > > I just downloaded the 2.4.2 windows install release > > > > edited src/mingw32.bat point at my MinGW directory run run it. > > checked contents of setup.h > > changed to src/msw > > make -f makefile.g95 > > > > Libraries built ok. I have installed MinGW myself. It says: > > > > C:\usr\src\wxWindows-2.4.2\lib>gcc --version > > gcc (GCC) 3.2 (mingw special 20020817-1) > > Copyright (C) 2002 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There is NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > > PURPOSE. > > > > /Per W > > > > > > On Sun, 4 Jan 2004, Michael C Urban wrote: > > > > > Has anyone tried to build wxWindows 2.4.2 under Dev C++? it seems that the > > > makefile.g95 is FUBAR. I've compiled wxWindows in the past using MinGW and > > > Msys, but wxWindows 2.4.2 fails before it even gets started because it > > > fails to create certain directories. I think it might have to do with the > > > slashes going the wrong way and being interpreted as escape characters or > > > something. > > > > > > Does anyone have insights on this? > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IBM Linux Tutorials. > > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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 > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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 > > > > |
|
From: Per W. <pw...@ia...> - 2004-01-04 10:15:16
|
Not directly. If you don't use the windows.h file, you must yourself add the line typedef unsigned int UINT; in your program - or include some other include files that contains the above line. /Per W On Sat, 3 Jan 2004, Noorez Kassam wrote: > Can the data types that you would see in WinApps like UINT (unsigned int) be > used without the windows.h file? Or do you need to define that sort of thing > without the windows header file? > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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 > |