Windows.h In Dev C%2b%2b

I have been messing around with making a windows application in Dev-C++ I wanted to make it in a single source file, rather than a project to see if it worked. It did, other than the fact that I got the windows app, AND a DOS prompt behind it. Is there anyway to remove the DOS prompt? I will include the code, so that you can see what I mean.

  1. C iam a beginner in c. Iam using visual studio 2008 professional. And i have to develop my project on win32 console application but i dont know what type of code is needed to load any kind of image on the console furthermore what will be the haeder files included and what are the limitations whether an image can be loaded on the console.
  2. Windows.h is a Windows-specific header file for the C and C programming languages which contains declarations for all of the functions in the Windows API, all the common macros used by Windows programmers, and all the data types used by the various functions and subsystems.It defines a very large number of Windows specific functions that can be used in C.

This happens every single time i try to compile any project whether it would be a template given by Dev-C when creating a windows application or something I have been working on.I save all the files like the source, resource, header and all the files created by the compiler in the same directory, 'C: Dev-Cpp ' from which I create a another. I have been messing around with making a windows application in Dev-C I wanted to make it in a single source file, rather than a project to see if it worked. It did, other than the fact that I got the windows app, AND a DOS prompt behind it. Is there anyway to remove the DOS prompt? Hello can someone help me please, i wrote some code in my win10 machine including Windows.h (API) an i did use some functions from it, but now i want to compile it in my Linux machine, But i don't know how, i tried using winegcc but i don't know what i need or what flags to use and the compiler can't find the Windows header file.

Windows.h In Dev C 2b 2b 1b

  • 3 Contributors
  • forum5 Replies
  • 8,051 Views
  • 3 Days Discussion Span
  • commentLatest PostLatest Postby adityatandon

Recommended Answers

What's your project type? Did you specify a Win32 application in the project wizard?

Jump to Post

Ah right, sorry :P
As far as I know, that console window is the main thread of the application, so I don't think there's any way for you to display only the form and not the console window. Photoshop free download windows 10 64 bit.

Jump to Post

All 5 Replies

Windows.h In Dev C 2b 2b 3

Windows.h In Dev C 2b 2b 4

What's your project type? Did you specify a Win32 application in the project wizard?