FOR THE LOVE OF GOD PLEASE HELP!!!
Soory for putting this up twice but Everytime i compile my code, and run it, i get an illegal operation. Ive tried everything i could thing of but it didn't help. Please Help!!
Edited by - RedFTiger on February 21, 2002 7:46:27 PM
It''s hard to help when you don''t give any useful information about your problem...
First off, did you run your program under a debugger?
What does it do?
Are there any error messages?
Just saying "Please help" won''t get you far, if you say nothing about your particular situation.
First off, did you run your program under a debugger?
What does it do?
Are there any error messages?
Just saying "Please help" won''t get you far, if you say nothing about your particular situation.
Well Im using Dev-C++. Anyway, when i make my window, it runs fine, but when i call the DirectdrawCreateEx() function, my program makes and illegal operation. Ive tried compiling examples from the sdk using Dev-C++ and i get the same results.
Edited by - RedFTiger on February 21, 2002 9:11:32 PM
Edited by - RedFTiger on February 21, 2002 9:11:32 PM
This could be because:
* Your video card drivers need updating (to DX compatible ones)
* Your Dev C++ build files are corrupt - try re-installing them.
* Your RAM fails at certain addresses - boot of a boot disk and test the memory with himem.
* U need updated Dev C++ DirectX files.
* Your video card drivers need updating (to DX compatible ones)
* Your Dev C++ build files are corrupt - try re-installing them.
* Your RAM fails at certain addresses - boot of a boot disk and test the memory with himem.
* U need updated Dev C++ DirectX files.
quote:Original post by Anarchi
This could be because:
* Your video card drivers need updating (to DX compatible ones)
* Your Dev C++ build files are corrupt - try re-installing them.
* Your RAM fails at certain addresses - boot of a boot disk and test the memory with himem.
* U need updated Dev C++ DirectX files.
Or he could be just doing something wrong in the function.
Secondly maybe you should try Borland C++ builder(the free one). A good IDE for it is at www.objectcentral.com
Edited by - flame_warrior on February 21, 2002 10:13:45 PM
I have tried everything you have mentioned and it still makes an illegal operation when directdraw is called.
NULL Pointer perhaps? Thos cause problems...
-----------------------------
Damnit Dave, I would have a link to Graphics Wars here, but you haven''t put it up on GDNet yet!
The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence.
Democracy is where you say what you want and do what you''re told.
-----------------------------
Damnit Dave, I would have a link to Graphics Wars here, but you haven''t put it up on GDNet yet!
The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence.
Democracy is where you say what you want and do what you''re told.
If it still doesnt work then I suggest u start fresh with DirectDraw7 and maybe even use classes to organise your code more - download the DX7SDK and use the code from the DDraw7 samples.
Otherwise send me the code again as a zipped attachment and ill find the problem.
NSZeroOne@Hotmail.com
Otherwise send me the code again as a zipped attachment and ill find the problem.
NSZeroOne@Hotmail.com
Downloads, D3DXSprite tutorial, New platform game: .-= The ZeroOne Realm =-.
NULL pointer is often the cause.
Oli
All the best problems start with C
.:: K o s m o s E n g i n e ::.
Oli
All the best problems start with C
.:: K o s m o s E n g i n e ::.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement