Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OK, program not compiling/running properly? Any ideas

Status
Not open for further replies.

PrinceColeP

Programmer
Dec 4, 2002
3
CA
When i click the green arrow, or press F9, the screen flickers for a second, the object inspector disappears, as if it was running the program, and then its back to delphi again, as if the program opens and closes really quickly. Also the exe is not compiled properly, when I run it I get an error, illegal operation, and details says

"CHANGEPASS caused an invalid page fault in
module USER32.DLL at 017f:bfc06bf7.
Registers:
EAX=00000000 CS=017f EIP=bfc06bf7 EFLGS=00010246
EBX=00000000 SS=0187 ESP=0068fa30 EBP=0068fa54
ECX=00000002 DS=0187 ESI=80d25b48 FS=3b77
EDX=00000001 ES=0187 EDI=00000010 GS=0000
Bytes at CS:EIP:
8a 0c 30 c0 e9 04 8b 7d f8 88 4d ff c1 ef 10 8d
Stack dump:
00000020 80c26d08 00000020 00000000 00000002 00000001 fffeef7c 00000000 005b13ce 0068faac bfc0687a 80c26d08 80c25b68 00000010 00000000 00000000 "


I would really like to know how to fix this, nothing I try works. If you have run into this error before, and can help me, that would be really appreciated.
 
I think it's just a strange Delphi error that happens once in a while. I got something like that from using a 16 million colour icon! Try creating a new project and reinserting all the units. Clive [infinity]
 
how do I do that? THe unit is saved as unit1, and when I try to insert it, it gives me an error about unit1 already existing. How do I insert the form also?
 
check the code in the mainform's create event. maybe it is caused by an error in there. also try stretch's solution:

just create create a new project and add all the forms and units to it, you can do this using the project manager (ctrl alt f11).

Greetz, [bobafett] BobbaFet [bobafett]

Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
 
It's also possible there's something wrong with the code. Have you tried using f7 instead of f9?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top