You Are Here:

Community: Developer Discussion Boards

#1 Old Any difference between these 2 lines rhostresolver code? - 2003-11-14, 15:09

Join Date: Jun 2003
Posts: 318
advocatee
Offline
Regular Contributor
Hi,


The SDK help shows:

TRequestStatus status;
hr.GetByAddress(addr, entry, status);
User::WaitForRequest(status);

But i was wondering if i could use the iStatus variable already defined by CActive:

hr.GetByAddress(addr, entry, iStatus);.
SetActive();

I don't have the infrastructure to test the code on yet,

Thanks
=)

- aDvo -
Reply With Quote

#2 Old 2003-11-14, 20:33

Join Date: Oct 2003
Posts: 18
Location: Oulu
HansProve
Offline
Registered User
Hi,

The 1st version doesn't need an active object because U are waiting for the result with WaitForRequest

The 2nd must use an Active Object and must use iStatus from the Active Object.


BR, Hans
Reply With Quote

#3 Old 2003-11-15, 12:19

Join Date: Jun 2003
Posts: 318
advocatee
Offline
Regular Contributor
Thank you =)
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia