Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is C# compiler multi-core aware? Pin
Richard Deeming7-Dec-10 8:41
mveRichard Deeming7-Dec-10 8:41 
Questionemail from windows service Pin
arkiboys6-Dec-10 0:20
arkiboys6-Dec-10 0:20 
AnswerRe: email from windows service Pin
Pete O'Hanlon6-Dec-10 0:27
mvePete O'Hanlon6-Dec-10 0:27 
AnswerRe: email from windows service Pin
PIEBALDconsult6-Dec-10 2:29
mvePIEBALDconsult6-Dec-10 2:29 
QuestionDataBinding - CLR properties vs DependencyProperties Pin
devvvy5-Dec-10 23:07
devvvy5-Dec-10 23:07 
AnswerRe: DataBinding - CLR properties vs DependencyProperties Pin
Pete O'Hanlon5-Dec-10 23:54
mvePete O'Hanlon5-Dec-10 23:54 
QuestionTFS - Profile dotnet dll Pin
devvvy5-Dec-10 23:04
devvvy5-Dec-10 23:04 
Questionhow to detect display type : CRT or LCD ? [modified] Pin
scoket5-Dec-10 21:59
scoket5-Dec-10 21:59 
i use VS2005(C#2.0) and OS is Winxp.
i find some code like this:

[DllImport("dxva2.dll", EntryPoint = "GetMonitorTechnologyType", SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool GetMonitorTechnologyType(
IntPtr hMonitor, ref NativeStructures.MC_DISPLAY_TECHNOLOGY_TYPE pdtyDisplayTechnologyType);
but i don't know how use it to get the local machine's monitor type.
Thank you!!!

modified on Monday, December 6, 2010 4:42 AM

AnswerRe: how to detect display type : CRT or LCD ? Pin
OriginalGriff5-Dec-10 22:19
mveOriginalGriff5-Dec-10 22:19 
GeneralRe: how to detect display type : CRT or LCD ? Pin
scoket5-Dec-10 22:39
scoket5-Dec-10 22:39 
GeneralRe: how to detect display type : CRT or LCD ? Pin
fjdiewornncalwe6-Dec-10 1:44
professionalfjdiewornncalwe6-Dec-10 1:44 
AnswerRe: how to detect display type : CRT or LCD ? Pin
Eddy Vluggen5-Dec-10 22:30
professionalEddy Vluggen5-Dec-10 22:30 
GeneralRe: how to detect display type : CRT or LCD ? Pin
scoket5-Dec-10 22:41
scoket5-Dec-10 22:41 
QuestionSend SMS Pin
anishkannan5-Dec-10 20:30
anishkannan5-Dec-10 20:30 
AnswerRe: Send SMS Pin
Luc Pattyn5-Dec-10 21:26
sitebuilderLuc Pattyn5-Dec-10 21:26 
AnswerRe: Send SMS Pin
db7uk6-Dec-10 23:25
db7uk6-Dec-10 23:25 
QuestionEvents in Interfaces Pin
Richard Andrew x645-Dec-10 15:38
professionalRichard Andrew x645-Dec-10 15:38 
AnswerRe: Events in Interfaces Pin
Not Active5-Dec-10 16:30
mentorNot Active5-Dec-10 16:30 
GeneralRe: Events in Interfaces Pin
Richard Andrew x645-Dec-10 16:34
professionalRichard Andrew x645-Dec-10 16:34 
Questionevents between two threads Pin
igalep1325-Dec-10 8:03
igalep1325-Dec-10 8:03 
AnswerRe: events between two threads Pin
Luc Pattyn5-Dec-10 8:45
sitebuilderLuc Pattyn5-Dec-10 8:45 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 8:55
igalep1325-Dec-10 8:55 
GeneralRe: events between two threads Pin
Luc Pattyn5-Dec-10 9:42
sitebuilderLuc Pattyn5-Dec-10 9:42 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 9:48
igalep1325-Dec-10 9:48 
GeneralRe: events between two threads Pin
Luc Pattyn5-Dec-10 9:57
sitebuilderLuc Pattyn5-Dec-10 9:57 

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.