Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: UserLoser on August 11, 2003, 06:59 PM

Title: [VB] BCP question
Post by: 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
Title: Re:[VB] BCP question
Post by: Spht on August 13, 2003, 01:12 AM
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.