Menu

#342 Use of undocumented Win32 function DeviceCapabilitiesEx in TPrintDC

6.35
closed
1
2016-08-08
2016-08-05
No

The implementation of TPrintDC::DeviceCapabilities uses the undocumented Win32 function DeviceCapabilitiesEx. See [discussion:a64befb5].

Related

Discussion: a64befb5
Discussion: Windows 10 Anniversary problem
Discussion: Windows 10 Anniversary problem
News: 2016/08/owlnext-643-and-635-bug-fix-release
Wiki: Frequently_Asked_Questions
Wiki: OWLNext_Stable_Releases
Wiki: OWL_Compatibility_modes
Wiki: Upgrading_from_OWL

Discussion

  • Vidar Hasfjord

    Vidar Hasfjord - 2016-08-06

    This issue has now been mitigated on the trunk, by moving TPrintDC::DeviceCapabilities to OWL5_COMPAT mode [r3404]. On the Owlet branch, TPrintDC::DeviceCapabilities has been removed altogether [r3403]. Client code should use Win32 DeviceCapabilities instead.

     

    Related

    Commit: [r3403]
    Commit: [r3404]

  • Vidar Hasfjord

    Vidar Hasfjord - 2016-08-06
    • status: open --> pending
    • Group: unspecified --> 7
     
  • Regis St-Gelais

    Regis St-Gelais - 2016-08-08

    The dll stub is a good idea for those who can't rebuild.
    I think that TPrintDC::DeviceCapabilities should be moved to OWL5_COMPAT in all active branches and force developpers to use Win32 DeviceCapabilities instead.

     
    👍
    1
  • Vidar Hasfjord

    Vidar Hasfjord - 2016-08-08
    • labels: Internal, Build --> Internal, Build, Crash
    • Group: 7 --> 6.35
    • status: pending --> open
     

    Last edit: Vidar Hasfjord 2016-08-08
  • Vidar Hasfjord

    Vidar Hasfjord - 2016-08-08

    Thanks for the feedback, Regis! We'll go with this solution then.

    The fix on the trunk [r3404], relegating TPrintDC::DeviceCapabilities to OWL5_COMPAT mode, has now been merged into new prerelease branches for 6.35 [r3411] and 6.43 [r3412]. A new version of OWLMaker, with support for the new branches, has been uploaded.

     

    Related

    Commit: [r3404]
    Commit: [r3411]
    Commit: [r3412]

  • Vidar Hasfjord

    Vidar Hasfjord - 2016-08-08
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB