Announcement

Collapse
No announcement yet.

PB10.03 Missing Equates and UDT's ???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PB10.03 Missing Equates and UDT's ???

    Can anyone else confirm that the PB10.03 includes files are missing equates and UDT's ?
    (Not sure about 10.00 to 10.02)

    Such as:
    In PB9.05 was declared
    '
    %CBN_SELENDCANCEL = 10
    %CBN_SELCANCEL = %CBN_SELENDCANCEL
    PB10.03 I found not in the Win32Api.inc but instead in DDT.inc and declared as
    %CBN_SELENDCANCEL = %CBN_SELCANCEL
    which is switched and %CBN_SELCANCEL is not declared :confused2:

    Similarly I find that in PB9.05
    UNION TV_ITEM_UNION
    itemex AS TVITEMEX
    ITEM AS TV_ITEM
    END UNION


    TYPE TV_INSERTSTRUCT
    hParent AS DWORD
    hInsertAfter AS DWORD
    ITEM AS TV_ITEM_UNION
    END TYPE
    However in PB10.03 is declared as (found in CommCtrl.inc)
    #IF (%WIN32_IE >= &H0300)
    TYPE TV_INSERTSTRUCTA
    TVINSERTSTRUCTA
    END TYPE
    TYPE TV_INSERTSTRUCTW
    TVINSERTSTRUCTW
    END TYPE
    #ELSE
    TYPE TVINSERTSTRUCTA
    TV_INSERTSTRUCTA
    END TYPE
    TYPE TVINSERTSTRUCTW
    TV_INSERTSTRUCTW
    END TYPE
    #ENDIF
    am I missing something? or can anyone confirm their includes files are the same?
    Engineer's Motto: If it aint broke take it apart and fix it

    "If at 1st you don't succeed... call it version 1.0"

    "Half of Programming is coding"....."The other 90% is DEBUGGING"

    "Document my code????" .... "WHYYY??? do you think they call it CODE? "

  • #2
    Haven't you already confimed the provided header files are NOT the same?

    You can change back to your other set of header files if you don't like this set.... about all you'd have to do is A) Handle DECLARE's and TYPE/UNION for any needed "W" versions of WinAPI functions yourself; B) remember to use #OPTION ANSIAPI in all your programs and C) resolve any conflicts with new keywords.

    MCM
    Michael Mattias
    Tal Systems Inc. (retired)
    Racine WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      Hi Cliff,

      Take a look here
      "The trouble with quotes on the Internet is that you can never know if they are genuine." - Abraham Lincoln.

      Comment


      • #4
        Originally posted by Arthur Gomide View Post
        Hi Cliff,

        Take a look here
        Correct link under new forum: https://forum.powerbasic.com/showpos...58&postcount=6

        Comment

        Working...
        X