Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. DirectDraw on WinNT4

DirectDraw on WinNT4

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsgame-devhelp
5 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ernst maurer
    wrote on last edited by
    #1

    Hi. My application was designed for Win2000 only (I use DirectX 7). And I plan to detect attempt to run this on WinNT4 , because there is error message "The procedure entry point DirectDrawCreateEx could not be located in the dynamic link library DDRAW.dll, but this message show up before WinMain call. Thanks for advise.

    J 1 Reply Last reply
    0
    • E ernst maurer

      Hi. My application was designed for Win2000 only (I use DirectX 7). And I plan to detect attempt to run this on WinNT4 , because there is error message "The procedure entry point DirectDrawCreateEx could not be located in the dynamic link library DDRAW.dll, but this message show up before WinMain call. Thanks for advise.

      J Offline
      J Offline
      jarl
      wrote on last edited by
      #2

      Afaik you can't run DirectX > 3 on Windows NT 4.0. ( Execute-buffers, you've got to love them... ;) ) -=jarl=-

      E 1 Reply Last reply
      0
      • J jarl

        Afaik you can't run DirectX > 3 on Windows NT 4.0. ( Execute-buffers, you've got to love them... ;) ) -=jarl=-

        E Offline
        E Offline
        ernst maurer
        wrote on last edited by
        #3

        I know this, but I need only valid error report, maybe like this: "This program requiedWin98/2000 only" :) I need to detect OS version BEFORE the program say "...Entry Point for DirectDrawCreateEx was not found..." I think that in DDRAW.dll in DllEntryPoint there is call of DirectDrawCreateEx and i have this error message before Step IN to WinMain

        J I 2 Replies Last reply
        0
        • E ernst maurer

          I know this, but I need only valid error report, maybe like this: "This program requiedWin98/2000 only" :) I need to detect OS version BEFORE the program say "...Entry Point for DirectDrawCreateEx was not found..." I think that in DDRAW.dll in DllEntryPoint there is call of DirectDrawCreateEx and i have this error message before Step IN to WinMain

          J Offline
          J Offline
          jarl
          wrote on last edited by
          #4

          Oh, sorry, I see. You need to load the DLL manually, ( using LoadLibrary ), then. :) -=jarl=-

          1 Reply Last reply
          0
          • E ernst maurer

            I know this, but I need only valid error report, maybe like this: "This program requiedWin98/2000 only" :) I need to detect OS version BEFORE the program say "...Entry Point for DirectDrawCreateEx was not found..." I think that in DDRAW.dll in DllEntryPoint there is call of DirectDrawCreateEx and i have this error message before Step IN to WinMain

            I Offline
            I Offline
            Iain Clarke Warrior Programmer
            wrote on last edited by
            #5

            As you have found, the OS loader is trying to bring in functions / dlls that aren't there. There are two ways around this. Actually, they are effectively the same, but you do different things. 1/ Delay load (e.g.) ddraw.dll and catch the DirectDrawCreateEx function failure with an exception handler, or 2/ Explicitly load the function using LoadLibrary and GetProcAddress. Iain.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups