Original Post
Well im making an app that will use Dx8 Directplay... it was working fine for a few weeks but now im getting a mysterius error
Run_time error ´-2146073824(80158320)´:
Automation error
And its at DPS.Host, app, DPA that things go wrong!!
I dont know why.. i have checked.. the port i am useing is open and i have tried changing it to like 5 others and i get the same answer..
So how do i fix this... ??? I think it might be something with the ports in my firewall... Hmmm i have a hardware firewall..
Public Const AppGuid = "{0AC3AAC4-5470-4cc0-ABBE-6EF0B614E52A}"
Public Const DefaultPort As Long = 3252
Dim App As DPN_APPLICATION_DESC
With App
.guidApplication = AppGuid
.lMaxPlayers = 1000
.SessionName = "MY Game"
.lFlags = DPNSESSION_CLIENT_SERVER Or DPNSESSION_NODPNSVR
End With
DPA.SetSP DP8SP_TCPIP
DPA.AddComponentLong DPN_KEY_PORT, DefaultPort
DPS.Host App, DPA