Opened 14 years ago

Closed 14 years ago

#1242 closed Bug (Fixed)

GDIPlus Encoder stuff doesn't work.

Reported by: Valik Owned by:
Milestone: Component: AutoIt
Version: Severity: Blocking
Keywords: Cc:


The GDIPlus Encoder stuff doesn't work because a pointer is passed to _WinAPI_WideCharToMultiByte() which treats it wrong and ends up doing the wrong thing.

Simple example that reproduces the problem is the _GDIPlus_Encoders() example which displays hex strings instead of text for things like DLL name, file extension, et cetera.

This should probably be fixed in _WinAPI_WideCharToMultiByte() by testing if the input IsPtr() and doing the right thing. I imagine GDIPlus isn't the only place calling the function in this manner which means there are possibly other broken things.

_WinAPI_MultiByteToWideChar() is probably broken, too.

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Valik

  • Milestone set to
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in by JP.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.