From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c5a05c757ae3decf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-03 04:03:00 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.213.69.151!news.algonet.se!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erix.ericsson.se!newstoo.ericsson.se!not-for-mail From: "Petter Fryklund" Newsgroups: comp.lang.ada Subject: Re: How do I use cards.dll from Aonix OA? Date: Mon, 3 Sep 2001 13:03:41 +0200 Organization: ericsson Message-ID: <9mvmsf$ld1$1@newstoo.ericsson.se> References: <9mn9k0$dqf$1@newstoo.ericsson.se> NNTP-Posting-Host: 172.17.76.206 X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Xref: archiver1.google.com comp.lang.ada:12651 Date: 2001-09-03T13:03:41+02:00 List-Id: cards.dll is used by ie solitaire and others games needing a card deck ;-) It's probably present in most WIndows systems. I'm trying to learn Windows programming and having some fun while I'm doing it :-) I'm a bridge fanatic. I have a command line deal generator that I'd like to convert graphics. tmoran@acm.org wrote in message ... >>No, cdtInit is the initialization of cards.dll. I started with that one just >>to see if I could use any routine in there. I tried to add the file >>cards.dll to the files in the project, but that was obviously not right. I >>couldn't fine any instructions on how to tell the linker where to look. Do >>you know? > If cdtInit is an entry point in cards.dll then you need to call the OS >functions (LoadLibraryA et al) to *dynamically* load the DLL and give you >a pointer to cdtInit. At *link time* cards.dll need not even exist. >You can either code your own OS calls, or find a routine in a .lib >that knows how to do it, and then statically link from that .lib Where >did cards.dll come from and did it have an associated .lib file?