Announcement

Collapse
No announcement yet.

Error 496

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

  • Error 496

    I'm getting Error 496 on PB CC 4.04

    I have Win XP SP2
    I did uninstal Spybot
    Disabled AVG 8 Resident shield
    Rui Rodrigues

  • #2
    Rui
    You are not the first http://www.powerbasic.com/support/pb...&highlight=496

    Comment


    • #3
      If you compile a simple hello world program do you still get error 496?
      Have you checked the task manager to ensure this processes is still not running?
      Sincerely,

      Steve Rossell
      PowerBASIC Staff

      Comment


      • #4
        This works

        Code:
        #COMPILE EXE
        #DIM ALL
        
        FUNCTION PBMAIN
        
            PRINT "Hello world"
            
            SLEEP 3000
        
        END FUNCTION
        The old programs (that used to compile) get the 496 immediately after a cold boot.

        I read the other thread about this error first. That's why I uninstaled Spybot.

        The path is short: c:\step2\pro\step2.bas
        The program is large and has several includes.

        Could this be release 4.04?
        If I uninstall it, I'll get the 4.03?
        Rui Rodrigues

        Comment


        • #5
          It sounds like this problem is not caused by any anti-virus or other processes running in the background if a hello world program compiles. Can you send this project that causes an error 496 on a compile after a cold boot to [email protected] and they will look into this issue.

          If you ran the 4.03 to 4.04 update, the uninstall will remove PBCC 4.x and you will have to re-install 4.03. In your \PBCC4\Bin\ directory you will find a PBCC.bak file which is a backup up of the PBCC 4.03 compiler and PBCC.exe is the 4.04 compiler. Just back up/rename the PBCC.EXE and then rename PBCC.bak to PBCC.exe and you are back to 4.03.
          Sincerely,

          Steve Rossell
          PowerBASIC Staff

          Comment


          • #6
            Ok

            I'm trying to find what causes the problem. It's something inside the app.

            I have a smaller app that has the same problem. First it didn't compile, then I commented most of the app. Now it compiles. I'm adding functionality, so I can pinpoint where is the problem.

            I don't know if I can reach any conclusion.

            This app used to compile ok.

            I reinstalled the OS and everything else on my computer, and did all the upgrades to PBCC. I don't recall exactly if I had updated PBCC to 4.04 previously.

            I'll say something later.
            Last edited by Rui Rodrigues; 16 Apr 2008, 03:35 PM. Reason: clarification
            Rui Rodrigues

            Comment


            • #7
              You know, '496 destination file write error' is kind of vague. I know you can detect the specific failure, eg "invalid filename or path", "Permission denied", etc...

              .. a more precise error message could make it a lot easier to figure out why you got the "496"
              Michael Mattias
              Tal Systems (retired)
              Port Washington WI USA
              [email protected]
              http://www.talsystems.com

              Comment


              • #8
                Checking the File System activity with FileMon may help pin-point the precise issue.
                Microsoft - TechNet - FileMon

                Bye!
                -- The universe tends toward maximum irony. Don't push it.

                File Extension Seeker - Metasearch engine for file extensions / file types
                Online TrID file identifier | TrIDLib - Identify thousands of file formats

                Comment


                • #9
                  You know, between this 'vague' ('imprecise' might be a better word?) and "gee it would be handy to have an ASCII chart in the IDE" in another current thread, it's pretty obvious to me that many, many programmers would rather endure inconvenience than take the two minutes it would take to send in a new feature suggestion.

                  If Pb is at all like me, they really appreciate suggestions from Real Users.

                  My PPPS has only been around for seven years, and I am fresh out of my own ideas and am totally dependent on my users for them.

                  You'd think PB Inc would be even hungrier than am I considering the Windows compilers have been around for about ten years now.
                  Michael Mattias
                  Tal Systems (retired)
                  Port Washington WI USA
                  [email protected]
                  http://www.talsystems.com

                  Comment

                  Working...
                  X