Restored from previous forum. Originally posted by Julien Morel.
Hi,
How to find an error of code in PureBasic
This error is given by Windows at the time launching of the application
ERROR BY WINDOWS
APPLICATION.EXE a causé une défaillance de page dans
le module APPLICATION.EXE Ã 0167:0040476e.
Registres :
EAX=00000001 CS=0167 EIP=0040476e EFLGS=00010202
EBX=0000000c SS=016f ESP=00e9ff5c EBP=00e9ffcc
ECX=0100007f DS=016f ESI=00e9ff88 FS=2e4f
EDX=00770f50 ES=016f EDI=815ed714 GS=30ae
Octets à CS : EIP :
8b 09 ff 05 28 c1 40 00 89 c8 5b c3 00 00 55 89
État de la pile :
815f4830 004017ad 0000009a 00c6f3ec 00c6f3fc 00c6f3dc 00000001 0100007f 00c6f40c 00c6f41c 00c6f42c 815ed714 00000008 00e9ffcc c144ce20 815f4830
How to find an error of code in PureBasic
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Denis.
Salut Julien,
did you use some API windows with string var ?
It is possible to crash a computer when you use a string var with APi without assign it a value.
you could write for exemple :
Chaine.s="" or Chaine.s= space(255) (or another value)
Did you use array ?
You could have pb if you exceed the number of elements.
example :
Dim Tableau.l (10)
The right Elements are Tableau(0) to Tableau(9)
Could you send your code ?
May be somebody will have some ideas with your code.
A+
Denis
Salut Julien,
did you use some API windows with string var ?
It is possible to crash a computer when you use a string var with APi without assign it a value.
you could write for exemple :
Chaine.s="" or Chaine.s= space(255) (or another value)
Did you use array ?
You could have pb if you exceed the number of elements.
example :
Dim Tableau.l (10)
The right Elements are Tableau(0) to Tableau(9)
Could you send your code ?
May be somebody will have some ideas with your code.
A+
Denis
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm