CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 1999
    Posts
    2

    cards.dll for C++

    I am programming a cards game using VC++ and I want to use cards.dll. I need to know which header header file is associated to that dll (so I can use it), and I also need documentation for the dll. Please reply about that, and if you know any other dll that is used for programming card games the feel free to send info about it.

    Thanks.



  2. #2
    Join Date
    Apr 1999
    Location
    Malaysia
    Posts
    224

    Re: cards.dll for C++

    Ok, i have a problem from a book which use the card dll and vc++.
    If you want it pls email me..

    hEllO WoRLd

  3. #3
    Join Date
    Apr 1999
    Posts
    27,449

    Re: cards.dll for C++

    Have you looked in the VC++ MSDN on-line help and do a search on "CARDS.DLL"? I am sure the entry exists, because I did a search and found the documentation on using this DLL, with examples included. I don't have the on-line help in front of me, but just search for
    "CARDS.DLL", "CARDS32.DLL", or "CARD32.DLL". One of them will bring up the info.

    Regards,

    Paul McKenzie


  4. #4
    Join Date
    Apr 1999
    Location
    Portugal
    Posts
    50

    Re: cards.dll for C++

    HI,

    I was browsing through the forum and, as this question interest me also, I searched through the July'99 edition of MSDN for it but found only some pages about using cards.dll in VB. After making a 'quick view' of cards.dll, I've found the following functions exported:

    cdtAnimate, cdtDraw, cdtDrawExt, cdtInit and cdtTerm.

    The problem is: how to find the correct declarations for these functions and also for some enums used by them?

    Could you point the title of the page where you've found the information?

    TIA


  5. #5
    Join Date
    May 1999
    Location
    Atlanta, GA, USA
    Posts
    443

    Re: cards.dll for C++

    Hi.

    One time, I posted this info.
    Visual C++ 4 HOW-TO by Scott Stanfiedl has the sample code.
    Page # is p.p 290-309.

    Even though this uses cards.dll at Window95, this will gives us many hints.

    Regards.
    -Masaaki Onishi-


  6. #6
    Join Date
    Apr 1999
    Posts
    27,449

    Re: cards.dll for C++

    This is found in MSDN in
    MSDN Library Visual Studio ->
    Books ->
    Hardcore Visual Basic ->
    Chapter 7: Painting Pictures ->
    Deal Me In -> Card Functions.

    The function prototypes are VB, but they are easily translated to C++. The Enums are in CARDS.BAS, but I don't have that file around. Maybe there is a sample on the Microsoft Website that has the defintions for the enums, or someone in the VB discussion group can let you know what the constants are.

    Regards,

    Paul McKenzie


  7. #7
    Join Date
    Sep 1999
    Posts
    2

    Re: cards.dll for C++

    Thanks for your replies. I will try the MSDN library suggested by Paul McKenzie, and I will take a look at the book suggested by Masaaki. I will keep you informed in case I found something new, or in case I have anotehr question!

    -Wahab


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured