Results 1 to 12 of 12

Thread: using cards.dll

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Posts
    123

    Question

    I am trying to write a video poker game in MFC for my windows programming class. I would like to use the cards.dll file in windows so I dont have to draw all the cards and stuff.

    I already have cards.dll (32 bit) with my OS of course. I also have the header file with the function prototypes and #defines for the 4 cards.dll functions. I used instructions i got off the web to make a library file from the cards.dll and linked it up to the project settings. When i try to call the cards.dll functions i get a link error saying i have unresolved externals for the called cards.dll functions. I have tried everything, still get the same error!!!!

    here is what i am using to make the cards.lib file:

    buildlib.bat
    ---------------
    DUMPBIN /EXPORTS c:\winnt\system32\cards.dll > cards.dmp
    start notepad cards.dmp
    notepad cards.def
    LIB /MACHINE:IX86 /VERBOSE /SUBSYSTEM:WINDOWS /DEF:cards.def


    cards.def
    -------------
    EXPORTS WEP@1
    EXPORTS EXPORTS cdtAnimate@20=cdtAnimate@2
    EXPORTS EXPORTS cdtDraw@24=cdtDraw@3
    EXPORTS EXPORTS cdtDrawExt@32=cdtDrawExt@4
    EXPORTS EXPORTS cdtInit@8=cdtInit@5
    EXPORTS EXPORTS cdtTerm@0=cdtTerm@6

    I am using Windows 2000 and Visual C 6.

    Can someone please help me?? Thanks
    Attached Files Attached Files

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