Jump to content
  • Advertisement
Sign in to follow this  
Talib

Something wrong with my implementation of cards.dll ... pls help

This topic is 4730 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I went and stripped my code to bare bones and yet my major bug is still there. Now I believe it is my implementation of cards.dll that is wrong. Yet I cannot see where my problem is located. here is the bare bones source I would appreciate those that have better skills than me look and see what is wrong. BTW here is the bug: If you click and drag the card repeatedly after a while (a couple of minutes) it refuses to draw the card. I have no idea why. I opened my resource meter and it looks like the memory is slowly being eaten up by something. I have no idea what. - Don't worry about the flickering or tearing or how bad it looks, those have all been sorted out in the complete game. Thanks for all the help Talib

Share this post


Link to post
Share on other sites
Advertisement
There is a click in my previous post "source", or you could go to http://home.mweb.co.za/pr/pringled/CardTest.zip

Share this post


Link to post
Share on other sites
you have this code :

cdtDraw = (pfcdtDraw) GetProcAddress(hDLL, "cdtDraw");
....

and i don't see any implementation of cdtDraw in the code.
can u tell me where i can find it?

Share this post


Link to post
Share on other sites
I think i explain myself very badly. I looked at your code, but i don't see the implementation of the dll anywhere.
I mean u load the dll at one stage, but what i need is the dll source code :)
without i can't do anything i guess.

Share this post


Link to post
Share on other sites
Well, unless you ask Microsoft to give it to you ... I think it's gonna be a problem. See cards.dll is shipped every version on windows. I don't have the code.

Share this post


Link to post
Share on other sites
@t3hmatr1x: You obviously don't understand. cards.dll is a file included with windows to handle drawing for the card games.

Share this post


Link to post
Share on other sites
[imwithstupid]So what you really mean is that you think that your usage of cards.dll is wrong, not your implementation of it, as clearly you didn't implement it.
That was very misleading.[wow]

Drat, I've run out of time to look at it now, maybe later.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!