Announcement

Collapse
No announcement yet.

#BLOAT problem

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

  • #BLOAT problem

    Any attempt to use #BLOAT in a program results in the following error:

    Error 496 in C:\PBCC40\Samples\Hello\Hello2.bas(0:000): Destination file write error

    Source code is:

    #BLOAT 65536
    #COMPILE EXE
    #DIM ALL

    FUNCTION PBMAIN () AS LONG
    ? "Hello, World!"

    WAITKEY$

    END FUNCTION
    John

  • #2
    Same here. This is the highest it will go.
    #BLOAT 10752
    #RESOURCE "HELLO.PBR"
    The world is full of apathy, but who cares?

    Comment


    • #3
      #BLOAT 8192 was the largest I got to work.
      16384 and up give the error you state.

      I didn't try anything between these two.
      Rod
      In some future era, dark matter and dark energy will only be found in Astronomy's Dark Ages.

      Comment


      • #4
        this works for me
        Code:
        #bloat 1024*1024*4*92 'make a 385,875,968 byte file
        as well as
        Code:
        #bloat 385875968&
        and
        Code:
        #bloat 385875968
        Barry

        Comment


        • #5
          This was an issue with PBWin804, See this thread..
          User to user discussions about the PB/Win (formerly PB/DLL) product line. Discussion topics include PowerBASIC Forms, PowerGEN and PowerTree for Windows.


          It has been fixed in PBWin90.
          Rgds, Dave

          Comment


          • #6
            This was an issue with PBWin804, See this thread..
            It has been fixed in PBWin90
            File, open, history.txt
            See:
            Code:
            ------------------------------------------------------------------------------
                            Changes/Updates to PowerBASIC For Windows Compiler 9
            ------------------------------------------------------------------------------
            
            
                                      Changes since PB/Win 8.04
            Find 'bloat.'

            "Text not found"

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

            Comment


            • #7
              Should have tried with PBCC 5. Time to update.
              11264 is the minimum with PBCC 5. Works, fine.
              Last edited by Mike Doty; 26 Nov 2008, 10:19 AM. Reason: Updated to PBCC 5
              The world is full of apathy, but who cares?

              Comment


              • #8
                Usage of #BLOAT {expression} yields "Destination file write error"

                It may be a stupid question as I am still using and satisfied with PBCC 4.
                Is this fixed now? What release was it fixed under? I have a need for obfuscation, so I was finally looking at this compiler directive, only to find it isn't functional. Apparently the only function of it in PBCC 4 is that Bob Zale got me to laugh? Seriously, I can use it...

                Comment


                • #9
                  Using pbcc 4.04 and the below metastatement order it worked ok for me.
                  Code:
                  #COMPILE EXE
                  #DIM ALL
                  #BLOAT 16777234

                  Comment

                  Working...
                  X