| Mirage Source http://web.miragesource.net/forums/ |
|
| Question http://web.miragesource.net/forums/viewtopic.php?f=201&t=688 |
Page 1 of 1 |
| Author: | halla [ Thu Oct 26, 2006 12:29 am ] |
| Post subject: | Question |
Ok im working on some programs to help new people customize Mirage Source. One is a Offline Map Editor. Im adding stuff as I go and its giving me this error. User Defined Type not Defined Code: Public DX As New DirectX7
I have the modDirectX and all I dont see why that part is getting an error. Thanks |
|
| Author: | Misunderstood [ Thu Oct 26, 2006 12:38 am ] |
| Post subject: | |
You need to add a reference to DirectX with the VB IDE like MS does, I don't remember how though, but its either a reference or component, so look for those words. |
|
| Author: | halla [ Thu Oct 26, 2006 12:42 am ] |
| Post subject: | |
Oh yeah that wold make a lot of sense. Thanks EDIT: FOund it If anyone cares... its a reference. To get it you must click open and it should already be in the win32 folder if not go there. Then find dx7vb or something like that. THats waht you need then. |
|
| Author: | Lea [ Thu Oct 26, 2006 12:44 am ] |
| Post subject: | |
Project - references Find DX7 in there, forgot exactly what it's called. |
|
| Author: | halla [ Thu Oct 26, 2006 1:05 am ] |
| Post subject: | |
Dave wrote: Project - references
Find DX7 in there, forgot exactly what it's called. Yep thanks. I found it right before you posted though. So far I have it showing the image for the tiles but cant select any. I have to find out what im missing for that. |
|
| Author: | halla [ Fri Oct 27, 2006 2:53 am ] |
| Post subject: | |
Ok Another Question. Thought this would be better rather than a new topic. Ok I got more progress on it... what code though blts the tiles to picScreen while you are editing maps. I have it where you select a tile and all but after that if you click on picSCreen you get error saying "Run Time Error Object Required" Also I couldnt find the code relating to that I was looking at blttile and stuff but is that just to show the maps while playing or for tiles actually... I added that but dont know if I need too. Thanks |
|
| Author: | Misunderstood [ Fri Oct 27, 2006 6:43 pm ] |
| Post subject: | |
blttile and such, just like normal. It uses savemap to revert back to how it was previously if you choose cancel. |
|
| Author: | halla [ Fri Oct 27, 2006 8:32 pm ] |
| Post subject: | |
Ok now the error... in bltTile (unchanged) it highlights Code: Call DD_BackBuffer.BltFast(x * PIC_X, y * PIC_Y, DD_TileSurf, rec, DDBLTFAST_WAIT)
Run Time Error 91 Object Variable or With Block variable not set |
|
| Author: | Misunderstood [ Fri Oct 27, 2006 8:50 pm ] |
| Post subject: | |
can you post more than just that one line? This is called after the DX is initialized...right? |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|