Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

I have 2 problems 5 months ago

edited September 2002 in General
Hi,

I use D5 and Reprot Builder, I have purchase version 7, . And I have 2
problems:

1.- My exe works fine in W2000 but in W98 dosen?t work, bad file format
error. If I dont?s use RB all works fine in W2000 and W98. My exe it?s
about 12Mb, could be a problem of size??.

2.- I use customReportExporer and in the free of the form that have this
component, sometimes, I get an error of access violation. The error happens
in the destroy of customreportexplorer.

Any one have any idea???

I had this problems with RB6, I upgrade to RB7an the problmes goes on.

Comments

  • edited September 2002
    Hi F?lix,

    1. the size of an application doesn't matter. When does the error occur? Post the exact error message and try to debug your application to find the problematic code.

    2. has been answered several times with no reaction from yours.

    regards,
    Chris Ueberall;




    --
    regards,
    Chris Ueberall;
  • edited September 2002

    "Chris Ueberall [TeamDM]" escribi? en el mensaje
  • edited September 2002
    Hi F?lix,

    1. Why don't you use the debugger?
    Does the error occur while your application is loading?
    Use try..except.
    Use another Win98 station or delete 'RBuilder.ini'.

    2. If you can't produce a small recreation project (why?) post the result of your doing anyhow.
    Do NOT create a new thread if the subject did not change! (you opened 5 threads for the same issue)

    in one of my answers i wrote the following 'let the 'Owner' free the explorer component, that means, if you created the
    component during design time then do not call 'Free'.'
    you must have ignoring that.

    regards,
    Chris Ueberall;




    --
    regards,
    Chris Ueberall;
  • edited September 2002
    > I can run the application. when I try to run it. "bad file format". I copy

    This may be a resource issue with the 9x platform. I had it at one point,
    can not recall the error message. Are you getting to the first 'begin' in
    the DRP unit? If not, I would guess that you have run up against resource
    limitations on the 9x platform.

    Ed Dressel
    Team DM
  • edited October 2002
    Hi,


    The error it?s in the load, I can?t debug.
    I?ve used 6 or 7 compuetrs
    I?ve delete RBuilder.ini

    About error in free, I don?t destroy the customreportExplorer. I only free
    the form in with report is.

    If I don?t free that forms, when I close the program, the error ocurs.

    Thaks



    "Chris Ueberall [TeamDM]" escribi? en el mensaje
  • edited October 2002
    Felix:


    Difficult to understand what you mean... when you delete the RBuilder.ini
    file it works fine?

    Ed Dressel
    Team DM
  • edited October 2002
    Hi F?lix,

    some kind of confusion here, sorry but I can't follow your statements.
    Have you ever posted here any information about the raised error?
    Is there any code available that raises the error?
    I am totally loast in space about your doing, it is definitely impossible to help you with your problem until you provide more exact info!
    You must doing some strange things, because nobody has had the problem you described.

    --
    regards,
    Chris Ueberall;
  • edited October 2002
    > You must doing some strange things, because nobody has had the

    I believe it is a EXE-resource issue (not run time, but the app will simply
    not load correctly), which is hard to reproduce without a large application.

    I have seen something similar with 9x machiens, though it was several years
    ago.

    Ed Dressel
    Team DM
  • edited October 2002
    Hi,

    Sorry.

    No I have deleted Rbuilder.ini and dosen?t work

  • edited October 2002
    The first error happend when I try to run the program on W98 (bad file
    format, must be corrupt). The same "exe" on W2000 works fine. If I remove
    the form with RBcomponets, the program runs OK in W98 and W2000.


    Other error happens in the destroy of customReportExplorer.



    "Chris Ueberall [TeamDM]" escribi? en el mensaje
  • edited October 2002
    Hi,

    But if I remove the RBuilder componets works fine in W2000 and W98.
    I have this error in version 6 and 7 of RB, Now I are using version 5 by
    this problem, and works fine in W98, W95, XP, W2000, NT....






  • edited October 2002
    Hi F?lix,



    please provide CODE but no prosa!
    It really doesn't help repeating always the same answers!

    regards,
    Chris Ueberall;
  • edited October 2002
    > The first error happend when I try to run the program on W98 (bad file

    Yes, this is a resource limit of 9x machines. Some reseach at google will
    get this info:

    http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&threadm=V
    A.00006d69.007a8c12%40antispam.compuserve.com&rnum=14&prev=/groups%3Fq%3Dres
    ource%2Blimit%2Bgroup:Borland.public.delphi.*%2Bauthor:Peter%2Bauthor:Below%
    26hl%3Den%26lr%3Dlang_en%26ie%3DUTF-8%26oe%3DUTF-8%26start%3D10%26sa%3DN

    http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&threadm=V
    A.00008077.00b09e9f%40antispam.compuserve.com&rnum=1&prev=/groups%3Fas_q%3Dr
    esource%2520limit%26safe%3Dimages%26ie%3DUTF-8%26oe%3DUTF-8%26as_ugroup%3DBo
    rland.public.delphi.*%26as_uauthors%3DPeter%2520Below%26lr%3Dlang_en%26hl%3D
    en


    http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&threadm=V
    A.0000793a.007d1bcf%40antispam.compuserve.com&rnum=12&prev=/groups%3Fq%3Dres
    ource%2Blimit%2Bgroup:Borland.public.delphi.*%2Bauthor:Peter%2Bauthor:Below%
    26hl%3Den%26lr%3Dlang_en%26ie%3DUTF-8%26oe%3DUTF-8%26start%3D10%26sa%3DN

    For more info, search Object Pascal, Peter Below and 'Resource[s]'.

    Ed Dressel
    Team DM
  • edited October 2002
    No. The error it?s before the begin


  • edited October 2002
    Thaks
    I?ll try to build with run time packages

    "Ed Dressel - Team DM" escribi? en el mensaje
  • edited October 2002
    The error in the destroy of customreportexplorar could be somthing similar?


    cheers

    "Ed Dressel - Team DM" escribi? en el mensaje
  • edited October 2002
    > The error in the destroy of customreportexplorar could be somthing
    similar?

    How could this be if the app won't even start?

    Ed Dressel
    Team DM
  • edited October 2002
    Hi,

    In W2000 the app start.
    Now I?m working with RB5 and the app start in W98 and W2000, but with Rb6
    or RB7 not start in W98

    cheers

  • edited October 2002
    > In W2000 the app start.

    It sure sounds like a resource problem, i.e. what ever you add to your app,
    you will soon be running out of Windows resources. The resource difference
    between RB5 and RB7 cause it. So too you will see it from any thing that
    adds enough resources as your application keeps growing.

    Ed Dressel
    Team DM
  • edited October 2002
    Well, about error in W98 I agree that can be a poblem of resources, I?ll try
    to make dll, or compile with packages.

    But what about error in free?

    cheers

    "Ed Dressel - Team DM" escribi? en el mensaje
  • edited October 2002
    Felix:

    Your driving me crazy ;-) Lets keep the thread focused on one issue. You
    keep moving between issues and not resolving any one.

    The reason for keeping it focused is that it's hard to find the details
    about the free issue... I have to re-read the whole thread to find out which
    ones deal with the free issue and how has it developed.

    Ed Dressel
    Team DM


  • edited October 2002
    Sorry,
    I?m going to open new thread

This discussion has been closed.