Pelles C forum

C language => Beginner questions => Topic started by: neha kapila on January 28, 2015, 08:09:47 AM

Title: Windows header files
Post by: neha kapila on January 28, 2015, 08:09:47 AM
I have copied a code from the book. and there is a header file - #include<windows.h> which is not supported in pelles. Please tell me the alternative for this header file.
Title: Re: Windows header files
Post by: czerny on January 28, 2015, 10:44:10 AM
Sure it is!
What have you done?
Title: Re: Windows header files
Post by: neha kapila on January 29, 2015, 09:40:13 AM
i have attached the zip file. Please help as i am a novice and no idea about how to make a windows project from the console one.
Title: Re: Windows header files
Post by: czerny on January 29, 2015, 10:03:54 AM
Same cause! It is a console project. You should select a windows project.
Title: Re: Windows header files
Post by: Robert on January 29, 2015, 10:17:24 PM
i have attached the zip file. Please help as i am a novice and no idea about how to make a windows project from the console one.

Hi Neha:

Open your project in the Pelle's C IDE (poide).

Click on the Project menu.

Click on the Project Options menu item.

Click on the Linker Tab in the project options dialog.

Click on the Type dropdown arrow in the Subsystem section and click on Windows.

Robert Wishlaw
Title: Re: Windows header files
Post by: neha kapila on February 03, 2015, 08:00:04 AM
hey robert.
i did what you said but it is giving the same errors.