• Log in or sign up for an account here: https://www.sythe.org/login

Delphi RS Client help

godroxaj

Newcomer
Joined
Nov 17, 2007
Sythe Gold
0
Messages
7
ok so i'm working on my own RS Client in Delphi, and i'm using TWebBrowser, and it works fine, and i load it up, go into rs, and that works fine but as soon as i try to leave (quit program or change page) from the game page, my whole comp crashes, I'm guessing it has to do with the java, it'll load fine and i can play, its just as soon as i leave it the comp. goes... I've tried using unsigned java to see if it helped any but it still crashes.

any help would be greatly appreciated
 
Wait... your whole comp crashes? lol
Shouldn't happen if you're just navigating to RS and closing. :/ The program itself shouldn't even crash.
You using Delphi 7?
 
Not sure, but do you have to close the connection? I know that when you don't close sockets (from my experience from python), you can get errors when you try using it again. (Not your case, but might help)

Also, try testing on another computer so you can be sure it's the code and not your computer. Or the other way around.
 
Cruel Machine: yea my whole comp crashes, and yea i'm using Delphi 7

cp: i was thinking i that might be the case, but i don't really understand sockets (nor do i know what they are lol) I'm somewhat new to programming in delphi ( a year, but all self taugh), so i don't know how i would close the connection, and i would love to try it on another computer but i don't have another one, i dunno i'l find a way eventually

thanks for the help so far
 
Free the memory.

your most likely wondering how to do this. well...OnClose event, or on an exception, do "Free;" and then close the application.
 
Runescape Gamblingrunescape gambling
Back
Top