Click here to Skip to main content
15,900,906 members
Home / Discussions / C#
   

C#

 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
Steve-Co27-Aug-09 2:22
Steve-Co27-Aug-09 2:22 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
stancrm27-Aug-09 2:34
stancrm27-Aug-09 2:34 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
Steve-Co27-Aug-09 3:12
Steve-Co27-Aug-09 3:12 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
stancrm27-Aug-09 3:18
stancrm27-Aug-09 3:18 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
Steve-Co27-Aug-09 3:26
Steve-Co27-Aug-09 3:26 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
stancrm27-Aug-09 3:46
stancrm27-Aug-09 3:46 
QuestionTaking screenshot from a DX game Pin
SimpleData27-Aug-09 1:43
SimpleData27-Aug-09 1:43 
AnswerRe: Taking screenshot from a DX game Pin
Dave Kreskowiak27-Aug-09 3:49
mveDave Kreskowiak27-Aug-09 3:49 
SimpleData wrote:
without using SlimDX (and other external libraries needed to be installed). But an external DLL is OK.


This is a contradictory statement. Each of these libraries IS an external .DLL. So, which is it?? Use an external library or not?? If not, they you've pretty much hung yourself.

The reason why you're getting black screens is because you're using GDI+ to grab the screenshot. DirectX doesn't use GDI at all to draw it's graphics, so that's why you get black screens. You're taking a snapshot of the display buffer Windows maintains, but DirectX does draw to this buffer. It draws directly to the video frame buffer, bypassing Windows and GDI.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: Taking screenshot from a DX game Pin
SimpleData27-Aug-09 3:56
SimpleData27-Aug-09 3:56 
GeneralRe: Taking screenshot from a DX game Pin
Dave Kreskowiak27-Aug-09 12:46
mveDave Kreskowiak27-Aug-09 12:46 
QuestionAccess RS-232 in C# using VISA Pin
Member 637782627-Aug-09 1:34
Member 637782627-Aug-09 1:34 
AnswerRe: Access RS-232 in C# using VISA Pin
stancrm27-Aug-09 1:46
stancrm27-Aug-09 1:46 
AnswerRe: Access RS-232 in C# using VISA Pin
Alan N27-Aug-09 2:21
Alan N27-Aug-09 2:21 
GeneralRe: Access RS-232 in C# using VISA Pin
Member 637782627-Aug-09 4:04
Member 637782627-Aug-09 4:04 
GeneralRe: Access RS-232 in C# using VISA Pin
zafersavas27-Aug-09 9:12
zafersavas27-Aug-09 9:12 
QuestionRetaining focus after postback Pin
rcampbell1227-Aug-09 1:25
rcampbell1227-Aug-09 1:25 
AnswerRe: Retaining focus after postback Pin
EliottA27-Aug-09 2:57
EliottA27-Aug-09 2:57 
GeneralRe: Retaining focus after postback Pin
rcampbell1227-Aug-09 6:02
rcampbell1227-Aug-09 6:02 
Questionglobalizatin Pin
Rekha Achariya27-Aug-09 0:53
Rekha Achariya27-Aug-09 0:53 
AnswerRe: globalizatin Pin
Henry Minute27-Aug-09 1:01
Henry Minute27-Aug-09 1:01 
JokeRe: globalizatin Pin
kKamel27-Aug-09 1:03
kKamel27-Aug-09 1:03 
JokeRe: globalizatin Pin
Arun Jacob27-Aug-09 1:06
Arun Jacob27-Aug-09 1:06 
AnswerRe: globalizatin Pin
Arun Jacob27-Aug-09 1:04
Arun Jacob27-Aug-09 1:04 
AnswerRe: globalizatin Pin
Trapper-Hell27-Aug-09 1:14
Trapper-Hell27-Aug-09 1:14 
AnswerRe: globalizatin Pin
Rajesh R Subramanian27-Aug-09 4:44
professionalRajesh R Subramanian27-Aug-09 4:44 

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.