ActiveX related bugs

Bugs that have been fixed.
TechSupport
Site Admin
Posts: 809
Joined: Tue Sep 14, 2004 7:55 pm
Location: Mississauga ON, Canada

ActiveX related bugs

Postby TechSupport » Sun Dec 02, 2007 4:27 pm

There are three rather nasty bugs related to ActiveX controls in the current version that have been fixed in version 3.0.

Bug #1
The declaration for the TLIBATTR structure in Ole32Api.inc is wrong.
Change this

Code: Select all

' The TLIBATTR structure contains information about a type library.

TYPE TLIBATTR DWORD
  rguid         AS GUID       ' Unique ID of the library
  lcid          AS DWORD      ' Language/locale of the library
  syskind       AS DWORD      ' Target hardware platform
  wMajorVerNum  AS WORD       ' Major version number
  wMinorVerNum  AS WORD       ' Minor version number
  wLibFlags     AS WORD       ' Library flags
END TYPE


to this

Code: Select all

' The TLIBATTR structure contains information about a type library.

TYPE TLIBATTR
  rguid         AS GUID       ' Unique ID of the library
  lcid          AS DWORD      ' Language/locale of the library
  syskind       AS DWORD      ' Target hardware platform
  wMajorVerNum  AS WORD       ' Major version number
  wMinorVerNum  AS WORD       ' Minor version number
  wLibFlags     AS WORD       ' Library flags
END TYPE



Bug #2
When generating PB-COM dispatch interfaces, the code generator always sets the value of the first member in an enumeration to zero.

Bug #3
Some Type Libraries might fail to load, because the code in Phoenix failed to take into consideration that some keys store locale ID, major and minor version numbes as hexadecimals while others store them as decimals(at least major and minor).

Return to “Previous Bugs”

Who is online

Users browsing this forum: No registered users and 1 guest