Thread

Re: bot classes (Sdk)

Re: bot classes // Sdk

1  |  

grimble

May 21, 2002, 8:29am
Is this a reply to Brant's question? If so, I think you're wrong - its not
simpler to make a bot class in C++ (which I assume you meant).

The main issue is that you cannot provide a reference to a class member
function as a callback function, so the whole callback process must be
supported by a separate mechanism. This mechanism has to accept the event,
determine the object that the event was intended for using the instance sdk
instance parameter and deliver it accordingly.

Also, all instances of VB classes are created as COM objects and therefore a
COM DLL can be created very easily to distribute the classes as a bot
framework with very little additional work as well as run out-of-process
very easily.

Grims


[View Quote] > i meant write the bot classes in C :)

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn