Re: No error in IDE, error in exe
- From: "EggHead" <robertlo@xxxxxxx>
- Date: Tue, 19 Apr 2005 22:44:40 GMT
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
>
.
- Prev by Date: Re: vb6.exe crash while debugging
- Next by Date: Class Initialize bug due to property handler?
- Previous by thread: My program freezes
- Next by thread: Class Initialize bug due to property handler?
- Index(es):
Relevant Pages
|