Author | Message | Time |
---|---|---|
UserLoser | C++ from EmptyPlugin: [code]typedef BOOL (WINAPI* ResetAwayIdleProc)(void);[/code] VB: [code]Public Function NetResetAwayIdle&() rtbAdd vbRed, "NetResetAwayIdle" ' So I know if anything happens here... NetResetAwayIdle& = 1 End Function[/code] How come this isn't working? I havn't had any trouble at all with any other functions...I get an error in MessageHook | September 3, 2003, 12:03 AM |
Spht | Are you referencing it correctly as a revision 3 function? | September 3, 2003, 1:21 AM |
UserLoser | [code]Public Type PluginInformation3 Interface2 As PluginInformation2 PRegGetRegistryPath As Long PNetResetAwayIdle As Long PUIGetWindow As Long PSysIsService As Long End Type ... With Interface.Interface3 .PNetResetAwayIdle = AddressOfFunc(AddressOf NetResetAwayIdle) End With ... Public Function AddressOfFunc(ByVal aLongAddr As Long) As Long AddressOfFunc= aLongAddr End Function[/code] yes | September 3, 2003, 1:24 AM |