Valhalla Legends Forums Archive | Visual Basic Programming | [VB] BCP question

AuthorMessageTime
UserLoser
How would I reference the callback functions? I've tried many things, and none work. :'( What I have so far... (Not much >:()
[code]
Dim Interface As PluginInformation4
Interface.Interface3.Interface2.Interface1.dwSize = Len(Interface.Interface3.Interface2)
GetMasterInterface Interface

SetMasterInterface Interface
If LoadPlugin(bcpPlugin, Interface) Then DoBlahBlahBlah
[/code]

I'm guessing where you reference the functions is between GetMasterInterface & SetMasterInterface, or those could be wrong too. Any help would be great
August 11, 2003, 11:59 PM
Spht
[quote author=UserLoser link=board=5;threadid=2293;start=0#msg17858 date=1060646381]
How would I reference the callback functions? I've tried many things, and none work. :'( What I have so far... (Not much >:()
[code]
Dim Interface As PluginInformation4
Interface.Interface3.Interface2.Interface1.dwSize = Len(Interface.Interface3.Interface2)
GetMasterInterface Interface

SetMasterInterface Interface
If LoadPlugin(bcpPlugin, Interface) Then DoBlahBlahBlah
[/code]

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

Use the AddressOf operator to point elements from your PluginInformation structure to reference your BinaryChat Plugin API functions.
August 13, 2003, 6:12 AM

Search