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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading the data I receive

Status
Not open for further replies.

Phailak

Programmer
Apr 10, 2001
142
CA
Hail,

I'm trying to figure out how to work an API I have for an application. I connect to a server and I have to send queries and get replies. All that is great but I have no idea if the messages I'm sending are correct because I can't read the data I receive. How do you know what type to use. I mean if I try different types I'll obviously get different results but none of them make any sense.
For example:
If I use string I simply get Nulls back (I believe its nulls anyway, when I print it on the form it shows a bunch of vertical bars)
If I use Variant, I get two ? plus two other vertical bars in first receiving transmission and an "A" plus 3 other vert. bars.
If I use bytes I get 0 and then 7.
Integers returns numbers which I don't remember but they are 4 digits (like 2057 and 1058 or something)
So how do I know if any of these mean anything or is all this just to confusing?

Phailak
 
It would help to know what application you are trying to communicate with...
Troy Williams B.Eng.
fenris@hotmail.com

 
Hail,

Well it's a unix server, the app is called CrossTalk so I doubt any one knows it.
What type of stuff would you need to know

Phailak
 
how made the api???

try to export the functions with a c compiler, it would make an .exp file. There you can find some info 'bout the params ..........
bluenote@uyuyuy.com
(excuse my english)
 
Hail,

How made the API? Well the company that made the app provided me with the API manual. How do you export with a C compiler? Can I still do it with another's application?

Phailak
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top