Questions on Resource DLLs

G

Guest

Hi, guys.

In the Compact Framework, is there an easy way to create a resource dll
similar to pegcards.dll? How would you go about doing that? The only
tutorials I've been able to find involve localization string resources in an
ASP.NET or desktop application.

I'm trying to develop a playing card library in the CF similar to a desktop
card game library I found on Code Project. However, I haven't had any luck
finding information on pegcards.dll. The only thing I've been able to find is
at http://www.dotnet247.com/247reference/msgs/37/188527.aspx, which seems to
say that pegcards.dll only contains the images to the cards, and no publicly
available functions. So, I'm looking for a way to create my own resource dll
file to contain custom card images and the code to draw those images onto a
form.

Any help/tutorials you could point me toward would be greatly appreciated.
I'd like to keep the solutions to managed code as much as possible, as I
don't know C/C++ very well at all. Thanks! =)

Flynn
 
G

Guest

Thanks, Alex! =)

Are you aware of any special requirements or editing that need to be done
when using the resources with a CF application? I seem to recall that some
tweaking to the XML file was necessary when using Resourcer.

Flynn
 
G

Guest

It should work without tweeking.

-Alex

Flynn Arrowstarr said:
Thanks, Alex! =)

Are you aware of any special requirements or editing that need to be done
when using the resources with a CF application? I seem to recall that some
tweaking to the XML file was necessary when using Resourcer.

Flynn
 
G

Guest

Thanks again, Alex! =)

One last question. Does anyone know what the size of the card graphics in
pegcards.dll are (x, y)? I know the desktop cards.dll bitmaps are 71 x 96.
I'd like to have cards similar in size to the Solitaire game that comes with
the PPCs.

Flynn
 
G

Guest

Found the answer. The bitmaps are 29 x 41. I ended up copying the .dll from
the PPC 2002 emulator using eVB's File Viewer and processing it with a
program called ResThief. =)

Flynn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top