Adblock breaks this site

Delphi RS Client help

Discussion in 'Web Programming' started by godroxaj, Nov 17, 2007.

  1. godroxaj

    godroxaj Newcomer

    Joined:
    Nov 17, 2007
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0
    Delphi RS Client help

    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
     
  2. Cruel__Machine

    Cruel__Machine Guest

    Referrals:
    100
    Delphi RS Client help

    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?
     
  3. cp

    cp an cat
    Banned

    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0
    Delphi RS Client help

    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.
     
  4. godroxaj

    godroxaj Newcomer

    Joined:
    Nov 17, 2007
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0
    Delphi RS Client help

    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
     
  5. freddy1990

    freddy1990 Active Member

    Joined:
    Jul 1, 2005
    Posts:
    149
    Referrals:
    1
    Sythe Gold:
    0
    Delphi RS Client help

    Check out my "Cross-Language RS Webclient" project, it has basic clients in most languages including Delphi and it didn't crash my PC :p
    http://sharesource.org/project/csrswebclient/
    (Note that it's BSD, you can use it in closed source projects as long as you mention me somewhere :) )
     
  6. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    Delphi RS Client help

    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.
     
< Email spoofer | [PERL] Basic Port Scanner. >


 
 
Adblock breaks this site