Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: 'TANK_2.Images.Images()': access modifiers are not allowed on static constructors Pin
Christian Graus27-Feb-08 9:01
protectorChristian Graus27-Feb-08 9:01 
GeneralRe: 'TANK_2.Images.Images()': access modifiers are not allowed on static constructors Pin
Jordanwb27-Feb-08 9:04
Jordanwb27-Feb-08 9:04 
GeneralRe: 'TANK_2.Images.Images()': access modifiers are not allowed on static constructors Pin
Christian Graus27-Feb-08 9:33
protectorChristian Graus27-Feb-08 9:33 
GeneralWebServices and singleton pattern Pin
yarns27-Feb-08 8:34
yarns27-Feb-08 8:34 
GeneralRe: WebServices and singleton pattern Pin
led mike27-Feb-08 8:49
led mike27-Feb-08 8:49 
GeneralRe: WebServices and singleton pattern Pin
yarns27-Feb-08 8:51
yarns27-Feb-08 8:51 
GeneralRender loop for other process Pin
Jitse27-Feb-08 8:24
Jitse27-Feb-08 8:24 
GeneralRe: Render loop for other process Pin
Dave Kreskowiak27-Feb-08 10:07
mveDave Kreskowiak27-Feb-08 10:07 
Depending on how the other game draws itself, you're probably wasting your time. If the other game redraws itself continuously, as do just about every DirectX game out there, then anything you draw on the target form will immediately be overdrawn by the game. At best, your code will have to draw its stuff at the same framerate as the game is drawing (which is usually variable!), and you'll still end up with a horrible flicker that you can't get rid of.

Why? Because your code has no access to the drawing buffer in the game. What you see is two buffers, one is visible that the player see, and the other is behind the scenes, being used to draw the next frame. What that frame is complete, the "pages" are flipped. The newly rendered frame is drawn to the screen and the old buffer is used to render the next frame.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: Render loop for other process Pin
Jitse28-Feb-08 3:47
Jitse28-Feb-08 3:47 
GeneralRe: Render loop for other process Pin
Dave Kreskowiak28-Feb-08 14:44
mveDave Kreskowiak28-Feb-08 14:44 
GeneralRe: Render loop for other process Pin
Jitse29-Feb-08 9:33
Jitse29-Feb-08 9:33 
GeneralRe: Render loop for other process Pin
Dave Kreskowiak29-Feb-08 18:28
mveDave Kreskowiak29-Feb-08 18:28 
GeneralRe: Render loop for other process Pin
Jitse1-Mar-08 2:10
Jitse1-Mar-08 2:10 
GeneralRe: Render loop for other process Pin
Dave Kreskowiak1-Mar-08 14:45
mveDave Kreskowiak1-Mar-08 14:45 
GeneralRe: Render loop for other process Pin
Jitse2-Mar-08 2:23
Jitse2-Mar-08 2:23 
QuestionUsing System.Reflection to walk values in an array??? Pin
LongRange.Shooter27-Feb-08 8:08
LongRange.Shooter27-Feb-08 8:08 
GeneralRe: Using System.Reflection to walk values in an array??? Pin
buchstaben27-Feb-08 8:18
buchstaben27-Feb-08 8:18 
GeneralRe: Using System.Reflection to walk values in an array??? Pin
LongRange.Shooter27-Feb-08 8:32
LongRange.Shooter27-Feb-08 8:32 
GeneralRe: Using System.Reflection to walk values in an array??? Pin
buchstaben27-Feb-08 8:42
buchstaben27-Feb-08 8:42 
GeneralRe: Using System.Reflection to walk values in an array??? Pin
LongRange.Shooter27-Feb-08 12:15
LongRange.Shooter27-Feb-08 12:15 
Generalvs 2003 debugger issue Pin
robustm27-Feb-08 7:53
robustm27-Feb-08 7:53 
AnswerRe: vs 2003 debugger issue Pin
buchstaben27-Feb-08 7:59
buchstaben27-Feb-08 7:59 
GeneralSystem.io.Directory.GetFiles Pin
George Luttrell27-Feb-08 7:45
George Luttrell27-Feb-08 7:45 
GeneralRe: System.io.Directory.GetFiles Pin
buchstaben27-Feb-08 7:51
buchstaben27-Feb-08 7:51 
GeneralRe: System.io.Directory.GetFiles Pin
George Luttrell28-Feb-08 3:43
George Luttrell28-Feb-08 3:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.