dose anyone have a link to a tutorial on how to do DirectX9 Input? DirectInput is a relatively easy API to learn, all that you would need to know is included in the DirectX SDK documentation. Compiled, checked that the application was 64bit, and it executes cleanly without generating an invalid parameter message. Since then my ScriptHookV. I'm still on the 10 minute post timer. You have a choice of identifying keys using either virtual key codes or scan codes (see KEYBDINPUT. Call DirectInputCreateEx instead of DirectInput8Create. It is installed as an option with OpenIV and it is packaged in the bin folder of the ScriptHookV package. Join Date Jun 2012 Location trailerpark Posts 2,008 Thanks 2,100 Thanked 1,083 Times in 753 Poststhis is my scripthook log. Learn more about Teams Creates a DirectInput object and returns an IDirectInput8 Interface or later interface. Sep 25, 2019 @ 3:52am. cpp","contentType":"file"},{"name":"device. GetModuleHandle (NULL) is good for an SFML app. ini + the ELS folder. Fixed a crash when starting the game with a controller connected. net is your resource for game development with forums, tutorials, blogs, projects, portfolios, news, and more. I get a valid value in the outPtr. h file and my REFIID is IID_IDirectInput8. Thank you! Paul. Xbox 和 Windows 编程都将使用相同的核心 API 集,这使得编程能够更轻松地跨平台转换. h> and then it said the same for DIRECTINPUT_VERSION and other identifiers found in dinput. You should create a single DirectInput object and not release it until the application terminates. Q&A for work. // GTA V ASI LOADER (build May 2 2015) // (C) Alexander Blade 2015 LIB: "C:WINDOWSsystem32dinput8. This is what Im dealing with. Just instant crash on startup after a few seconds of a black screen. I managed to fix by installing Visual C++ Redistributable for Visual Studio 2015 (x64) and . Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. After allowing the game to update, then updating ScriptHookV along with the update. 61; Steam: Build Label: 7671541 # Uniquely identifies each build Capturing device input using Microsoft DirectInput can be done in three simple steps. 3) Once the KB device is created, caught from your. Amino. ScriptHook Failed to load. NET I'm pretty sure it's not a conflict of mods just the fact that script hook . - GitHub - amerkoleci/Vortice. It is necessary to set the data format only once. I just started beta testing my product and am getting this problem from a user running Windows 10 and am wondering if anyone might have run into this before. Alsways re-do this step after a R* update. com). fos Reading mod list from co-save Loading array variables Loading strings NVSE DLL DoLoadGameHook: systemsave William. IDirectInput8 is an interface to a new class of object, represented by the class identifier CLSID_DirectInput8, and cannot be obtained by calling QueryInterface on an interface to objects of class CLSID_DirectInput. 첫번째, HRESULT DirectInput8Create(HINSTANCE hInst, DWORD dwVersion, REFIID riidltf, LPVOID* ppvOut, LPUNKNOWN punkOuter); hInst 는 해당 윈도우의 인스턴스 핸들을 대입해 주며, dwVersion은 DirectInput의 . Does it help if you move ‘using namespace’ directives to the body of GameDevice constructor and maybe do not use ‘extern “C”’?The D3DX utility library (D3DX 9, D3DX 10, and D3DX 11), including Effects, is deprecated for UWP. I have all my injection working and I have hooked several other API calls without issue. Open IV is the latest version as well. 6. DI2XInput - A DirectInput to XInput converter. This section provides information about the Microsoft DirectInput component of the Microsoft DirectX application programming interface (API). DirectInputCreate (Windows CE 5. They are exactly the same files in principle, both from 2015. . Check spelling if a form or variable was intended. These are the top rated real world C++ (Cpp) examples of LPDIRECTINPUT8 extracted from open source projects. LIB: "C:Windowssystem32dinput8. IDirectInput8::ConfigureDevices. After you create the device object, you do any necessary configuration, such as calling the SetCooperativeLevel method. Visual Studio still uses FXC under the hood to compile shader objects. You can wait on the event, and then once you have the notification,. Learn more about TeamsDirectInput8Create_ptr DirectInput8Create_orig; PLUGIN_API HRESULT WINAPI DirectInput8Create (HINSTANCE hinst, DWORD dwVersion, REFIID riidltf, LPVOID * ppvOut, void * punkOuter) return DirectInput8Create_orig (hinst,. The toolkit was first released on MSDN. Input. Yesterday I tried to mod GTAV for the first time. I understand now that with (void**)&m_di I am passing the address of that pointer(m_di), which obviously, being a pointer points to something. asi won't load and it is causing other . net isnt loading as ive read before one way to see if it hasnt loaded in is to check for a log file which I dont seem to. As of the current version, it has the following. DirectInput8Create_Type OldFn = (DirectInput8Create_Type)D3DHook. Callback Functions (DirectInput) DirectInput Functions. Hope this helps. This browser is no longer supported. The use of DirectInput for keyboard and mouse input is not recommended. You should use Windows messages instead . h. As far as I know, the Raw Input is suggested for devices that are not supported by the common windows messages (touchpad, joysticks, microphones, etc. If so, goto speedsouls and learn how to downpatch your game to a version that works. That seems odd; I don't really sDINPUT8. 7 years ago @Frisky. Right click a model, select export/extract, I'm certain it's one of. 1. Select one of the following categories to start browsing the latest GTA 5 PC mods:I intalled last script hook and script hook dot net. If you have another a copy in any another directory you need to change the game folder directory in openIV from Tools->options->Game->GTA V Directory there you can see change directory option. h). You signed in with another tab or window. DirectInput8Create create directinput devices create save dir create graphics create sprites #4. 1. (essentially the textbook way) It goes: if (FAILED (DirectInput8Create (hInstance, DIRECTINPUT_VERSION,. Creates a DirectInput object and returns an IDirectInput8 Interface or later interface. Version 3. To make sure you are not using random. lib file would need to be included. Ive installed both multiple times, tried multiple trainers, none of them fucking work. lib' After installing the DirectX SDK, I kept getting the error. asi scripts to fail. lib". Im trying to load some basic mods but the scripthook, amongst other . With this we can block data, redirect it to a menu such as ImGui or even simulate input. Introduction . I've also tried just running scripthookv with native. Crashes exactly the same on both. Creating DirectInput. dll: 623e0000 ! Log Added: Searching GetDeviceState. The thing that is bothering me is that it was working yesterday. If the application is using action mapping, the data format is set instead by the call to IDirectInputDevice8. ; Additional information on Game support can be found here: How do I get the right game support? If you have questions about enforcement, please go here Enforcements |. dll: __declspec(dllexport) HRESULT WINAPI: direct_input8_create(HINSTANCE hinst, DWORD dw_version, const IID& riidltf, LPVOID* ppv_out, LPUNKNOWN punk_outer) {// This needs to be done because when we include dinput. The game in question is AquaNox – a submarine-based shooter from 2001. 1,077. IDirectInput. I get a valid value in the outPtr variable. There are several advantages to using XInput over DirectInput: XInput is easier to use and requires less setup than DirectInput. Feb 5, 2010 at 19:54. 1000瓶药水,其中至多有1瓶剧毒,现在给你10只小狗在24小时内通过小狗试药的方式找出哪瓶药有毒或者全部无毒(小狗服完药20小时后才能判断是否中毒)(2)extern DirectInput8Create_t OriginalFunction; extern HMODULE DInput8DLL; extern " C " {DINPUT8_API HRESULT DirectInput8Create (HINSTANCE hinst, DWORD dwVersion, REFIID riidltf, LPVOID * ppvOut, LPUNKNOWN punkOuter);} Copy lines Copy permalink View git blame; Reference in new issue; Go FooterGame Keeps Crashing, Using Mods and Menyoo. yft's and a . *No scripthookvdotnet log file is appearing. From the ASI loader file: // GTA V ASI LOADER (build May 2 2015) // (C) Alexander Blade 2015. WRN: Assembly binding logging is turned OFF. Provide details and share your research! But avoid. These are the top rated real world C++ (Cpp) examples of DirectInput8Create extracted from open source projects. asi you only need AdvancedHookV. Functions[D3DFN_DirectInput8Create]. I have placed the asi file under. If the application is using action mapping, the data format is set instead by the call to IDirectInputDevice8. I've gotten some help and narrowed down a solution to this, which was: " Try GetDeviceState hk just memset (buffer, 0, size) or SendDeviceData ". There are several advantages to using XInput over DirectInput: XInput is easier to use and requires less setup than DirectInput. I got it worked with c# but like i said it needs focus,but i want to send keys to a minimized/non focused window. These are the top rated real world C++ (Cpp) examples of LPDIRECTINPUTDEVICE8::SetCooperativeLevel extracted from open source projects. Then, I would obviously like to have it be read from it and display the read data on the console using cout or something similar. *edit FOUND THE PROBLEM its not the update its my ASI loader (read most recent comment below by me) After the most recent update to GTA5 my mods for Story mode have not been working at all not a single one even after updating them all, the only ones that work are the ones that are in the games . user11548. If the method returns DI_BUFFEROVERFLOW, the data in the rgdod array has been truncated. I already checked if Character Swap and Menyoo are activated with the same key, and they're not, Menyoo is in F8 and CS is in F6, I also have native trainer but pressing F4 does. dll" => 00007FF9FB320000 API: "DirectInput8Create" => 00007FF9FB3222. You can. This function creates a DirectInput object that supports the IDirectInput COM interface. 2 (or higher, so skip this step on Windows 10); AND Microsoft Visual C++ Redistributable Package for Visual Studio 2013 (x64). DirectInputCreate failed: 80004005 What can I do to fix this? Top. However, when the debug version of the program is run without VS2012, it crashes. *No scripthookvdotnet log file is appearing. Once you have configured the device you can start. 3.调用IDirectInput8::CreateDevice () 传递一个GUID. GameDev. I honestly don't know anything about DirectX so I may be way off. @JohnFromGWN Hey, I resolved the problem, i deleted all mod related files and reinstalled them in the order i've seen on the forum, and added the ScripthookV. I can't spawn by na. 8. Running the debugger causes a pop-up window to appear which says :"Unhandled exception at 0x00413385 in program. They are exactly the same files in principle, both from 2015. Perhaps have the application loop (call something like Sleep(100); in the mean time) and keep trying until it finally acquires the mouse. fos NVSE DLL DoSaveGameHook: William - Save 11. lib file). Note that DirectInput doesn't need a window handle anywhere. h header file anymore, and I can't even initialize DirectInput >=( here's my code snippet that doesn't compile: #define DIRECTINPUT_VERSION 0x0800 #include <dinput. 5. 1. To listen, I initiate direct input with. Your screenshot shows a loading notice that a "new caliber of 7. h> Di1 Answer. 0 cannot be obtained in this implementation. Well i guess its up to the user in the end. The ASI loader is actually dinput8. Reload to refresh your session. hinst = hinstance. The first step in any Microsoft DirectInput application is obtaining the IDirectInput8 Interface. GameDev. Is there something obvious I'm missing?Docummentation for DirectInput8Create says that third param is IID_IDirectInput8. Currently I can't get the variables correct on this call. I found a suggestion to change from "DirectInputCreate" to "DirectInput8Create" and made all the associated changes, but it's still attempting to reference "dinput. C++ (Cpp) DirectInput8Create - 30 examples found. So then you'll need to send message with your applicaton to GlovePIE and it will generate input on Kernel level, so this will work in DirectX games. It compiles now, and I can finally code some Direct Sound. If the device does not require polling, calling this method has no effect. 0 interface from the DirectX 8. Basically, since my DLL does TONS of stuff at runtime, it took about 4 seconds before trigger the DllMain' return. The GUID is retrieved through the IDirectInput8::EnumDevices method, or it can be one of the predefined GUIDs listed below. net is your resource for game development with forums, tutorials, blogs, projects, portfolios, news, and more. The device window determines the location and size of the back buffer on screen. asi , i removed openinteriors and my trainerv, but for some reason im having. cpp at master · serpentiem/ddmkI have been trying to figure out the purpose of one argument in a DirectInput8 hooking project. Marked as answer by May Wang - MSFT Friday, November 14, 2014 8:38 AMI can hit F4 once, nothing. Search for the potential blocked files which are related to GTA 5. 2 (or higher, so skip this step on Windows 10) AND Microsoft Visual C++ Redistributable Package for Visual Studio 2013 (x64). lib library instead of Dinput. dll. To make sure you are not using random device data, always check for. Looking at both Steam and GOG pages the game seems to be positively received and despite being nearly 20 years old, it doesn’t seem to have any major incompatibilities with modern systems – with one. fos NVSE DLL DoPostLoadGameHook: quicksave. 1 SDK. dll" => 00007FFE57AC0000. The first step in any Microsoft DirectInput application is obtaining the IDirectInput8 Interface. Anyway, I want to hook an application. dll. I put all my mods in the scripts folder and downloaded the latest Native UI/ ScriptHookVDotNet but my asi loader won't load correctly. The data format cannot be changed while the device is acquired. No, it says that DirectInputCreate is unidentified. The first instructs the DLL to start inspecting the names of all processes loaded afterwards in search for a specific process, and then injecting code into that process to override DirectInput8Create. GameDev. DirectInputCreate (Windows CE 5. net and menyoo at last, and as they should, they worked. Given that there is a documented function that meets that description, I think that is very likely. OrigFn;. DirectInput8Create_Type OldFn = (DirectInput8Create_Type)D3DHook. \__MOProfileSave__\William - Save. When run, it doesn''t return any of the possible return values for DirectInput8Create(), instead DirectInput8Create() returns E_POINTER (An invalid pointer, usually NULL, was passed as a parameter). This could be a problem on my system only with an outdated version of dinput8. I can load into my game with the dlclist edited but it acts like there are no addons present in my game. h header file anymore, and I can't even initialize DirectInput >=( here's my code snippet that doesn't compile: #define DIRECTINPUT_VERSION 0x0800 #include <dinput. Here is some of the code: bool Game::initDirectInput (HINSTANCE hInstance) { hr = DirectInput8Create (hInstance, DIRECTINPUT_VERSION, IID. The focus window alerts Direct3D when an application switches from foreground mode to background mode (via Alt-Tab, a mouse click, or some other method). Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Extensive gameplay mods and more for the Devil May Cry PC games. fos NVSE DLL DoPreLoadGameHook: Save 3 Nora Doc Mitchell s House 00 09 04. dll" => 00007FFA902E0000 API: "DirectInput8Create. In this article. lib, which of course then completely failed to help when I attached it (I also found out I was attaching . 1868. DIDEVICEINSTANCE::tszProductName is a TCHAR type which is defined as wchar_t on Unicode platforms and char on ANSI platforms. To create a DirectX 7. This is conceptually similar to TlbImp for COM Interop which generates managed proxy entry points based on some formal description of the unmanaged side but it works for P/Invoke. We offer a huge amount of information and content for game hacks and cheats through our game hacking forum, download database, game hacking tutorials, and wiki sections. Pastebin. However, high-definition data cannot be obtained through the standard. Then, within the DirectInput8Create hook, do a Sleep(2000) and then return the call. I've also tried just running scripthookv with. For the following GUID values to be valid, your application must define INITGUID before all other preprocessor directives at the beginning of the source file, or link to Dxguid. I''ve tried passing 8A and 8W, neither of those works either. NET. Try temporarily disabling your antiviral software. -DoomsdayBusiness in SP. I dont know the mod, but if it didnt receive and update after 18. Open the Start menu > Type Windows Security to search it and then open it. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible. libs in VS2008 C++ incorrectly, but a bit more searching took. No message or anything. cpp","path":"proxy/device. Select the DirectInput tab. Alsways re-do this step after a R* update. h file, which seems to indicate that DIRECTINPUT_VERSION is set to 0x0800 be default. More. If you pass a value less than 8. Thanks, that seems to have taken care of the issue. I tried to run it in compatibility mods. unresolved external symbol "int __stdcall EnumDevicesCallback (struct DIDEVICEINSTANCEA const *,void *)". This works indeed. Teams. exe file to the game folder, but you'll be installing it for every title, so be prepared to see this screen frequently. I have DirectInput8Create hooked to get the LPDIRECTINPUT8 pointer to the input being created. lib files are in my "C:Program FilesMicrosoft DirectX 9. It is not necessary to have a handle to a window to use direct input. Click copy to mods. dll" => 00007FFE57AC0000 API: "DirectInput8Create" => 00007FFE57ACA050 API: "DllCanUnloadN. However when I call GetDeviceState(256, state) each byte in the array is 0 even though I press some keys. パッド対応させたい場合は、XInputがいいみたいですが、. cpp","path":"src/skse/skse/Colors. HRESULT DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFIID riidltf, LPVOID * ppvOut, LPUNKNOWN punkOuter); Parameters hinst Instance handle to the application or dynamic-link library (DLL) that is. Works like a charm, I was using FOMM, so I thought that it automatically updated NVSE. I've deleted all other add-on . To fix this issue, I suggest you try the following steps: 1->Link to the Dinput8. 举报滥用情况. net is your resource for game development with forums, tutorials, blogs, projects, portfolios, news, and more. Maybe with the two combined it will fix your issues? To be honest though, I'm starting to think that the additional problems being caused with v83 is just because it's a poorly. C++ (Cpp) DirectInput8Create - 30 examples found. See moreCompiled, checked that the application was 64bit, and it executes cleanly without generating an invalid parameter message. Log Added: Found dinput8. To run the System file checker, follow the steps given below: Press the Windows + R keys to open the Run utility. Hook_DirectInput8Create_Execute NVSE DLL DoPreLoadGameHook: systemsave William. This mod is an NVSE plugin that causes controller button inputs to also be detected by the game and NVSE functions as keyboard or mouse inputs. The DirectInput API is used to process data from a joystick, or other game controller. You are passing IID_IDirectInputDevice8. txt","path":"COPYING. , although it does it called when I change the LIBRARY to "dinput8" and changed the dll name from d3d9. The mod using script hook work, but mod need dot net not load. Creates and initializes an instance of a device based on a given globally unique identifier (GUID), and obtains an IDirectInputDevice8 Interface interface. {"payload":{"allShortcutsEnabled":false,"fileTree":{"src/skse/skse":{"items":[{"name":"Colors. This is illegal since is has to be one or the other, but not both external and internal. hit F4 twice "CASM is saving" message but no new save. If so, goto speedsouls and learn how to downpatch your game to a version that works. fos The only issue in this code is when I attempt to send input, it doesn't go through. 5 this way without problems. If the device does not require polling, calling this method has no effect. The window associated with the device must not be destroyed while it is still active in a DirectInput device. You are passing IID_IDirectInputDevice8. h> DiQuite a few suspension errors, but I didn't properly set it up yet anyways (I changed the suspension geometry, but the spring and dampening values are still from the Formula K). Answers. h instead of dinput. typedef interface ID3DXBuffer ID3DXBuffer; typedef interface ID3DXBuffer *LPD3DXBUFFER;OriginalFunction = (DirectInput8Create_t)GetProcAddress(DInput8DLL, "DirectInput8Create"); } This code as example you can load any library using any function from library check it with ida. 0) This function is not supported as of Windows CE . Connect and share knowledge within a single location that is structured and easy to search. Is there something obvious I'm missing? Docummentation for DirectInput8Create says that third param is IID_IDirectInput8. As of January 17 -2011 I started receiving this message " The procedure entry point could not be located in the dynamic link library kernel32. XInput device will have vibration functionality only when using. Im getting this error: unresolved external symbol _IID_IDirectInput8A when trying to use DirectInput8Create function. dll. 어떤 버전을 사용 할 것인지를 나타내는데, 보통 최신버전을 사용한다는 의미로I hope I dont sound dumb asking this but, has directinput8 been removed in the august update? there isn't a dinput8. Does it help if you move ‘using namespace’ directives to the body of GameDevice constructor and maybe do not use ‘extern “C”’?DirectInput8Create. To run the System file checker, follow the steps given below: Press the Windows + R keys to open the Run utility. Incremental saves, not working. Thanks so much Evil Steve. asi you only need AdvancedHookV. 8 years 3 months ago - 8 years 3 months ago #1 by lethinh282 Crash The Witcher 3 was created by lethinh282. Asiloader and scripthook failing to load. or NMM. Tor is an encrypted anonymising network that makes it harder to intercept internet communications, or see where communications are coming from or going to. hinst gets it value from the hinstance of the program (Config. This value is normally DIRECTINPUT_VERSION. The System file checker is an in-built Windows 10 utility that fixes any corrupted system file on your computer. This is loading a C++ dll I wrote (DInputPluginNative. I previously had an earlier version of wireshark and maybe the uninstall didn't remove the existing file. Setting up x360ce consists of copying a single small . It is installed as an option with OpenIV and it is packaged in the bin folder of the ScriptHookV package. Copy ScriptHookV. 0 SDK (August 2005)Libx86" folder respectively (usingAfter I have created the DLL and being reference my others, it said "The procedure entry point DirectInput8Create could not be located in the dynamic link library DInput8. Here is the code for handling multiple keyboards with raw input. SendInput lets you simulate key presses. I can only make it work when declaring the functions calling convention to __cdecl, which results to an exported name of "fnTest", but since the Win32 calling. p_Config. net is your resource for game development with forums, tutorials, blogs, projects, portfolios, news, and more. The principles are basically the same for other devices, like mouse,game controll,etc. The focus window alerts Direct3D when an application switches from foreground mode to background mode (via Alt-Tab, a mouse click, or some other method). Asking for help, clarification, or responding to other answers. DLL don't let me start the game. 0 SDK without using CoCreateInstance : Set "#define DIRECTINPUT_VERSION 0x0700" before the include statement for dinput. H. lib files to the file, let alone realize that the DxErr. You'll still have your old x64e. h> instead of. I started to install ELS and it worked once, in the first time. I ran a scan for malware / spyware. Created a second GTA V folder, to have an online vanilla one, and Im trying to mod the other one, obviously. Yes No Replies (1) Hello, I have a 32 bit console program which listens to external USB triggers (sensoriumembedded. Open the Windows control panel. UnKnoWnCheaTs - Multiplayer Game Hacking and Cheats, leading the scene since 2000. Theme. @Kwebbl The new release of ScriptHookVDotNet has changed the name to scripthookDotNet2 and until NativeUI is updated, is causing crashes/problems with any mods using NativeUI. To do that, i searched a lot of forums and from what i learn,i need to hook the DirectInput and change the Buffer. Nope. Then I used the DirectInput hook to block The GetDeviceState and Data, and all working good. Answers. h, but you haven't linked the containing implementation lib. Also, you might want to try explicting #define'ing the DirectInput version to 0x0800 before you #include DirectInput. LIB: "C:WINDOWSsystem32dinput8. LIBRARY "d3d9"EXPORTS Direct3DCreate9 = hookDirect3DCreate9 @1 DirectInput8Create = hookDirectInput8Create @2 But hookDirectInput8Create doesn't get called. Ok so I'm attempting to do some hooking of DirectInput8create. You can rate examples to help us improve the quality of examples. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"config","path":"config","contentType":"directory"},{"name":"inc","path":"inc","contentType. I think it can be that , See my asiloader log, it don't load here. Install Microsoft . -GamerAlan. It's more complex than that. The device window determines the location and size of the back buffer on screen. DirectInput - bad parameters w/ DirectInput8Create Graphics and GPU Programming. com. In the example you linked to, "DirectInput8Create" is called with it as an argument, so possibly that's what initializes it and you need to make sure that is called before you try to dereference it. dll. . To do that, i searched a lot of forums and from what i learn,i need to hook the DirectInput and change the Buffer. 6 years ago. . C++ (Cpp) LPDIRECTINPUT8 - 30 examples found. DirectInput8Create. I am only wanting to do a 'pass-through' of the API call. I''m implementing an action map class for my combination DirectX wrapper/engine. txt. then load it in ur project , make empty thread or any loop to continue calling the library and prevent crash. exe Base: 400000 Log Added: Searching dinput8. Even if it wasn't, you could still initialize DirectInput8 using some interesting methods or dynamically loading the DLL (shown below). It is kind of static, kind of dynamic library. Once you have configured the device you can start. It is a keylogger that uses DirectInput and IOCP's Overlapped I/O network model and minimizes the use of threads to show high speed. fos NVSE DLL DoSaveGameHook: Soda Star - Save 10. Last week i finally decided to play GTAV single player again after not playing for almost 6 months. , although it does it called when I change the LIBRARY to "dinput8" and changed the dll name from d3d9. We supply everything for game hack source codes, anti cheat bypasses, game. Trying to load these scripts (Amongst others just to test) (None of those work either) -PremiumDeluxeMotorsport. I've searched around a bit and I've been unable to find more on how to implement this solution and I'm stumped. dll with its DirectInput8Create function return Muhammad's MyDirectInput8. In the debug version of DirectInput, if a call is made to IDirectInputDevice8::GetDeviceData and the device has been unacquired, then random bytes will be sent to the device data buffer. You switched accounts on another tab or window. When run, it doesn''t return any of the possible return values for DirectInput8Create (), instead DirectInput8Create () returns E_POINTER (An invalid pointer, usually NULL, was passed as a parameter).