Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Migrating code to C++

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
Blaine Fields
Guest





PostPosted: Fri Feb 03, 2006 9:04 pm    Post subject: Migrating code to C++ Reply with quote

In the simple sample provided, there is this line code:

if( !LicneseManager.IsValid(typeof(MainForm), this, out license))

I'm trying to migrate this code to C++ but have no idea how to deal with the "out" reserved word used in C#. The effect of the command is to take a null license object and place it in the context of the ILS provider.

How does one accomplish the same thing in managed C++?
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Feb 04, 2006 9:53 am    Post subject: Reply with quote

Try the following:

Code:
if( !LicenseManager::IsValid(this->GetType(), this, &license)).

_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group