Windows 10: ApiValidation : error : While Checking file C:\Build\x64\Debug\sample.sys aitstatic is...

Discus and support ApiValidation : error : While Checking file C:\Build\x64\Debug\sample.sys aitstatic is... in Windows 10 Gaming to solve the problem; Hi,While building the kmdf driver, I am getting following error with apivalidator,ApiValidation : error : While Checking file... Discussion in 'Windows 10 Gaming' started by user1915016222, Jan 23, 2024.

  1. ApiValidation : error : While Checking file C:\Build\x64\Debug\sample.sys aitstatic is...


    Hi,While building the kmdf driver, I am getting following error with apivalidator,ApiValidation : error : While Checking file C:\Build\x64\Debug\sample.sys aitstatic is returned exit code 5.I am not able to find details for exit code 5 of aitstatic. I am using ewdk-22621 for building the driver.Thank you for your help in advance!.Regards,

    :)
     
    user1915016222, Jan 23, 2024
    #1

  2. driver samples don't build

    I have windows 10, vs2019, the latest WDK and SDK.

    I can't get the windows driver samples to build. The samples were downloaded today and are dated late March

    PLX9x5x gives the following

    Severity Code Description Project File Line Suppression State

    Error MSB4062 The "ValidateNTTargetVersion" task could not be loaded from the assembly C:\Program Files (x86)\Windows Kits\10\build\bin\Microsoft.DriverKit.Build.Tasks.17.0.dll. Could not load file or assembly 'file:///C:\Program Files (x86)\Windows Kits\10\build\bin\Microsoft.DriverKit.Build.Tasks.17.0.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. plx C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets 302

    and this

    C:\Users\Test-Eng-220411\Desktop\Sample drivers\PLX9x5x\sys\Pci9x5x.vcxproj : warning : Wildcards in project items are not supported in VC projects and can cause unexpected behavior, instability and performance degradation in the Visual Studio IDE. Please refer to .vcxproj files and wildcards | Microsoft Learn for supported options.

    C:\Users\Test-Eng-220411\Desktop\Sample drivers\PLX9x5x\test\plx.vcxproj : warning : Wildcards in project items are not supported in VC projects and can cause unexpected behavior, instability and performance degradation in the Visual Studio IDE. Please refer to .vcxproj files and wildcards | Microsoft Learn for supported options.

    and this

    1>C:\Users\Test-Eng-220411\Desktop\Sample drivers\PLX9x5x\sys\pci9x5x.inx(21-21): error 1284: Class "Sample" is reserved for use by Microsoft.

    1>C:\Users\Test-Eng-220411\Desktop\Sample drivers\PLX9x5x\sys\pci9x5x.inx(33-33): error 1285: Cannot specify [ClassInstall32] section for Microsoft-defined class.

    the pcidrv sample gives the following

    2>C:\Users\Test-Eng-220411\Desktop\Sample drivers\pcidrv\kmdf\genpci.inx(19-19): warning 1324: [Version] section should specify PnpLockdown=1.

    2>C:\Users\Test-Eng-220411\Desktop\Sample drivers\pcidrv\kmdf\genpci.inx(21-21): error 1284: Class "Sample" is reserved for use by Microsoft.

    2>C:\Users\Test-Eng-220411\Desktop\Sample drivers\pcidrv\kmdf\genpci.inx(34-34): error 1285: Cannot specify [ClassInstall32] section for Microsoft-defined class.

    and the same wildcard warnings
     
    James Bloom-Scheff, Jan 23, 2024
    #2
  3. CPU-Z 1.84.0 x64 Error Code

    After downloading the newest version of CPU-Z, 1.84.0 x64, I am greeted with an error code message everytime I attempt to start the program 0x241(577). After bringing up the log it does load the program but the mainboard, memory, SPD, and graphics sections are completely empty and greyed out. Bench function appears to work fine.

    I am on W7 SP1 x64 with ZERO updates or Direct X/.Net Framework add ons installed. I would appreciate advice on where my computer is falling short. The log is posted below.

    [bInitDriver] path = C:\Windows\temp
    [bInitDriver] GetCurrentDirectory = C:\Program Files\CPUID\CPU-Z
    [bInitDriver] GetModuleFileName = C:\Program Files\CPUID\CPU-Z\cpuz.exe
    [vGetOSVersion] m_iOSVersion = 2 (6.1)
    [vGetOSVersion] m_bIsAMD64 = 0
    [bInitDriver] Extract dir = C:\Windows\temp\cpuz146\
    [bInitDriver] m_szPath_2=C:\Windows\temp\cpuz146\, m_szFilename=cpuz146_x64.sys
    [WinNT_hCreateServiceHandle] CreateFile cpuz146 returned 2 (0x2)
    [WinNT_bInstallDriver] szMachineName = HOME-PC
    [bDeleteFile] DeleteFile C:\Windows\temp\cpuz146\cpuz146_x64.sys failed (error = 3)
    [bDeleteFile] RemoveDirectory C:\Windows\temp\cpuz146\ failed (error = 2)
    [dwExtract_SYS] Extract C:\Windows\temp\cpuz146\cpuz146_x64.sys
    [WinNT_bCreateService] szDestName = C:\Windows\temp\cpuz146\cpuz146_x64.sys
    [WinNT_bStartService] StartService failed, error code = 577
    [bInitDriver] bInitDriver returned 577
    [WinNT_dwStopService] OpenService failed, errorcode = 1060
    [WinNT_dwDeleteService] Openservice failed, errorcode = 1060
    [bDeleteFile] DeleteFile C:\Windows\temp\cpuz146\cpuz146_x64.sys succeeded
    [bDeleteFile] RemoveDirectory C:\Windows\temp\cpuz146\ succeeded
    [vCloseDriver] CloseHandle(mutex) = 1
     
    nomdeplume, Jan 23, 2024
    #3
  4. ApiValidation : error : While Checking file C:\Build\x64\Debug\sample.sys aitstatic is...

    Downloaded MS Visual C++, need help/pointers

    Don't work? Getting an error or what?

    Funny thing though, under C# it's F6 to build solution, in vb it's ctrl+shift+b, I don't even see ctrl+f5 listed, it works though. It might again be different in C++. Either way, the build and debug menus should have the options, at least you should have a debug build in your project directory. Do a search for a executable in the projects folder.
     
    DanTheBanjoman, Jan 23, 2024
    #4
