Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

DirectX install function error

$
0
0
hi everyone i want to convert the C++ code of the DirectXSetupGetEULAA() function to a vb.NET code; so my code is look like this: Public Declare Function DirectXSetupGetEULAA Lib _ "G:\Microsoft DirectX SDK (June 2010)\Redist\DSETUP.dll" _ (ByRef lpszEULA As String, ByVal cchEULA As UInteger, ByVal LangID As Integer) As Integer the original code (C++) is : int DirectXSetupGetEULA( LPTSTR lpszEULA, UINT cchEULA, WORD LangID ) theresult is : that this function does not return the specified string and the GetLastError() returns the error 183 ERROR_ALREADY_EXISTS 183 (0xB7) Cannot create a file when that file already exists. any solutions please

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>