CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Runtime errors

  1. #1
    Join Date
    Mar 2001
    Posts
    13

    Runtime errors

    Hi,
    I have a freeware program out and about 1000 people are using it. I get a few reports of runtime errors out of memory when a window is selected from a pulldown in a menu. It is the same windows and it seems to be people who are out of the united states. Im not sure what to do about this because it works great on other computers. any idea would be very welcome. Thanks again

    Mike.



  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Runtime errors

    I am not sure, but I guess it depends upon differences in languages of Operating System... As a rule, I always check end-users OS'language, and do my best to develope programs on a machine similar (for Os and Vb language)

    Special thanks to Lothar "the Great" Haensler. Come back soon, you Guru.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  3. #3
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: Runtime errors

    Is the error something like "Type Mismatch"?

    What you have to be aware of is that different countries have different regional settings for things like number formats and date formats - any code which works to a US format may well fail in these countries.

    In particular you need to avoid the keyword "Val()" as this is not internationally aware.

    I would suggest you change your regional settings to (say) France with a , for the decimal separator and a . for the digit group separator, and the date format dd-mm-yyyy and see if you can reproduce the error yourself.

    HTH,
    Duncan

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  4. #4
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Runtime errors

    Good (Sorry, I am out of vote for today!).

    Special thanks to Lothar "the Great" Haensler. Come back soon, you Guru.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured