Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run-Time Error - 2005532292
#1
I found the fix but I dont quit understand it... It says the i variable is not defined
Reply
#2
dim i as byte

Are you using video memory?
Reply
#3
That RTE looks familiar...
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
#4
It's an automation error prolly, only DirectX errors go negative really.
Reply
#5
So no one can help?
Reply
#6
Its ether you need a newer dx download for your computer or you need to reregister dx7vb.dll.
if nether of these work then take your computer out back and hit it a few times with a baseballbat to help vent your anger. The people come across this error allot when they use mirage source for some strange resin.. ether because they use vista or the dx doesn’t have everything its expost to or its not registering correctly.
Reply
#7
No, it's an automation error. You get it when something DX related is messed up in the code, if DX wasn't registered he'd get RTE646 or whatever it was.

If you pass anything that shouldn't be passed into anything directX related you usually get it.
Reply
#8
the weird part was i go this once. all i did was reregister dx and it fixed it never had a problem with it agian.
Reply
#9
I am still clueless
Reply
#10
Ok mario show me the fix you found. and then show me what exactly it hightligth the whole line not just a part.
Reply
#11
Dim i as something?

Seriously am i just being retarded, or could it be possible he just hasnt declared it? xP
Reply
#12
That would be "Variable not defined." Not an automation error.

How much RAM does your computer have, and did it run fine before you added that tutorial in?
Reply
#13
I would like to know this as well.
Reply
#14
Alright I should have been more specific, lol. Here is the problem:

I load the server with ease, then i run the client, sign into my account and log on. Mirage opens and then says:

Run-time error '-2005532292 (8876017c)':
Automation error

I click okay and the whole thing closes. So the fix I thought I found was above this thread and it was called "Run Time Error Fixes" So I press Ctrl-F and search for "2005532292" and i get this:

Quote:Run-Time Error - 2005532292 (8876017c):
I had to redo all my tile sets, so they had a correct size. Which seems strange to me. =/


Code:
Set DD_TileSurf(i) = DD.CreateSurfaceFromFile(App.Path & "\GFX\tiles" & i & ".bmp", DDSD_Tile(i))

http://hosted.yourimg.com/05/157/15/error.jpg

The problem to this might be the windows, so try to do this:
Start>Run>regsvr32 dx7vb.dll

So I go to my Client in VB and search for "Set DD_TileSurf" and find this:

Quote: ' Init tiles ddsd type and load the bitmap
With DDSD_Tile
.lFlags = DDSD_CAPS
.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_VIDEOMEMORY
End With
Set DD_TileSurf = DD.CreateSurfaceFromFile(FileName & "tiles" & GFX_EXT, DDSD_Tile)
DD_TileSurf.SetColorKey DDCKEY_SRCBLT, Key

So thats as far as i have reached in fixing this... Any help? Oh and theres 500 something RAM on my computer.
Reply
#15
I found this after i googled for the runtime error.

If you get an error 'Run-time error '-2005532292 (8876017c)': Automation error when starting Shape Viewer - this error code translates to "out of video memory". If your card has more than 32Mb on board, then it is likely the video driver is not working properly or is not up to date.

I thought I recognised the symptoms from a konfuze or elysium error a while ago.
Are the video card drivers your using the latest available?
You may have to re-register the DX7 .dll after you upgrade the drivers (can someone confirm for me please, i'm not sure on this)
Are you using a really large tileset?

Although it may not be just your tileset that is causing the problem - total up the size of all the graphics files your using and compare that to the size of the memory on you GFX card.

EDIT: Just an afterthought, does your tileset file, or any other graphics file your using for that matter, have any extra empty space past the end of the tiles .bmp files have a nasty habit of basing their size on the entire size of the picture including blank space. If so you may get away with just resizing them in paint.
Reply
#16
His video will only come into play if he's using video memory instead of the default system memory.
Reply
#17
No worries everyone! I have solved the problem... I just cleaned out my memory, updated windows, reinstalled DX and resized my tiles... haha thanks everyone
Reply
#18
Perfekt Wrote:His video will only come into play if he's using video memory instead of the default system memory.

.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_VIDEOMEMORY

Is it the DDSCAPS_OFFSCREENPLAIN that refers to system memory??
I was gonna start learning some more about DX7 but got held up on getting my engine ready for production.

Was kinda hoping that loading everything directly into video memory might go towards speeding things up a bit?

P.S sorry for the hijack, but did't see the point in making a new thread just for a quick question.
Reply
#19
In my experience, anytime someone's used video memory, it always causes Automation Errors for computers with a different Video Card.
Reply
#20
if i remeber rigth i thinks thats what i said.thats somthign i tell my members to do lol.
Reply
#21
Dave Wrote:DDSCAPS_VIDEOMEMORY puts the graphics into video memory. Leave it off and they go into system memory.
OFFSCREENPLAIN means it's never seen directly.

'kk, thanks Dave.

Rezeyu Wrote:In my experience, anytime someone's used video memory, it always causes Automation Errors for computers with a different Video Card.

Always good to know what NOT to do, thnxs mate. :wink:
Reply
#22
to fix this error for some of you here

find

.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_VIDEOMEMORY

change it to

.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_SYSTEMMEMORY

happy know people...... :x
Reply
#23
genusis Wrote:to fix this error for some of you here

find

.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_VIDEOMEMORY

change it to

.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_SYSTEMMEMORY

happy know people...... :x

...

People have been saying that for the past two pages!

...
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
#24
Actully they didnt say how to use it. and they just talked about VIDEOMEMORY
and OFFSCREENPLAIN. now please get out of the box you call a house.
Reply
#25
Dave Wrote:DDSCAPS_VIDEOMEMORY puts the graphics into video memory. Leave it off and they go into system memory.


OFFSCREENPLAIN means it's never seen directly.


They told him how to fix the bloody program.

Seriously, I'm not in the best of moods right now, so you should watch yourself.

Trying to insult me will only result in me getting pissed off and ripping your head off, ok?
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


Forum Jump:


Users browsing this thread: 2 Guest(s)