![]() |
Progwin 32 is not working
Hi, Im traying to get this done but is not working, this is what i'm doing:
:
#include <windows.h>and this is the error massage that I have: :
C:\cwork>dmc test.cI'm using a c compiler (DMC ) thanks for your halep. |
Maybe its because your compiler paths or not set up correctly or that the file windows.h is not actually there.
I have not used the Digital Mars C compiler so i cant say exacly how to set the compiler environment paths. If you are having issues with this compiler then there is LCC which is a good C compiler and MinGW which is a port of GCC for windows. |
Do you thing that borland is gonna work without any modifications?
|
Which one?
There is borland C++ 5.5 which is old. Its requires you to make some configuration files for it to work but thats not hard. There is also Turbo C++ which they just released. I have not tried Turbo C++ but I have doubts that Borland can get back to the glory days based from the recent stuff they have made. They should both compile Win32 programs. If you are looking for an easy to use C compiler for Win32 development then LCC is good as you just have to run a simple installer and there is even a good text editor and debugger included. You could also download Visual C++ 2005 Express and then the Platform SDK. This would take over 1GB of downloading and you still need to follow a simple guilde to get VC++ Express to compile Win32 apps. |
Well, did you read your error "massage"? It simply states that it cannot find Windows.h. Perhaps searching for that file yourself might be in order.
|
How I'll search for that?
|
You could try the Windows search tool. It's not just there to look pretty.
|
and then what?
|
*rips at hair* And then, if Windows can find the file named 'Windows.h', put it into your 'win16' folder. Or, you can modify the compiler options to look for Windows.h somewhere other than 'win16'.
|
I have done some research(good old google) and I noticed that the Digital Mars C/C++ compiler is not exacly modern. Its not even designed to run after the 31st December 1999. It even warns you about that in the license agreement! I think you should think about looking at using another compiler.
If you are just doing C programming then LCC is very good. There is also MinGW(port of GCC for windows) which is also useful. I know its not really the solution you are looking for. I dont think any one so far in this thread has actually used the compiler you are using so help has been a bit of shooting in the dark. |
| All times are GMT -5. The time now is 6:01 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC