-
I'm trying to use cards.dll to make a game. I'm using sample code I found just to get an idea of how to use the functions in it, but every time I try anything I get run-time error 48:
Error 48 - file "CARDS.DLL" not found
I've checked my hard drive and I do have the file. I even tried giving the path to it when I Declared the function. Other API calls I have tried seem to work. I don't know if this is happeneing because cards.dll is a 16bit dll (at least I think it is) or what. Please Help.
DoubleDown
-
Well you need the file to run your App. If you want, I can send it to you.
-
Cards...
I've been messing around with the cards32 dll recently, and I didn't have the DLL before hand. I downloaded ademo from a guy called Lucky's VB Gaming web site. The cards32.dll is contained in a demo of the card game "Eights". Get the file here... http://members.home.net/theluckyleper/eights.zip
Then, put the DLL in your system folder. Then VB will be able to find the file when you need to call functions from it.
Also be sure to initialise the DLL before use, or nothing will happen when you call the drawing functions!
Laterz
REM
-
Thanks
Yeah, Megatron, I did have the dll in my system directory, and I have games that use it, so I still don't understand why what I was trying wasn't working.
REM, Thanks, I went and got cards32.dll and everything seems to work fine. I think it must have been something to do with the fact that cards.dll is only 16bit. Anyway, thanks
DoubleDown