Results 1 to 3 of 3

Thread: NEED HELP - URGENT!!!

  1. #1

    Thread Starter
    Hyperactive Member Warmaster199's Avatar
    Join Date
    Aug 2000
    Location
    Canada
    Posts
    306

    Exclamation

    I need help now! I have just started working on a 3D engine called I3D. I am trying to make a small app that will call a Function in I3D called I3DInit in a class called I3DMain. So far I have this in the sample app.
    Code:
    Public mMain As New I3DMain
    
    Sub main()
        mMain.I3DInit
    End Sub
    Can anyone tell me why this won't work? It always says the error "Object variable or With block variable not set." I've trying everything! I can't get this DLL call to work. please help!

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    I don't know the answer, but I think more people will view your thread if you give it a meaningfull subject.

  3. #3

    Thread Starter
    Hyperactive Member Warmaster199's Avatar
    Join Date
    Aug 2000
    Location
    Canada
    Posts
    306

    I found the Problem

    I found the problem... It wasn't the code I have submitted here, but it was a problem in the I3D Graphics engine. The problem was in the sub DirectDrawInit(Handle, srcnWidth, scrnHeight, scrnBPP). The DirectDraw backbuffer wasn't set up right. It's fixed now. As soon as I fixed it, a small small error in loading registry settings for screen resolutions and bitdepths was found. I fixed that too. I3D is free to download with documentation, source code, sample source code, and a small display setup program at www.geocities.com/warmaster2000us.

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