New topic: 

httpsocket, pagereceived?

<http://forums.realsoftware.com/viewtopic.php?t=47415>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        julgus_sweden          Post subject: httpsocket, 
pagereceived?Posted: Wed Mar 27, 2013 3:08 am                         
Joined: Wed Dec 05, 2007 5:17 am
Posts: 502
Location: Sweden                Hi

I have an application which uses httpsocket. 
I have subclassed it and added a method, Getdata. In my application I call the 
Getdata method after initial call to return the received data to calling code.

In my subclassed httpsocket, method Getdata, I have this code:
while not data_ok
  app.DoEvents()
wend
return data


data_ok is set in the pagerecieved event. I have now read at several places 
that it isn't ok to use app.DoEvents. How can I solve this without app.doevents?

Regards      
_________________
iMac 27" i7, Macbook 13.3,Macbook PRO 15, Mac mini, iPhone 4s & REALStudio...
http://www.precis-it.se  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to