Error message using Trans IV

MEDState Notation Repository Forums Coding Help Archive Error message using Trans IV

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13083
    Med_Support
    Moderator
    sbzcws

    I just got the following error message when trying to compile a new program I wrote: ‘Access violation at address 0040536F in module trans_IV.exe. Read of address 00000082.’   I have never seen this before and I had no problems using Trans IV in Aug 2011. I tried compiling an existing program which I know works and got the same error message. I tried removing and re-installing Med PC from the CD but still get the error message.   Any suggestions on how to proceed would be greatly appreciated. Carl (my first post)

    #13084
    Med_Support
    Moderator
    Gary Bamberger

    There are two problems here:
    1) There is a bug in one or more of the programs and it doesn’t necessarily have to be the program that you currently have open and are working on. If Trans IV sees that a program is out of date it will try to compile that program as well.
    2) Trans IV is not catching the bug in the program properly and giving you a useful error message in order to find and fix the problem.

    Here is what you need to do:
    1) Exclude all programs from compilation and then try adding them back in one at a time. When the error message reappears you know which program is causing the problem.
    2) Edit the program with the problem and comment out all but one of the most simplest State Sets.
    3) Recompile the program and make sure that the error message doesn’t reappear.
    4) Start uncommenting the State Sets one at a time until the error message reappears.
    5) Now you know which State Set is causing the problem. There may be more than one State Set with the same type of problem.
    6) You can narrow down where the problem is in the State Set even further by commenting out each State and then uncommenting them one at a time until the problem occurs. Again there may be more than one State with a similar problem.

    Once you know which State(s) is causing the problem you can then focus on just that portion of the code and hopefully fix the problem.

    Be aware that once Trans IV gives you this error message you have to exit the program and restart it to clear that error message. Even if you found and fixed the problem, the error message will still reappear until you exit and restart Trans IV.

    If you have any trouble with following my directions or just can’t find the problem in the code, feel free to email me the program and I will be happy to try and find it for you.
    Best Regards,
    Gary

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.