How is it possible to extract card pictures from cards32.dll? I mainly need then API declarations, but some sample code is of course welcome.
Thanks in advance.
Printable View
How is it possible to extract card pictures from cards32.dll? I mainly need then API declarations, but some sample code is of course welcome.
Thanks in advance.
I've used it before several years ago...but of course I'm at work and it's at home so I'll see if I can find some snippets over the weekend if you're still interested. Email me and I'll reply with code on Monday.
Toot
Could you email me a copy also? Thanks!!!
Me tooo thanks in advance.
Unfortunately I started a card game type app before I read this post. I didnt' know that there was a card.dll file...On the upside it doesnt' aparently have Jokers in it....
Basically I went and extracted the cards from Solitaire by CUT/PAsting them into an image editor and saving the file as JPG's. In the code I put them into an image list. It seems to work pretty well...But would it be more efficient to use API's with this DLL?
I wouldn't mind a copy of that code myself. How do you extract images from a DLL? FOr that matter, how do you put them in... it would seem to be more advantageous to have all of the graphics for my GCC project in one DLL rather than umpteen files....
Could you do that with audio too? Like MIDI and WAV?
Eiredrake
Take a look at this link.
http://www.planet-source-code.com/vb...txtCodeId=3563
I just made a bunch of programs with the Cards DLL. I made a screen saver that deals random cards all over the desktop image on a form, and a Black Jack game (my first game ) :) :) :)
I got all the information on the Cards32.dll from a guy called Lucky's VB Gaming site. Check out the link below. He has a pretty good tutorial on using the Card API's: http://members.home.net/theluckyleper/tutU.html
There is also an example project using the Card32 API's of the Eights Game :)
Hope this helps :)
Laterz
REM
BTW, Hi MEgatron :) We both seem to be posting a lot tonight...