cardgames.dll

cardgames.dll

am 16.07.2007 21:06:04 von Robert

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.

Re: cardgames.dll

am 16.07.2007 21:16:39 von NoSpamMgbworld

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!
************************************************
"Robert" wrote in message
news:4808DAD7-4922-4EBF-B8A3-1B2661D34145@microsoft.com...
> 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.

Re: cardgames.dll

am 16.07.2007 21:42:07 von Robert

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

"Cowboy (Gregory A. Beamer)" wrote:

> 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!
> ************************************************
> "Robert" wrote in message
> news:4808DAD7-4922-4EBF-B8A3-1B2661D34145@microsoft.com...
> > 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.
>
>
>

Re: cardgames.dll

am 15.09.2007 02:54:01 von OpticTygre

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

"Robert" wrote:

> 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
>
> "Cowboy (Gregory A. Beamer)" wrote:
>
> > 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!
> > ************************************************
> > "Robert" wrote in message
> > news:4808DAD7-4922-4EBF-B8A3-1B2661D34145@microsoft.com...
> > > 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.
> >
> >
> >

Re: cardgames.dll

am 13.10.2007 02:19:41 von Todd Carnes

"OpticTygre" wrote in message
news:D566D5E9-2DDC-4FFF-80DA-815C2B12303F@microsoft.com...
> 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

Re: cardgames.dll

am 13.10.2007 10:58:25 von Jeff Gaines

On 13/10/2007 in message
<8C4F5A74-4CD9-4CF4-8C9E-B50EB7AE61B6@microsoft.com> Todd Carnes wrote:

>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

Re: cardgames.dll

am 14.10.2007 17:59:34 von Todd Carnes

"Jeff Gaines" wrote in message
news:xn0fce9fwsukt0001@msnews.microsoft.com...
> On 13/10/2007 in message
> <8C4F5A74-4CD9-4CF4-8C9E-B50EB7AE61B6@microsoft.com> Todd Carnes wrote:
>
>>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
>


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

Todd