Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: XNA4.0
I have a compile error said that GraphicDevice.present(IntPtr)doesn't has one parameter Please can help me I want to draw an animation in a panel in form
and I don't know how to use GraphicDevice.present(Nullable,Nullable,IntPtr)
thank you very much
Posted 25-Dec-11 3:04am
rand m342
Comments
SAKryukov at 25-Dec-11 13:35pm
   
Not a question. Nothing to talk about. You would need to explain what you want to achieve, what did you try, what the problem, etc.
--SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You complain is that there is no GraphicDevice.Present(IntPtr). There is no such method as GraphicDevice.Present(Nullable,Nullable,IntPtr). Your question shows, the problem is not that you don't know how to use one or another method. Your problems is that you don't understand language which could possibly explain to you how to do things. You failed to interpret and even remotely understand what the MSDN help page tells you: http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.graphicsdevice.present.aspx[^].
 
In this situation, further help would look, well… pretty helpless. What, shall we teach you the language, basic ideas of CLR or something like that? This would go far beyond normal help via Quick Questions & Answers.
 
You first need to get some understanding of C#, basics of CLR, etc. Even that looks a bit questionable. Anyway, it's too early for you to get to UI. You need to learn some elementary notions and techniques, including OOP and generics, perhaps on simple console-application examples. You would need to grab some manual and read it with understanding.
 
When you feel comfortable, come back; we will gladly help you.
 
—SA
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 406
1 /\jmot 180
2 Suraj Sahoo | Coding Passion 170
3 Afzaal Ahmad Zeeshan 159
4 BillWoodruff 154
0 OriginalGriff 8,344
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,634
3 Maciej Los 5,024
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 25 Dec 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100