Re: Error VB 6
- From: fajp@xxxxxxxxxxxxxxxxxxxx (Frank Adam)
- Date: Wed, 31 Aug 2005 16:51:00 +1000
On Tue, 30 Aug 2005 22:10:23 -0700, Roy Lewallen <w7el@xxxxxxxxx>
wrote:
>VitorEugenio wrote:
>> I'm having a very strange problem in VB6.
>>
>> It only occur when I use the .exe file, while I'm debugging nothing
>> happens.
>>
>> The problem is that when the user closes the program appears an error
>> message like this:
>>
>> ----------
>> "a instrução no "0x012b02bf" fez referência à memória no
>> "0xb8012b02". A memória não pôde ser "written".
>>
>> Clique 'OK' para encerrar o programa"
>> ----------
>>
>> it's in portuguese because of my O.S. Its something like an instruction
>> refering to some memory, and It could not be written.
>>
>> does anybody already have this kind of problem? Know how to fix??
>>
>> tnks, Vitor Eugenio.
>
>I've seen this quite often, too. In English, it says:
>
>The instruction at "0x52604323" [for example] referenced memory at
>"0x00000040". The memory could not be 'read'.
>
>A note I wrote shows that the title bar said "vsmon.exe - application
>error" but I believe I've seen other applications in the title bar.
>
>Does anyone know what causes this?
>
Well, it can happen to anything really. I have seen that error come up
in various applications. My theory is that it usually refers to an
application trying to reference an unloaded object, or freed memory.
In fact, i've seen this a few times from various applications and i'm
even surer that i have produced this error myself a few times. :-)
It's probably not that hard to do it.
Declare a global, call it zap.
Allocate 10 global bytes to it.
Settimer(h, id, 2000, timerproc)
free(zap)
go into message loop
timerproc(blabla)
{
char ch = *zap;
}
Reckon that might just do it..
--
Regards, Frank
.
- References:
- Error VB 6
- From: VitorEugenio
- Re: Error VB 6
- From: Roy Lewallen
- Error VB 6
- Prev by Date: Re: Error VB 6
- Next by Date: Re: Error VB 6
- Previous by thread: Re: Error VB 6
- Next by thread: Re: Error VB 6
- Index(es):
Relevant Pages
|
Loading