Modify

Opened 15 years ago

Closed 15 years ago

#1242 closed Bug (Fixed)

GDIPlus Encoder stuff doesn't work.

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

Description

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 15 years ago by Valik

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

Fixed in 3.3.1.4 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

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.