Windows 10: Windows.h

Discus and support Windows.h in Windows 10 Software and Apps to solve the problem; 7-29-2020 Every one of my programs from windows 7 contains the following code and they worked in windows 7. .const #define LINKFILES #define codejps... Discussion in 'Windows 10 Software and Apps' started by jps99, Jul 29, 2020.

  1. jps99 Win User

    Windows.h


    7-29-2020

    Every one of my programs from windows 7 contains the following
    code and they worked in windows 7.
    .const
    #define LINKFILES
    #define codejps
    #define WIN64
    #INCLUDE windows.h

    I am now on windows 10 pro 64-bit.
    The line (#INCLUDE windows.h) is causing the programs to fail.
    Any help would be appreciated.

    :)
     
    jps99, Jul 29, 2020
    #1
  2. xaav Win User

    Windows Search for exact filename and extension only

    While searching for Windows.h, I discovered some rather annoying search behaviour on Windows 10. Rather than being presented with a single result of Windows.h, I was presented with an entire laundry list of files with "Windows" in them and "h" in them, which is not what I wanted. Searching for "Windows.h" did not help.

    How can I search for Windows.h and receive only files with exactly that name?


    Windows.h 5vGhE.png
     
  3. FBi's running C++ questions

    // windows.h needs to be included for this...

    void DelaySecs(int secs)
    {
    unsigned long int t=GetTickCount()+(1000L*secs);
    while(GetTickCount()<t)
    { /* Wait !!!*/ }
    }
     
    [I.R.A]_FBi, Jul 29, 2020
    #3
  4. FrankMuir Win User

    Windows.h

    VS2017 Community

    Is the windows.h header file included in the include directory of the VC tool in VS2017 or has it been depreciated? If so, where have it's functions migrated? I know it was in VC6.0 sixteen years ago.
     
    FrankMuir, Jul 29, 2020
    #4
Thema:

Windows.h