473,503 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cardgames.dll

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.
Jul 16 '07 #1
6 5901
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" <Ro****@discussions.microsoft.comwrote in message
news:48**********************************@microsof t.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.

Jul 16 '07 #2
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" <Ro****@discussions.microsoft.comwrote in message
news:48**********************************@microsof t.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.


Jul 16 '07 #3
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" <Ro****@discussions.microsoft.comwrote in message
news:48**********************************@microsof t.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.
Sep 15 '07 #4
"OpticTygre" <Op********@discussions.microsoft.comwrote in message
news:D5**********************************@microsof t.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

Oct 13 '07 #5
On 13/10/2007 in message
<8C**********************************@microsoft.co mTodd 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
Oct 13 '07 #6
"Jeff Gaines" <wh*********@newsgroups.nospamwrote in message
news:xn***************@msnews.microsoft.com...
On 13/10/2007 in message
<8C**********************************@microsoft.co mTodd 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

Oct 14 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2245
by: Pjotr Wedersteers | last post by:
Does anyone know how one can get values from the on-chip random device on modern Intel processors using PHP ? I am using a windows (XP) based system, PHP 4.3.8 TIA Pjotr
4
1652
by: Cor | last post by:
Do you guys know if there is a program that can generate bridge moves? I recently wrote a bridge game but its only 4 player... I deceided it was too difficult to come up with the logic for the AI...
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7291
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7012
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.