Jump to content
Sign in to follow this  

Command prompt window [Solved]

Recommended Posts


When I create a project and run it a command prompt window always appears and becomes active while the program is running in debug.

This happens if the Active platform is win32 or console.

Any idead why this happens.

Only a mousemove and mouseclick in it.

#include <Windows.h>
#include "AutoIt3.h"

int main()

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post

Link to post
Share on other sites

It's a console application. You need to change to GUI application using the application properties manager, or create a new Win32 GUI project. You're using a console main function, after all... :<)

Win32 GUI main function is defined as:

  HINSTANCE hInstance,
  HINSTANCE hPrevInstance,
  LPSTR     lpCmdLine,
  INT       nCmdShow}
  return 0;

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this