dev C++ for windows crashes

This is a discussion on dev C++ for windows crashes within the Tech Board forums, part of the Community Boards category; Im trying to run Dev C++ on my machine, so I can compare it with VC++, but when I click ...

  1. #1
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189

    dev C++ for windows crashes

    Im trying to run Dev C++ on my machine, so I can compare it with VC++, but when I click Project > Project Options, its gives a memory access violation. Im running 4.9.9.2 and I installed the Win32API and DirectX 9.0c dev packs, btu nothign else. It worries me because I run the exact same files on my home system and they run fine there. Anyone know what causes this?

    I can run the program normally other than that, it will compile and run programs no problem, I just cant modify any of the project options
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    It sounds like you may have a corrupted project of some sort. Try creating a new project -- can you access Project Options from there?

    Did you install Dev-C++ properly on this computer or did you just copy it from another one?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    code::blocks nightly builds >> dev-C++ (circa 2004)

  4. #4
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    I installed it from its setup file... I have the latest version of it as well. Kind of iritates me, cuz I wanted to use the support for the newer processors to potentially speed up some fof my code. (its a memory bound application, so I hoped SSE2 would help).
    Last edited by abachler; 05-25-2007 at 03:46 PM.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  5. #5
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    I still cant get it to work on this one system. Its not a corrupted executable, because I used the same exe on my new system at home and it ran fine there. I tried uninstalling and reinstalling it several times, but it keeps giving me the same error.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  6. #6
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    That's very odd, since Dev-C++ is supposed to trap its own Access Violations: (From http://www.bloodshed.net/dev/NEWS.txt )
    * Dev-C++ now traps access violation of your programs (and of itself too
    Though perhaps it does trap them. What sort of error do you get?

    Are your two systems running the same operating system, or does one have Vista or something?

    As far as I can see, there are only a few things that could be going wrong:
    • Your project is corrupted.
    • The Devpaks were not installed correctly.
    • Your system is incompatible for some reason.

    Basically, what I would do is install it completely cleanly, with no devpaks or anything. Then create an empty project and click on Project Options.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  7. #7
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Well, my old system is running XP, and dev-c++ runs fine on it.

    My work computer is also running XP and its the one with the problem.

    My new system at home is running Vista Home Basic, and dev-c++ runs fine on it as well.


    My old home system is a Pentium 4- MMX SSE SSE2
    My new home system is a Pentium 4- MMX SSE SSE2 SSE3 E64T with HT

    My work computer is a dual Xeon MMX SSE SSE2 SSE3 E64T with HT

    but the funny thing is the error im gettign is in fact an access violation:

    Access violation at address 0013F6A7. Write of address 0013F6A7

    It appears that Dev-c++ is catching it, as I doubt the suits at MS would let the programmers use the word Oops! in a program
    Since the violation takes place at teh exact same address every time, im assuming its something that Dev-C++ doesnt like about XEON's
    Last edited by abachler; 05-31-2007 at 05:28 PM.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  8. #8
    Registered User
    Join Date
    Feb 2008
    Posts
    1

    Lightbulb I found the SOLUTION!

    Okay, i had the same problem; "access violation in dev c++".
    Here's the solution


    When you save your file, you must make its OWN FOLDER.
    Dev C++ files CANNOT be next to non-compiler files like word documents, etc.
    DEVc++ projects NEED THEIR OWN FOLDER;
    so right click and make your own folder, and in there, put only DEV files.

    I hope this answers your question....

  9. #9
    Registered User
    Join Date
    Feb 2008
    Posts
    19
    Why bother with Dev C++ when Code Blocks is superior and regularly updated, guys?
    Or is there something I'm not aware of that makes Dev C++ worthy?
    Just asking.

    Tried both, I don't see the point in using it, it's not even developed anymore.

    (remember to use the latest nightly build of CB)

  10. #10
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,310
    Why bother with Dev C++ when Code Blocks is superior and regularly updated, guys?
    To compare Dev-C++ with VC++, as abachler noted in the original post.

    (remember to use the latest nightly build of CB)
    Terribly irritating. They already admitted RC2 was a mistake long ago so they should have the guts to re-work the version numbers and make proper releases.

    Anyway, I am moving this to the Tech board as it does not pertain to Windows programming, or either C or C++ programming in particular.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  11. #11
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,403
    Quote Originally Posted by 2112 View Post
    Or is there something I'm not aware of that makes Dev C++ worthy?
    * Dev C++ is extremely light-weight.

    * Very quick to use. It makes as an excellent editor for, among other things, quick testing of code snippets without the need to setup a project. It's in the same line of editors like Crimson Editor.

    * It offers a GUI to gdb, that despite being on the low-end of debugger GUIs, its perfectly adequate for minor tasks.

    Certainly its not something you would like to build a large project, but I use it often to test small snippets of code while developing in Visual Studio C++ and on these forums before posting code.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  12. #12
    Registered User
    Join Date
    Nov 2007
    Posts
    57
    I don't always use the latest version of Code::Blocks nightly build. I currently use the January 21 2008 build and everything seems just fine. I usually update when I have nothing to do. :P
    And Dev-Cpp is good if you need to quickly test some code.

  13. #13
    Registered User
    Join Date
    Feb 2008
    Posts
    19
    Can't keep up with the nightly builds myself...it's going on for some time now, looks stable enough for a release to me.

    I like CE, my favorite editor.

  14. #14
    Registered User
    Join Date
    Oct 2010
    Posts
    1
    abachler: did you ever figure out a solution? i'm having the same issue with dev c++ .. it crashes when i go to project options

  15. #15
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Don't use Dev-C++, it's no longer in development.

    Also, don't resurrect old threads. It's board policy.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. New to Dev C++/<windows.h>...
    By Cilius in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2005, 12:05 AM
  2. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 07:43 PM
  3. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 3
    Last Post: 03-08-2004, 07:47 PM
  4. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 1
    Last Post: 03-08-2004, 04:19 PM
  5. Tutorial about Bloodshed Dev!
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 11-13-2001, 06:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21