Announcement

Collapse
No announcement yet.

Resource Script stuff

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

  • Resource Script stuff

    I've just started to investigate the use of a .RC file to
    add my own custom icons and version information into the app
    I'm writing.

    I've been playing with the sample SKELETON.BAS & .RC files which
    are included with PBDLL6. I have two questions regarding the .RC
    file:

    1) What is the purpose of the following line in the script?

    Code:
    VS_VERSION_INFO VERSIONINFO
    2) What is the meaning/purpose of the string next to the block
    statement?

    Code:
    BEGIN
      BLOCK "StringFileInfo"
      BEGIN
        BLOCK "040904E4"   <--- Here
        BEGIN
          VALUE "CompanyName",      "PowerBASIC, Inc.\000"
    ..etc..


    ------------------
    Bernard Ertl
    Bernard Ertl
    InterPlan Systems

  • #2
    on basicguru/zijlema is a doc about this matter.
    Maybe it's in there?


    ------------------
    hellobasic

    Comment


    • #3
      Bern,

      The first line says that what follows is a block providing the
      version information for the program.

      The second line tells the resource compiler that the language
      for it is "English [USA]". To find out different language
      settings, refer to the EQUATE's in RESOURCE.H.

      Hope this helped!

      Regards,


      ------------------
      Clay C. Clear

      [email protected]

      http://www.v3space.com/a/a39/202/

      Comment


      • #4
        Originally posted by Edwin Knoppert:
        on basicguru/zijlema is a doc about this matter.
        Maybe it's in there?


        Thanks, Edwin to refer to my page. To be more precise: it is this article: "Do Microsoft programmers disobey their own programming rules?"



        ------------------
        mailto:[email protected][email protected]</A>
        www.basicguru.com/zijlema/

        Egbert Zijlema, journalist and programmer (zijlema at basicguru dot eu)
        http://zijlema.basicguru.eu
        *** Opinions expressed here are not necessarily untrue ***

        Comment


        • #5
          Clay,

          Thanks for the tip. I got it.

          Edwin & Egbert,

          Excellent stuff! I spent half the night searching through
          various books in my library looking for that info! Many thanks...




          ------------------
          Bernard Ertl
          Bernard Ertl
          InterPlan Systems

          Comment

          Working...
          X