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

C#

 
General'TANK_2.Images.Images()': access modifiers are not allowed on static constructors Pin
Jordanwb27-Feb-08 9:00
Jordanwb27-Feb-08 9:00 
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 
Good day

I'm making a backgroundprocess that works as an addon for programs that actually don't support addons. It uses GDI+, and a global keyboard hook, to make the addon work. Now my problem is that I don't really know how to make my render loop. Normally I'd do something that interacts with Application.Idle, and keep on checking if the application is idle by using the Win32 API function PeekMessage and things, but that's when I want a render loop for my own program.

Now I actually have to decide when to render for another program. And I don't think I can retrieve in any way when should be the best moment to render for another program. It's not an application though, it's a game, so it has a continuous render loop. So maybe I can just decide for myself when to render? But how would I do that? I never actually really made a good render loop. When I made a game it was the XNA Framework doing it, and if I made an application with a render window or so, it was with the Application.Idle etc.

Thanks in advance.
GeneralRe: Render loop for other process Pin
Dave Kreskowiak27-Feb-08 10:07
mveDave Kreskowiak27-Feb-08 10:07 
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 

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.