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 :
theresult is : that this function does not return the specified string and the GetLastError() returns the error 183
|