Jump to content

MultiByteToWideChar / WideCharToMultiByte 3.3.1.3


joell
 Share

Recommended Posts

Hi,

Just made a test with the example of function _GUICtrlListView_GetGroupInfo with last beta 3.3.1.3

It Gives "Group 1 Text: 0x008CDCD0" instead of "Group 1 Text: Group 1"

Seems at least MultiByteToWideChar / WideCharToMultiByte are not behaving the usual way.

Regards,

registry victim

Link to comment
Share on other sites

Well anyway, try replacing the initial If block in the _WinAPI_WideCharToMultiByte function with this:

If IsPtr($pUnicode) Then
    $sUnicodeType = "ptr"
ElseIf IsDllStruct($pUnicode) Then
    $sUnicodeType = "ptr"
    $pUnicode = DllStructGetPtr($pUnicode)
Else
    $sUnicodeType = "wstr"
EndIf
Edited by wraithdu
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...