• Welcome to Valhalla Legends Archive.
 

[VB] BCP question

Started by UserLoser, August 11, 2003, 06:59 PM

Previous topic - Next topic

UserLoser

How would I reference the callback functions?  I've tried many things, and none work. :'(  What I have so far... (Not much >:()

Dim Interface As PluginInformation4
   Interface.Interface3.Interface2.Interface1.dwSize = Len(Interface.Interface3.Interface2)
   GetMasterInterface Interface
   
   SetMasterInterface Interface
   If LoadPlugin(bcpPlugin, Interface) Then DoBlahBlahBlah


I'm guessing where you reference the functions is between GetMasterInterface & SetMasterInterface, or those could be wrong too.  Any help would be great

Spht

Quote from: UserLoser on August 11, 2003, 06:59 PM
How would I reference the callback functions?  I've tried many things, and none work. :'(  What I have so far... (Not much >:()

Dim Interface As PluginInformation4
   Interface.Interface3.Interface2.Interface1.dwSize = Len(Interface.Interface3.Interface2)
   GetMasterInterface Interface
   
   SetMasterInterface Interface
   If LoadPlugin(bcpPlugin, Interface) Then DoBlahBlahBlah


I'm guessing where you reference the functions is between GetMasterInterface & SetMasterInterface, or those could be wrong too.  Any help would be great

Use the AddressOf operator to point elements from your PluginInformation structure to reference your BinaryChat Plugin API functions.