VB6 and GDI

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ssaraceni
    New Member
    • Sep 2008
    • 18

    #1

    VB6 and GDI

    Hi, I've a software developed using VB5 and GDI, it works fine on WIN98, but has a lot of problem with WIN2000 and WinXP.
    In details, debugging the source code I see that with Win2000, GDI functions like:
    Code:
    Declare Function PtInRegion Lib "gdi32" (ByVal hRgn As Long, ByVal x As Long, ByVal y As Long) As Long
    doesn't work!
    I'm not an expert about GDI, so I can't understand why the software works well on Win98 but not on Win2000 and WinXP, is there changing of GDI between 98 and XP?
    Thanks
Working...