[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Thread Index]
[Monthly Archives] [List Home]

Re: [Virtools] SDK : How to send a Data Message



oups sorry about my answer, forgot to see the sdk word !

So the REAL answer to your question would be :
 - First, you need to create a CKParameterOut object :
CKParameterOut* pout = CreateCKParameterOut("MyPout",CKPGUID_CURVE);
- then you fill it with your curve id :
CK_ID curveid = curve->GetID();
pout->SetValue(&curveid);
- finally, you attach the parameter to the message :
msg->AddParameter(pout,TRUE); // the TRUE is for the automatic deletion of
the parameter after receival

To see how to transfer directly a parameter out attached to a behavior, see
SendMes.cpp in the Logics/Message.


...............................................................
Distributed via the virtools-user-group list: http://www.theswapmeet.com/numl.html
To reply to the list instead of its author, use "Reply to All"
To unsubscribe: send "unsubscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To subscribe: send "subscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To post a message: send it to virtools-user-group@lists.theswapmeet.com
...............................................................


References: