Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Topic Locks Topic Locks



11/21/2016 1:34:56 PM
10/29/2012 12:02:27 PM
5/14/2012 4:15:11 AM
5/14/2012 4:14:35 AM
5/6/2012 4:02:53 PM
List all versions List all versions

RSS feed for the SquirrelWiki namespace

Multi V Ms

Back to SqPlus


Response to a forum question regarding isolating multiple scripts:

// If I understand your question correctly, you want to isolate registered functions for multiple scripts (for sandboxing?). If so, you could create additional VM's:

HSQUIRRELVM vm1 = SquirrelVM::GetVMPtr(); // Get original _VM from SquirrelVM::Init().
HSQUIRRELVM vm2 = SquirrelVM::GetVMPtr(); // Get new _VM.

Then before calling script functions (including binding functions for each VM):

//... register and call scripts setup under vm1

//... register and call scripts setup under vm2

//At shutdown:


Creating multiple root tables and switching them is another solution.

agen sbobet terpercaya | agen judi online

Not logged in. Log in

squirrel's community wiki

This is FlexWiki, an open source wiki engine.

Change Style

Recent Topics

The design style of the replica watches sale is a business movement. It is very suitable to replica watches wear during work or leisure sports. It is swiss replica watches an automatic mechanical movement with no extra design. It is different from a watch with a calendar, a tourbillon, etc. 819.315 is more Smooth and refreshing rolex replica.