Link to home
Start Free TrialLog in
Avatar of treyjeff
treyjeff

asked on

Why won't this work? (cards.dll)

i downloaded some source code today for cards.dll so I can learn about it and make something.  The source doesn't work properly though.  It says it can't find cards.dll!!  The zip is at http://www.huron.net/~jlewis/cards.zip  If anyone could help me out it would be appreciated :)
Avatar of rene100
rene100

hi treyjeff

first, i'm sorry but i can't find the zip, but remember to
copy the dll in the windows\system dir to use it
The dll is not shipped with the Zip-File, thats why you cannot find it.
Ask the programmer of the Sources.
The dll is part of Windows, so the program should be able to find it.  I can't figure out why that particular project returned that error.  It did the same thing on my machine.  However, I found the almost exact same demo at http://www.pcworld.com/fileworld/file_description/frameset/0,1458,3718,00.html and it worked perfectly.  Give it a shot.
Try to register the dll

Open a Dosbox and enter:
  regsvr32 cards.dll

You have to be in the directory where the dll is located.

It is possibly that the regsvr32 has a different name on win95 (regserver or so... ??)
I am using NT4 (try to find regsvr in the system directory if the command does not work)
Avatar of treyjeff

ASKER

I get an error in the download file as well.  I tried regsvr32 as well and got an error when trying to register the dll.
The file that you should be using is Cards32.dll

zsi
I have cards.dll and I tried to register it on my system but I got some eror message.
ASKER CERTIFIED SOLUTION
Avatar of zsi
zsi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I don't have cards32.dll on my system, why is that?  When I bought the computer it had W95 installed on it.  The only cards.dll file is exactly that one.
Then use the Cards.dll, which is the library that the declarations that I provided refer to.  Just remember that if you get a "Bad DLL Calling Convention" or some other simliar error when you call to one of the functions, to change the long data types to integers.