Announcement

Collapse
No announcement yet.

From PBDLL6.0 to internet or intranet

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tom Hanlin
    replied
    Like PowerBASIC, Java is a computer language. Java is more closely related
    to C, however.

    Your PB/CC and PB/DLL programs must run under Windows. It is possible that
    a Windows emulator for Unix would work also, depending on how thorough it
    is at emulating Windows.

    You can find many examples of TCP and Internet programming in the Forums
    here and in the Downloads area of the web site. It would also be a good
    idea to read through the section on TCP and UDP in your help file or
    printed manual.

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:


  • Calvin Chipman
    replied
    You may want to look at the TCP Echo Client/Server applications.
    See http://www.powerbasic.com/files/pub/pbwin/ CCSAMP20.ZIP
    and look at the Echoserv.bas and Eclient.bas files. These are
    very simple applications that show what can be done using PBCC.
    You can do the same thing in PBDLL with some modifications.

    If you want to use HTML, then you'll want to use PBCC to write
    CGI applications.

    There may be other ways to do the job, but this should give you
    some ideas.

    ------------------
    --------------------
    Calvin Chipman
    PowerBASIC Staff

    Leave a comment:


  • Guest's Avatar
    Guest replied
    I forgot to ask: Is is possible to produce my EXE file with PBDLL that could be used as a Java applet? I understand Java is useful inside internet and not related to the OS (windows, MAC, Unix, etc.), is it the same in this case with my EXE?
    regards

    ------------------

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Thank you. My program is for on line testing. I have two modules:
    a) manager module (actually on a server)
    b) exam module (actually on other PC´s of the local net as terminals)

    The manager sees the terminals and can assign a terminal for a student, later the student enters in his terminal and request an exam.
    The server do the administration of items, send and receive messages from the student, even can define the time for an exam and closes the exam if necessary, when time is over.
    When the student finishes the exam the server recovers the responses and proceed to score and prepare a certificate.
    At this moment the two modules (manager and exam) sees each other as a direction in the local net. We share directories and transmit items, response files and other files among them, but in fact the process is done locally by each module.
    I think we may keep the local manager program in the server and the local exam program in the terminals, but using internet to communicate and transfer information.

    we wish to do the same but using the TCP-IP for the communication and control of the student proces and his responses. The local process may continue in the local computer. In this case I can imagine that we will not see each other as a direction in the net but in a different way under internet.

    I hope this is clearer. Thank you-



    ------------------

    Leave a comment:


  • Tom Hanlin
    replied
    You can certainly write Internet programs using PB/DLL, but we will need more
    specific information to help you! What do you want your program to do?

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:


  • Guest's Avatar
    Guest started a topic From PBDLL6.0 to internet or intranet

    From PBDLL6.0 to internet or intranet

    I have a program in PBDLL6.0 that is working fine in a net under windows NT/95/98, and wish to move to internet or intranet.
    I have no experience on internet programming
    What must I do to transfer to internet?
    How can I traduce directly from PBDLL6.0?
    Best regards



    ------------------
Working...
X