Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
An error that won't let me even see the game at all
#1
Okay. I have just set up the server. Created account, character. Woo! Time to log in!
UH! Error!? I get an error. Click debug. It's hi-lighting this:

Sub InitDirectX()

' Initialize direct draw
> Set DD = DX.DirectDrawCreate("")
frmMirage.Show

' Indicate windows mode application
Call DD.SetCooperativeLevel(frmMirage.hWnd, DDSCL_NORMAL)


What do I do??? (it's for build 3.03)
Reply
#2
I used what you gave me and when I log in it gives me an error then hi-lights the first "Public"

any ideas?
Reply
#3
Change 'Public' to 'Dim'
Reply
#4
This is bad...
now
Set DD = DX.DirectDrawCreate(vbNullString)
is hi-lighted
ROFL..i dont get it...but yes, dim works
Reply
#5
Install directX you flamp.
Reply
#6
Don't add tutorials you don't understand.

Replace:

Code:
Set DD = DX.DirectDrawCreate(vbNullString)

With:

Code:
Set DD = DX.DirectDrawCreate("")
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#7
Yea. I figured it out..I have to register the directx7 DLL..and I didn't add any tutorials, 3.0.3 came this way.
Reply
#8
3.0.3 does not come with:

Code:
Set DD = DX.DirectDrawCreate(vbNullString)

Believe me.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#9
Hmm..Okay. When I get back, I'll redownload...but I also think I know what happened just by thinking about it. I downloaded 3.0.3 before, added a bunch of tutorials, then messed it up the same way. I deleted it, sending it to the recycling bin, download all versions, trying them out, deleted them.now when I redownloaded 3.0.3, it opened the tutorial infested one. So, I gotta permanently delete all of them, restart, then redownload. ^^
Reply
#10
Robin Wrote:3.0.3 does not come with:

Code:
Set DD = DX.DirectDrawCreate(vbNullString)

Believe me.

His first post says

Code:
Set DD = DX.DirectDrawCreate("")
Reply
#11
I don't think he has dx7 installed, When I saw he had written vbnullstring in a later post I was going to mention it but Robin beat me too it ^_^

And Dave, certain things don't like vbnullstring - dunno why, guessing because "" is actually a physical null string, and vbnullstring is just 'I am nothing don't bother even trying to address me in memory' or something similar?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)