Results 1 to 3 of 3

Thread: Direct X problem...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Posts
    225
    I'm converting my game from BitBlt to Direct Draw. I've tried to incorporate a DX example into my form, but I get an error... "Compile error: User-defined type not defined.". The top of my form's code looks like this :

    Code:
    Option Explicit
    
    Dim dx As New DirectX7
    Dim dd As DirectDraw7
    ...and the error points to 'dx as New DirectX7'.

    What's wrong here? I can't figure this out...

    Thanks,

    -Git

  2. #2
    Guest
    Did you enable directX7???

    Go to project - references and check 'directx7 for visual basic type library'

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Posts
    225
    Got it - thanks. =)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width