R77 Community Forum Archive

Programming => .NET Development => Topic started by: Hero on December 13, 2008, 04:12:21 PM

Title: Create and Register
Post by: Hero on December 13, 2008, 04:12:21 PM
Is API the correct word?

How do  you create and register an API for the WSH so  that it is usable  like SBWinsock?

Set blah = CreateObject("W/e")
Title: Create and Register
Post by: Vector on December 14, 2008, 01:05:39 AM
Is this really .NET?

Code: [Select]
Set objWS = CreateObject("SBWinsock.ctlWinsock")
objWS.SetSC SSC.GetScriptControl(), <prefix of plugin>

Unfortunately, its only available to StealthBot plugins, or if you can pass some other scripting object to it.
Title: Create and Register
Post by: Hero on December 14, 2008, 09:56:40 AM
You misunderstood me, I want to use a .NET language to create a .dll that  is accessable like SBWinsock.

Set objHero = CreateObject("Hero.Thing")
Title: Create and Register
Post by: JPT on February 16, 2009, 07:07:44 PM
http://msdn.microsoft.com/en-us/library/tzat5yw6(VS.71).aspx (http://msdn.microsoft.com/en-us/library/tzat5yw6(VS.71).aspx)