hc_ResponseSuccess not found

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Hi,
I need to get HttpClient_ResponseSuccess/Error from a library.
I know that this method can't be call from a libray, and I need to execute this several times in different program.
What can I use?
Thank
 

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Why do you need to handle it from a library? It will be much easier to write the communication code in Basic4android directly.

Because the library is used in 10 different programs, and they need to do the same thing at the start
 
Upvote 0

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Is what I'm trying to do! But in the code there is also a hc_responsesuccess/error :sign0148:
 
Upvote 0

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
But if I create an event hc_ResponseSuccess and hc_ResponseError, the program goes in error :(
 
Upvote 0

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
The line that raise this error is number 509. I never used HttpUtils2
 
Upvote 0

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
The line is where it is write: stream.InitializeToBytesArray(1)
 
Upvote 0

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Hi Erel,
I tried to use a class module and I solved the problem :p
Please, how can I get a return value, from a class?
 
Upvote 0

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Where I can find HttpJob? Because I don't use HttpUtils2.
Are there any other methods?
 
Last edited:
Upvote 0
Top