![]() |
An error that won't let me even see the game at all - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: An error that won't let me even see the game at all (/showthread.php?tid=1784) |
An error that won't let me even see the game at all - Poyzin - 24-05-2008 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) Re: An error that won't let me even see the game at all - Poyzin - 25-05-2008 I used what you gave me and when I log in it gives me an error then hi-lights the first "Public" any ideas? Re: An error that won't let me even see the game at all - Ramsey - 25-05-2008 Change 'Public' to 'Dim' Re: An error that won't let me even see the game at all - Poyzin - 25-05-2008 This is bad... now Set DD = DX.DirectDrawCreate(vbNullString) is hi-lighted ROFL..i dont get it...but yes, dim works Re: An error that won't let me even see the game at all - Coke - 25-05-2008 Install directX you flamp. Re: An error that won't let me even see the game at all - Robin - 25-05-2008 Don't add tutorials you don't understand. Replace: Code: Set DD = DX.DirectDrawCreate(vbNullString) With: Code: Set DD = DX.DirectDrawCreate("") Re: An error that won't let me even see the game at all - Poyzin - 25-05-2008 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. Re: An error that won't let me even see the game at all - Robin - 25-05-2008 3.0.3 does not come with: Code: Set DD = DX.DirectDrawCreate(vbNullString) Believe me. Re: An error that won't let me even see the game at all - Poyzin - 25-05-2008 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. ^^ Re: An error that won't let me even see the game at all - Ramsey - 26-05-2008 Robin Wrote:3.0.3 does not come with: His first post says Code: Set DD = DX.DirectDrawCreate("") Re: An error that won't let me even see the game at all - Coke - 26-05-2008 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? |