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