Thread

VB SDK - Logging In... (Sdk)

VB SDK - Logging In... // Sdk

1  |  

dion

Jul 16, 2004, 5:02pm
Okay... it just won't create an instance. GRR! It gives me error code 429
RC_UNABLE_TO_CONNECT

It's probably something really simple.

Private Sub Form_Load()
Dim rc As Long
rc = sdk.aw_init(AW_BUILD)
If rc Then
MsgBox "Unable to initialize the API (reason " & rc & ")"
GoTo bottom
End If
rc = sdk.aw_create(0, 0)
If rc Then
MsgBox "Unable to login (reason " & rc & ")"
GoTo bottom
End If
sdk.AW_LOGIN_NAME = DoomBot
sdk.AW_LOGIN_OWNER = 287096
sdk.AW_LOGIN_PRIVILEGE_PASSWORD = *****
sdk.AW_LOGIN_APPLICATION = "Doom Bot"
rc = sdk.AwLogin
If rc Then
MsgBox "Unable to login (reason " & rc & ")"
GoTo bottom
End If
bot_login.Visible = False
bottom:
End Sub

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2022. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn