Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

chat program

Status
Not open for further replies.

shanley06

Programmer
Nov 26, 2002
101
0
0
US
i was wondering what i would do to make a chat program like aim in qbasic
 
There was an example in I believe GWBasic (that is, even before Quick Basic) that show how to chat via com-port. (Of course it was good old DOS time...)
Now chat programs (I believe) talk via TCP-IP. There is a set of routines coded into Windows - but you have no way to use it.
To cut it short: I think it's impossible in QB because it can not call Windows API.
 
I agree with tsh73, It is impossible.

To use the tcp/ip you need to be able to use windows objects.

There might be some way if you do a LOT of tweaking in ASM via CALL ABSOLUTE calls... But it would be a mess if/when you get done with it...

You might try Java...

Java is free and was made for these type of programs...

There are plenty of tutorials out there for this...

Have Fun, Be Young... Code BASIC
-Josh Stribling
cubee101.gif

 
You could also make a windows slave program in C++ or *shudder* VB. That's what DS4QB++ did (and the others). It allowed you do use direct sound in QB, but actually had a windows program taking commands from the qb program.

-----------------------
Soon to come - a QBasic contest forum!
-----------------------
 
could you give me an example of how to make a slave program?
 
nm i figured it out...though its a little slow
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top