Re: No error in IDE, error in exe

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

You have an overflow or ref problem in your code somewhere.
The IDE does not let the overflow happening when you running inside it.

Egghead

"christophe-pasde<> @wanadoo.fr>" <"christophe-pasde<> wrote in message
news:42635d2b$0$25017$8fcfb975@xxxxxxxxxxxxxxxxxx
> Hello,
>
> It's the first time I send a post in this group, so good morning for
> evryone.
>
> OS: Win2K WinXP
> VB6 professional edition.
>
> When I'm under IDE my program run, without error.
> If I make an exe this one bug without any error message the window
> application disapear, that's all.
> If I make an exe with P-Code, it crash but I have the Windows message
> "illegal operation".
>
> I have found where error appear
> If I put some messagebox in the function then sometimes the exe code work.
>
> I have a class called "raster" (it allow me to manage Device Independant
> Bitmap), in this class a private TYPE (Gfl_Bitmap) and some methodes
> (load_picture etc ...) wich use the GflLibrary dll (you could find it at
> www.xnview.com).
>
> The error appear when I call the "load_picture" methode.
>
> The methode is called, some dll functions are called, and at the end when
> the methode give the hande back to the calling line the program crash.
>
> I think that the trouble come from (classe_raster/dll) and object
> "encapuslation" (?).
> when I try to generate a Gfl_Bitmap struct in a class module it fails.
> When I generate gfl_bitmap in a public module, and use "rasters" throw a
> public array evry thing work good.
>
>
> Is there someone here how could help me ?
>
>
> Thanks in advance
>
>
> Christophe
>


.



Relevant Pages

  • Re: Compact Framework 2.0 team needs to finish the .NET CF 2.0 release
    ... So, break point is in EXE, is that right? ... This posting is provided "AS IS" with no warranties, ... First investigations seems that the IDE for some reason are not ... .NET Compact Framework MVP ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Building EXE Twice Produces Different Files
    ... I am using VB6 with SP6. ... I also did not close the IDE ... but now I have two different EXE files. ... the C2 compiler, but it ends up in the finished executable. ...
    (microsoft.public.vb.general.discussion)
  • Re: Start-Programm
    ... auch wenn die implizite Kompilierung von VFP anspringt. ... die aktuelle EXE im Test und nicht einen Teilbestand davon. ... Desweiteren kümmert sich MM mittels des SetX.prg darum, daß deine IDE ... Unter CTrl+F8 könnte man dann sowas wie 'Projekt Debug' packen und es ...
    (microsoft.public.de.fox)
  • Re: System.InvalidOperationException
    ... the dialog that has you sending a report to Microsoft. ... It might be helpful to see the exception message and stack trace. ... it doesn't show when I run from within the IDE ... I sent the EXE to a collegue who seems to be able to run it just fine. ...
    (microsoft.public.dotnet.framework)
  • IDE vs. EXE
    ... Using a third-party combobox using the GotFocus and Validate ... it's a supplier (vendor) and it ... Stepping through the code in the IDE, it goes to all the appropriate subs ... the EXE, however, it does not. ...
    (microsoft.public.vb.general.discussion)