Announcement

Collapse
No announcement yet.

A little wishlist item

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

  • A little wishlist item

    Hi there,

    Firstly, sorry if someone else has mentioned this before, but I
    haven't seen it, so here goes...

    I often embed file version and info into my DLL's using RC and PBR
    files. It would be very nice if this could be done off the
    PB editor's menu, so I don't have to create three files everytime
    (.rc, .res, .pbr). I was thinking along the line as how VB does
    it...
    Maybe the info could be stored in the bas file and therefore compiled
    into the exe/dll every time.

    Sorry to be one of those "wishlist posters"

    Dorian.


    ------------------

  • #2
    my money says youll get a better response if you dont say "I was thinking along the line as how VB does it..."
    but I do agree with your idea! There are some things that I believe are best done with a bit of GUI help, rather than having to manually re-write everything each time, but i dont know if everyone else feels the same.
    Anyway, that would just be a modification to the PB Editor, not compiler or debugger, and you could probably write your own editor that has more of a VB shell appearance to it? each to their own!

    PS. Perhaps there should be a PB Suggestions forum ?? (or are PB R & D scared about having to work 8 hours a week?


    ------------------
    -

    Comment


    • #3
      They are only allowed about 8 hours sleep a week! Better keep you voice down or they might start getting ideas of their own!


      ------------------
      Lance
      PowerBASIC Support
      mailto:[email protected][email protected]</A>
      Lance
      mailto:[email protected]

      Comment


      • #4
        8 hours? i meant 8 days... ive gotta seriously take some time off work


        ------------------
        -

        Comment


        • #5
          One more note: The current IDE can compile an RC file loaded into the IDE into RES format. Load the RC and click the "Compile" button. The next update to the IDE is likely to produce a PBR file at the same time...

          Just be sure that the path to RC.EXE is correctly set up in the IDE's OPTIONS dialog.

          Also, when using this technique, make sure that you preserve the capitilization of the resource keywords... for example, "#include" must be lower case for RC.EXE to work correctly.

          Note that I will pass your request along to R&D.

          On a similar vein, I want to see a feature where the IDE will paste in a "basic" template on demand... ie:
          Code:
          #COMPILE EXE
          #INCLUDE "WIN32API.INC"
          FUNCTION PBMAIN
            ' <- cursor automatically move here when the template is pasted into the editor window.
          END FUNCTION

          ------------------
          Lance
          PowerBASIC Support
          mailto:[email protected][email protected]</A>
          Lance
          mailto:[email protected]

          Comment


          • #6
            Thanks Lance!

            I wondered why you could specify the rc.exe location in PB6...

            Hope you're having a nice time in NZ, just wish I could move back
            there right now (got to sell house, pay back loans, etc. - bugger!)

            Dorian.


            ------------------

            Comment


            • #7
              We have mortgages in NZ too! You are not missing much, except the latest round of political scandal!

              If you miss NZ *that* much, than you could try watching "Good Morning" (10am to noon, Mon-Fri) on streaming video from http://tvone.co.nz/programmes/goodmorning/index.html - there are others available on the www.tvone.co.nz site.

              ------------------
              Lance
              PowerBASIC Support
              mailto:[email protected][email protected]</A>
              Lance
              mailto:[email protected]

              Comment


              • #8
                While we're wishing for stuff, as long as you want to update the "run" function when the file being edited is a "*.rc" resource script file, how about telling the IDE to turn off the keyword capitalization when editing a "*.rc" file?

                I think I've seen..
                Code:
                #INCLUDE invalid keyword
                ..enough.

                MCM



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

                Comment

                Working...
                X