Announcement

Collapse
No announcement yet.

Promoting PowerBASIC

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

  • #21
    Originally posted by Knuth Konrad View Post
    With the invention (and later extension) of #RESOURCE, I personally have no more need for any kind of seperate resource file. Be it .RES or .PBR. Most stuff that previously a resource file was need for, can now be handled by the #RESOURCE meta statement.
    The key word being "most"

    There are some resource types that #RESOURCE can't handle , which is why Bob wrote:
    The second group of syntax examples show how you can embed resources which have been pre-compiled used a resource compiler. Standard resource compilers output a binary resource with a .RES extension. PowerBASIC will embed this resource just as it is given in the file. This form will always be supported to offer support resource forms which are typically not needed for most PowerBASIC programs, or which usually require the use of a resource editor.

    Compare the list of resource types here: https://docs.microsoft.com/en-us/win...resource-types with the PB recognised types.


    Comment


    • #22
      from pbhelp
      INT64 signed 64-bit QUAD
      LARGE_INTEGER signed 64-bit QUAD
      QWORD unsigned 64-bit QUAD (2)
      UINT64 unsigned 64-bit QUAD (2)

      Comment


      • #23
        There are some resource types that #RESOURCE can't handle ,
        e.g.
        Code:
        // PAGE TWO : SELECT WHAT YOU WANT TO DO, ARCHIVE OR JUST EXTRACT
        100 DIALOG 6, 27, 280, 100
        STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
        CAPTION "PPPS Remittance Archive Wizard"
        FONT 8, "MS Sans Serif"
        BEGIN
           CONTROL "Archive - Delete from source database", ID_ARCHIVE,"Button", BS_AUTORADIOBUTTON, 20, 10, 136, 10
          CONTROL "Export - Do not delete from source database", ID_EXPORT, "Button", BS_AUTORADIOBUTTON, 20, 30, 154, 10
           CONTROL "Comment", ID_PAGECOMMENT, "Static", WS_GROUP, 22, 42, 216, 34
        END
        
        //PAGE ZERO : SELECT THE SOURCE DATABASE
        300 DIALOG 6, 27, 280, 100
        STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
        CAPTION "PPPS Remittance Archive Wizard"
        FONT 8, "MS Sans Serif"
        BEGIN
            CONTROL "Source Database", -1, "Static", WS_GROUP, 20, 10, 58, 8
            CONTROL "", ID_SOURCE_DB, "Edit", ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP, 80, 10, 136, 12
            CONTROL "Select", ID_SOURCE_DB_BROWSE, "Button", WS_TABSTOP, 222,10, 40, 14
            CONTROL "Comment", ID_PAGECOMMENT,"Static", WS_GROUP, 61, 45, 180, 43
        END
        Of course DIALOG (or DIALOGEX) resource would directly compete with DDT.


        (these are two of a six-screen wizard if you are curious.. note how the dialogs are the same size... 280 wide x 100 high)

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

        Comment


        • #24
          Originally posted by Stuart McLachlan View Post
          The key word being "most"
          The keyword is (I) "personally"

          Comment


          • #25
            It's been a while since I came into the forums, the day job keeps me busy, but it's gratifying that so many of you have been looking at my videos.
            Your comments have given me quite a few ideas for future videos, many thanks.

            Comment


            • #26
              Many thanks Graham! You're the best !!!

              Thanks!
              Thanks! Thanks!
              Thanks! Thanks! Thanks!
              Thanks Thanks!
              Thanks!
              Best regards
              Jules
              www.rpmarchildon.com

              Comment


              • #27
                An update on the PowerBasic tutorial videos on YouTube. Many thanks to all of you who have subscribed to this channel, as we now have 160 subscribers.

                There are now
                56 videos on topics regarding the Windows compiler
                24 on the Console Compiler
                75 on topics that are relevant to both.
                27 on 3rd Party add-ons for Powerbasic
                7 on application design

                https://www.gsfsoftware.co.uk/PBTutorials/Projects.htm

                https://www.youtube.com/channel/UCpP...OhN1_B30pvlPdA

                Comment


                • #28
                  Graham, just wanted to let you know what a great job you do!

                  Comment


                  • #29
                    Just had a quick look Graham and it looks good. This type of tutorial material is really useful to folks who are trying to get up to speed. 👍
                    hutch at movsd dot com
                    The MASM Forum

                    www.masm32.com

                    Comment


                    • #30
                      Muchas gracias Graham....you d man!

                      Comment


                      • #31
                        Thanks for posting these, really nice job. I'm a long-time PB user that just checks in here once in a while to see if there is anything new, and found your post and videos. Kudos to you for posting these!

                        - Bob

                        Comment


                        • #32
                          I watch and share your YouTube videos all the time. Thanks for doing that!

                          Comment

                          Working...
                          X