Thread: directx

  1. #1
    personman
    Guest

    directx

    I'm having problems making directx applications. I'm using Dev-C++. When I try to compile the code in sunlight's tutorials, I get an illegal operation when I run the program. Even if the main function is empty, it dies before any code is executed. If I remove the DirectDrawCreateEx(NULL, (void **)&pDD, IID_IDirectDraw7, NULL); line, it runs fine, but that's probably the most important line in the program. What's the problem?

  2. #2
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    what are these sunlight tutorials?

    where can we get them so we can help you?

    Oskilian

  3. #3
    personman
    Guest
    There used to be a link on this site, but it's not there anymore.
    I found it on google, the url is:
    http://sunlightd.virtualave.net/Windows/

  4. #4
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    234
    Hey, think of this... Do u have any directX header files, cpp files, or any of the components on your machine? I tried some directX, got a gig of some good tutorials and started to compile and, low and behold, i had to download like 120 megs of files. So... Check that out. If not, then maybe the "sunlight tutorials" are using a different directX version, different c++ app, or something else. Make sure that the tutorials are the right ones for your machine and versions etc...
    Weeel, itss aboot tieme wee goo back too Canada, eeehy boyss.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Isometric Tile Engine using DirectX
    By Wraithan in forum Game Programming
    Replies: 3
    Last Post: 07-17-2006, 12:16 PM
  2. DirectSound header issues
    By dxfoo in forum C++ Programming
    Replies: 0
    Last Post: 03-19-2006, 07:16 PM
  3. DirectX - Starting Guide?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-25-2004, 12:49 AM
  4. DirectX 8 with Borland
    By Tommaso in forum Game Programming
    Replies: 11
    Last Post: 08-12-2003, 09:30 AM
  5. Directx SDK Documentation
    By Zoalord in forum Game Programming
    Replies: 4
    Last Post: 05-08-2003, 06:07 AM