BCB with Access error (HELP____)))

This is a discussion on BCB with Access error (HELP____))) within the C++ Programming forums, part of the General Programming Boards category; hello please can any body help with thiS???????????...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    37

    BCB with Access error (HELP____)))

    hello
    please can any body help with thiS???????????
    Attached Images Attached Images  

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,209
    What you probably have is a variable/pointer trying to access memory it shouldnt. Impossible to say more precisly without seeing code that replicates the error.
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

  3. #3
    Registered User
    Join Date
    Apr 2006
    Posts
    37
    well, this is an application that tries to connect to the database, it works normally, but when I save it and then go back it, it makes that error.......

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,852
    So put a breakpoint in your code just before it crashes (you know the circumstances which lead to the crash), then single step your way through the code until you spot something wrong.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Registered User
    Join Date
    Apr 2006
    Posts
    37
    well, I am sure that I dont have a any error in the C++ syntax, so it may be an error in the memory, ..................it is amazing me I cant catch that error even by break point as u have said

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,852
    > well, I am sure that I dont have a any error in the C++ syntax
    So am I, otherwise you'd never be running any code in the first place.

    But getting something to compile is 10% of the problem, getting it to do exactly what you want is far more difficult.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  7. #7
    Registered User
    Join Date
    Aug 2003
    Posts
    1,209
    And if you are dealing with pointers you have a possible error right there. A pointer which you think is valid might actually not be valid at all, just that you havent done any testing to check if its valid or something like that.
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

  8. #8
    Registered User
    Join Date
    Apr 2006
    Posts
    37
    I dont know much about pointers, so what might casues problems in pointers????

  9. #9
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,852
    > I dont know much about pointers
    I would suggest you get much more practice in on simpler programming projects before embarking on a large project involving inter-process communication.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  10. #10
    Registered User
    Join Date
    Apr 2006
    Posts
    37
    well, the software that I am trying to make is for the company that I am working in it. so like what programs can I learn from inter-process communication

  11. #11
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,852
    You mean someone hired you for your programming skills, and now you want more help from people to get your own job done?

    You're in the wrong job pal if you're a programmer and don't know "much about pointers"
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  12. #12
    Registered User
    Join Date
    Apr 2006
    Posts
    37
    well I am not a pure programmer, My major is Information Technology, we haven't gone into details with pointers, so I want to know how much they are used in programming./"/

    I am here to get information from others not on getting my own job by others, but some basic information and ideas from experienced users would be useful, right!??!??

  13. #13
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,852
    > so I want to know how much they are used in programming
    Which is entirely different from the question you first asked.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  14. #14
    Registered User
    Join Date
    Apr 2006
    Posts
    37
    well, tell me what is the first step then towards pointers/.............

  15. #15
    Registered User
    Join Date
    Aug 2003
    Posts
    1,209
    First step is to read about them.
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. access to devices
    By pastitprogram in forum C++ Programming
    Replies: 1
    Last Post: 06-07-2008, 12:16 AM
  2. Order of access labels in class definition
    By Mario F. in forum C++ Programming
    Replies: 10
    Last Post: 06-16-2006, 08:13 AM
  3. ww hosting and SSH access
    By spoon_ in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 04-07-2005, 09:49 AM
  4. Direct disk access in DOS
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-26-2002, 02:52 PM

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