Delphi RS Client help

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

Delphi RS Client help
  1. Unread #1 - Nov 17, 2007 at 4:31 PM
  2. godroxaj
    Joined:
    Nov 17, 2007
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0

    godroxaj Newcomer

    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
     
  3. Unread #2 - Nov 17, 2007 at 11:31 PM
  4. Cruel__Machine
    Referrals:
    100

    Cruel__Machine Guest

    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?
     
  5. Unread #3 - Nov 18, 2007 at 1:27 AM
  6. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    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.
     
  7. Unread #4 - Nov 18, 2007 at 4:25 PM
  8. godroxaj
    Joined:
    Nov 17, 2007
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0

    godroxaj Newcomer

    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
     
  9. Unread #5 - Nov 24, 2007 at 4:30 AM
  10. freddy1990
    Joined:
    Jul 1, 2005
    Posts:
    149
    Referrals:
    1
    Sythe Gold:
    0

    freddy1990 Active Member

    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 :) )
     
  11. Unread #6 - Dec 1, 2007 at 12:53 AM
  12. skate4lifee
    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0

    skate4lifee Active Member

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

Users viewing this thread
1 guest


 
 
Adblock breaks this site