Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534

    Network DLL (Pure Basic)

    Anyone have a take on this? Once this is done, everyone else will have access to it so the more help I get for the project, the faster it will be out. This will be combined with my function that returns the user's global IP to make web hosting possible.


    http://www.purebasic.fr/english/viewtopic.php?t=35946
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  2. #2
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Hey guys, I gotta ask again as I've been after an answer for months now. I've been on several different forums, read for hours in tech manuals yet the problem persists.

    I cannot seem to find a way to make two programs communicate across the internet. The network dll would work fine but I can't get the code to work. Any Ideas?
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  3. #3
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Luasockets is your best bet I think. There is an example project from version 6 floating around.
    Dermot

    I am so out of here

  4. #4
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Another thought would be to use HTTP actions to submit info to a database, and have another app use HTTP to read from that database, and vice-versa

  5. #5
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Or worm could build a Network DLL and we could all pay him $20 each to download it .
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  6. #6
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    I wish I had the time to work on projects like that... too much going on the life of Brad right now to be able to dedicate much time to any one particular thing. Maybe one of the forum wizards will wave a magic wand and come up with something

  7. #7
    Join Date
    May 2006
    Posts
    5,380
    forget it, if it was possible to make a network dll then dont you think i would have made it ages ago

    theres just no way to keep the dll open to recive network events, you can open a connection and send data, but you can not keep a connection open

    there are other ways tho, and im sure someone is working on a NetWork plugin
    Open your eyes to Narcissism, Don't let her destroy your life!!

  8. #8
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Quote Originally Posted by RizlaUK View Post
    im sure someone is working on a NetWork plugin
    That would be "purely" amazing

  9. #9
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Quote Originally Posted by RizlaUK View Post
    ...theres just no way to keep the dll open to recive network events, you can open a connection and send data, but you can not keep a connection open...
    That's the problem I've had with PureBasic. You can open the DLL, call it for a network connection but then the connection dies by the time the program calls the next procedure and you're left with an empty ConnectionID.

    Well, I think that there might be a way to do it with lua socket but that is, for the time being, beyond my skill level.
    Last edited by Centauri Soldier; 01-20-2009 at 04:15 PM.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  10. #10
    Join Date
    Dec 2007
    Location
    Missouri, United States
    Posts
    476
    I have played with purebasics network capabilities in the past...and I concur with the others it is not possible to make the dll maintain a connection for any lengthy period of time..the only way around this would be to redo the network code and base it as an application...or use luasockets...maybe someday one of the developers will include network capabilites into APMS but until then these are pretty much your only options.

Similar Threads

  1. How to make a dll for AMS in PB
    By RizlaUK in forum AutoPlay Media Studio 7.5
    Replies: 16
    Last Post: 08-27-2010, 11:59 AM
  2. MZ-2nd DLL
    By mz241508 in forum AutoPlay Media Studio 6.0
    Replies: 12
    Last Post: 01-14-2009, 05:18 AM
  3. Private DLL
    By cdundee in forum MSI Factory 2.0 Discussion
    Replies: 4
    Last Post: 08-17-2007, 08:40 AM
  4. Official Release Of SetMask DLL
    By Worm in forum AutoPlay Media Studio 5.0
    Replies: 23
    Last Post: 01-24-2005, 09:00 PM
  5. SUF6 - Call DLL action
    By Romahe in forum Setup Factory 5.0
    Replies: 1
    Last Post: 11-27-2001, 06:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts