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. Cards.dll

Cards.dll

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
5 Posts 4 Posters 0 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.
  • U Offline
    U Offline
    User 11684254
    wrote on last edited by
    #1

    how to work with cards.dll

    J L 2 Replies Last reply
    0
    • U User 11684254

      how to work with cards.dll

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      Get a resource explorer (search the web for one) to find out which resources are contained in the DLL. If you refer to the DLL for the Solitaire game shipped with older Windows versions it will contain only bitmaps. Then load the DLL into the address space of your application using the LoadLibrary function (Windows)[^]. Finally use the LoadBitmap function (Windows)[^] to get a handle for each bitmap passing the IDs found with the resource explorer converted using MAKEINTRESOURCE. For other types of resources see FindResource function (Windows)[^] and GetProcAddress function (Windows)[^] for exported functions.

      1 Reply Last reply
      0
      • U User 11684254

        how to work with cards.dll

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Using cards.dll API | Catch22[^]

        L 1 Reply Last reply
        0
        • L Lost User

          Using cards.dll API | Catch22[^]

          L Offline
          L Offline
          leon de boer
          wrote on last edited by
          #4

          The article is out of date there is also a 32bit version of the DLL kicking around from Win98 and XP. ReactOS basically duplicated most of the DLL as it is reasonably trivial ReactOS: dll/win32/cards/cards.c Source File[^] Find and download free deck of cards images, bind it all in Visual Studio and you have your own :-)

          In vino veritas

          L 1 Reply Last reply
          0
          • L leon de boer

            The article is out of date there is also a 32bit version of the DLL kicking around from Win98 and XP. ReactOS basically duplicated most of the DLL as it is reasonably trivial ReactOS: dll/win32/cards/cards.c Source File[^] Find and download free deck of cards images, bind it all in Visual Studio and you have your own :-)

            In vino veritas

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Yes, I am well aware of that, but it's the only one I know.

            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