SpaceBourne 2
Mirazhe Jun 12, 2023 @ 4:54am
The procedure entrypoint CreateFile2 could not be located in the kernel32.dll
When the game starts, it gives an error

LoginId:e0fd77e44ab7eda7c59c2e874a9f0c76
EpicAccountId:

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x0000000000000000

SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
SB2_Win64_Shipping
kernel32
ntdll

I am using windows 7. In the minimum system requirements, windows 7 is declared as supported.

I found a similar problem in the incentive here is a link that may help in investigating the causes
https://steamcommunity.com/app/999220/discussions/0/4227150602817608623/

https://steamcommunity.com/app/1580790/discussions/0/5079478487781475412/?ctp=4

Information about the kernel problem
The procedure entrypoint CreateFile2 could not be located in the kernel32.dll

The DirectX Tool Kit supports a broad array of Microsoft platforms and OS configurations, so the first step is to make sure you pick the correct VCXPROJ and/or NuGet package for your intended project and Visual C++ compiler edition.

For Windows desktop applications using VS 2013, you should use: DirectXTK_Desktop_2013.vcxproj -or- NuGet package directxtk_desktop_2013

The coding techniques used in the library are covered in great detail in this article Dual-use Coding Techniques for Games.

The primary control used throughout the code-base is the Windows OS target version which is set by _WIN32_WINNT as per MSDN. With the Windows 8.1 SDK (included with VS 2013) the SDK will default to using _WIN32_WINNT=0x0603 / _WIN32_WINNT=_WIN32_WINNT_WINBLUE which means to build for a Windows 8.1 or later OS. This is why the code uses CreateFile2 which is required for the code to be usable for Windows 8.x Store, Windows phone 8.x, or Windows 10 UWP.

If, however, you use the Windows desktop projects, they build with _WIN32_WINNT=0x0600 / _WIN32_WINNT=_WIN32_WINNT_VISTA and the library will make use of the APIs that work on Windows Vista SP2+KB971644 (needed for Direct3D 11 and Windows 7.
Last edited by Mirazhe; Jun 12, 2023 @ 9:18am
< >
Showing 1-4 of 4 comments
Steve Killbane Jun 17, 2023 @ 8:12am 
I have this same issue, and I'm on Windows 10. Have you found a solution for it?
Mirazhe Jun 17, 2023 @ 8:23am 
Originally posted by Steve Killbane:
I have this same issue, and I'm on Windows 10. Have you found a solution for it?
Sadly, no.
Steve Killbane Jun 17, 2023 @ 9:28am 
Originally posted by Mirazhe:
Originally posted by Steve Killbane:
I have this same issue, and I'm on Windows 10. Have you found a solution for it?
Sadly, no.
I verified the integrity of the game files. It said two files were reacquired, but the game still crashed. However, I reinstalled the game, and now it started up okay. I don't know if it's a permanent solution, but it's worked so far. If you haven't reinstalled the game, you could give it a shot.
Mirazhe Jun 17, 2023 @ 9:34am 
Originally posted by Steve Killbane:
Originally posted by Mirazhe:
Sadly, no.
I verified the integrity of the game files. It said two files were reacquired, but the game still crashed. However, I reinstalled the game, and now it started up okay. I don't know if it's a permanent solution, but it's worked so far. If you haven't reinstalled the game, you could give it a shot.
Thanks I'll try it
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jun 12, 2023 @ 4:54am
Posts: 4