Problem with GetAsynchronously

bluedude

Well-Known Member
Licensed User
Longtime User
I seem to have a problem with GetAsynchronously

I can see it arrives in the HTTP ResponseSuccess with the correct TalkId but for some reason it does not raise the event ImageResponse_StreamFinish

Sub ImageResponse_StreamFinish (Success As Boolean, TaskId As Int)
If Success = False Then
Msgbox(LastException.Message, "Error")
Return
End If
'set the image

imgProfile.Bitmap=LoadBitmap(File.DirInternalCache, "profile.jpg")
End Sub

End when it arrives in ResponseSuccess I do:

Response.GetAsynchronously("ImageResponse", File.OpenOutput(File.DirInternalCache , "profile.png",False), True, TaskId)

Any suggestions?
 

bluedude

Well-Known Member
Licensed User
Longtime User
Async

Erel,

I'm also checking the taskId and it isn't running already. For some reason the event does not get triggered. The taskId gets started and arrives in the HTTP response without a problem.

By synchronously you mean using inputstream or?
 
Upvote 0

bluedude

Well-Known Member
Licensed User
Longtime User
Code

I can but not to this forum because i'm developing something for a third party.

Maybe as a private message.
 
Upvote 0
Top