PDA

Click to See Complete Forum and Search --> : NEED HELP - URGENT!!!


Warmaster199
Aug 22nd, 2000, 08:33 PM
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.

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!

oetje
Aug 23rd, 2000, 06:08 AM
I don't know the answer, but I think more people will view your thread if you give it a meaningfull subject.

Warmaster199
Aug 24th, 2000, 01:11 PM
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.