Thema:

ApiValidation : error : While Checking file C:\Build\x64\Debug\sample.sys aitstatic is...

Loading...
  1. ApiValidation : error : While Checking file C:\Build\x64\Debug\sample.sys aitstatic is... - Similar Threads - ApiValidation error While

  2. ApiValidation : error : While Checking file C:\Build\x64\Debug\sample.sys aitstatic is...

    in Windows 10 Software and Apps
    ApiValidation : error : While Checking file C:\Build\x64\Debug\sample.sys aitstatic is...: Hi,While building the kmdf driver, I am getting following error with apivalidator,ApiValidation : error : While Checking file C:\Build\x64\Debug\sample.sys aitstatic is returned exit code 5.I am not able to find details for exit code 5 of aitstatic. I am using ewdk-22621 for...
  3. chkdsk error while checking C: drive

    in Windows 10 Gaming
    chkdsk error while checking C: drive: Hello! 1 year ago I bought a laptop with a SSD. I tried running chkdsk Administrator, read-only on my drive today, as the performance on my laptop was very poor and programs were crashing. It always got stuck on this stage check image. Should I send it in service, or is it...
  4. chkdsk error while checking C: drive

    in Windows 10 Software and Apps
    chkdsk error while checking C: drive: Hello! 1 year ago I bought a laptop with a SSD. I tried running chkdsk Administrator, read-only on my drive today, as the performance on my laptop was very poor and programs were crashing. It always got stuck on this stage check image. Should I send it in service, or is it...
  5. chkdsk error while checking C: drive

    in Windows 10 BSOD Crashes and Debugging
    chkdsk error while checking C: drive: Hello! 1 year ago I bought a laptop with a SSD. I tried running chkdsk Administrator, read-only on my drive today, as the performance on my laptop was very poor and programs were crashing. It always got stuck on this stage check image. Should I send it in service, or is it...
  6. C drive Error checking

    in Windows 10 Network and Sharing
    C drive Error checking: I'm having an issue with my C drive where on boot windows will do a scan and repair on the drive. This happens every time on startup no matter what.This started after I completely reset my pc through windows settings.I'm not sure what's wrong but I've tried a couple thing...
  7. Ntfs file sys error

    in Windows 10 Ask Insider
    Ntfs file sys error: I got a ntfs file sys error i tried every method online and nothing fixes it i cant even boot into safe mode can someone help me pls submitted by /u/gurso21 [link] [comments] https://www.reddit.com/r/Windows10/comments/ef60jw/ntfs_file_sys_error/
  8. BSOD while downloading files, L1C63x64.sys

    in Windows 10 BSOD Crashes and Debugging
    BSOD while downloading files, L1C63x64.sys: Hello, Have tried finding a solution on the internet but so far no luck.. I keep getting BSOD when downloading (and only when downloading) files. I have attached the dump files. Everything seems to point at my network adapter driver. Which is from Atheros. Alas they do...
  9. BSOD While Streaming, L1C63x64.sys Error

    in Windows 10 BSOD Crashes and Debugging
    BSOD While Streaming, L1C63x64.sys Error: Lately whenever I stream I end up getting a Blue Screen am an hour or so in. I've narrowed it down to my qualcomm atheros ar8151 pci-e gigabit ethernet controller (ndis 6.30) Network Driver. I've updated it when Windows said I had the current drivers (of course) to ver....
  10. BSOD while using the internet. error (L1C63x64.sys)

    in Windows 10 BSOD Crashes and Debugging
    BSOD while using the internet. error (L1C63x64.sys): Hello When using my vpn I get the BSOD. Driver_IRQL_NOT_LESS_OR_EQUAL(L1C63x64.sys) My cpu says it is the Qualcomm Atheros Network driver, I made sure it was updated still happens. I would appreciate if someone can look at the log posted below I am lost at the moment...