cardgames.dll

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Does anyone knows how to use the CardGames.dll (\system32\CardGames.dll) in
..Net? I'm trying to make a card game, but I don't know how to use this .dll
file.

I would be happy for any reply.
 
It is either a COM DLL, which will require COM Interop, or a native DLL,
which will require some form of P/Invoke. I would not imagine this is going
to be pretty no matter which of these it is. :-)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************
 
Thank you for your reply!

I'm not sure of the difference between a native DLL or COM DLL, but I think
it's a native DLL. I've extracted some JPGs, BMPs and XLs from the file, but
I'm not sure how to make it work... So, is there another, more pretty way, to
make the highlighting effect - as in Windows Vista Solitaire - perhaps?


//Robert
 
I'm sure there are function calls in the dll to perform what you're looking
for. The problem I find is that I need to use the Runtime.InteropServices
namespace to load the dll using the Declare statement (VB.NET, in my case).
But therein lies the problem. Without an API specification, I don't know the
entry points into the DLL. If I were able to use reflection to peek at the
DLL, it wouldn't be a problem, but since CardGames.dll is native, unmanaged
code, there is no manifest for the Reflection namespace to load the assembly.

I'm curious... What did you use to pull out the items you were able to get?

-Jason
 
OpticTygre said:
I'm sure there are function calls in the dll to perform what you're
looking
for. The problem I find is that I need to use the Runtime.InteropServices
namespace to load the dll using the Declare statement (VB.NET, in my
case).
But therein lies the problem. Without an API specification, I don't know
the
entry points into the DLL. If I were able to use reflection to peek at
the
DLL, it wouldn't be a problem, but since CardGames.dll is native,
unmanaged
code, there is no manifest for the Reflection namespace to load the
assembly.

I'm curious... What did you use to pull out the items you were able to
get?

-Jason


There used to be a utility (I think it came with the DirectX SDK, but I may
be wrong) that would let you point to a dll and it would list out all the
funtions in the dll and their entry points. Unfortunately, I'm drawing a
blank on the name right now.

Hopefully, someone here will be able to point you toward it.

Todd
 
There used to be a utility (I think it came with the DirectX SDK, but I
may be wrong) that would let you point to a dll and it would list out all
the funtions in the dll and their entry points. Unfortunately, I'm drawing
a blank on the name right now.

Hopefully, someone here will be able to point you toward it.

Might that be the Dependency Walker - "Depends"?
 
Jeff Gaines said:
Might that be the Dependency Walker - "Depends"?


I think you're right. i think it was Dependency Walker. I wonder...Is it
still available for download anywhere?

Todd
 
Back
Top