Windows header files

Started by neha kapila, January 28, 2015, 08:09:47 AM

Previous topic - Next topic

neha kapila

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.

czerny

Sure it is!
What have you done?

neha kapila

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.

czerny

Same cause! It is a console project. You should select a windows project.

Robert

Quote from: 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.

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

neha kapila

hey robert.
i did what you said but it is giving the same errors.