Click here to Skip to main content
15,921,694 members
Home / Discussions / C#
   

C#

 
GeneralRe: mouse hover / mouse leave Pin
Heath Stewart27-Oct-04 14:08
protectorHeath Stewart27-Oct-04 14:08 
QuestionRAS API Wrapped in C#??? Pin
mrr26-Oct-04 5:57
mrr26-Oct-04 5:57 
AnswerRe: RAS API Wrapped in C#??? Pin
Heath Stewart26-Oct-04 7:03
protectorHeath Stewart26-Oct-04 7:03 
AnswerRe: RAS API Wrapped in C#??? Pin
Alex Korchemniy26-Oct-04 11:57
Alex Korchemniy26-Oct-04 11:57 
GeneralXmlElement.SetAttribute not working as expected Pin
Colin Angus Mackay26-Oct-04 5:10
Colin Angus Mackay26-Oct-04 5:10 
GeneralRe: XmlElement.SetAttribute not working as expected Pin
Heath Stewart26-Oct-04 7:00
protectorHeath Stewart26-Oct-04 7:00 
QuestionC++ header to .NET? Pin
hagay_ar26-Oct-04 4:44
hagay_ar26-Oct-04 4:44 
AnswerRe: C++ header to .NET? Pin
Heath Stewart26-Oct-04 6:23
protectorHeath Stewart26-Oct-04 6:23 
No, you must P/Invoke the functions and declare any constants and structs in managed code. It helps to know how unmanaged types map to managed types, like that an unmanaged long is a managed int (Int32) because they're both 32-bit integers.

Start be reading Consuming Unmanaged DLL Functions[^] and Marshaling Data with Platform Invoke[^].

Understand that C# does not use headers. In fact, pure Managed C++ doesn't need headers, either. Only when writing unmanaged applications in C++ or mixed-mode C++ (managed and unmanaged code) do you actually need headers (with regard to C++).

If you're looking for examples or signatures for common Win32 APIs (among a few others), take a look at http://pinvoke.net[^].

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralC# with some code in MFC Pin
ee9903526-Oct-04 4:40
ee9903526-Oct-04 4:40 
GeneralRe: C# with some code in MFC Pin
Judah Gabriel Himango26-Oct-04 5:20
sponsorJudah Gabriel Himango26-Oct-04 5:20 
GeneralRe: C# with some code in MFC Pin
Heath Stewart26-Oct-04 6:30
protectorHeath Stewart26-Oct-04 6:30 
GeneralSleep function in C# Pin
Ariadne26-Oct-04 4:16
Ariadne26-Oct-04 4:16 
GeneralRe: Sleep function in C# Pin
Judah Gabriel Himango26-Oct-04 4:24
sponsorJudah Gabriel Himango26-Oct-04 4:24 
GeneralRe: Sleep function in C# Pin
Gary Thom26-Oct-04 4:29
Gary Thom26-Oct-04 4:29 
GeneralSending Messages between Networked Computers. Pin
acidik26-Oct-04 3:29
acidik26-Oct-04 3:29 
GeneralPlus: Error message when adding a MessageQueue control... Pin
acidik26-Oct-04 4:18
acidik26-Oct-04 4:18 
GeneralRe: Sending Messages between Networked Computers. Pin
Judah Gabriel Himango26-Oct-04 4:31
sponsorJudah Gabriel Himango26-Oct-04 4:31 
GeneralRe: Sending Messages between Networked Computers. Pin
Heath Stewart26-Oct-04 6:39
protectorHeath Stewart26-Oct-04 6:39 
GeneralRe: Sending Messages between Networked Computers. Pin
Judah Gabriel Himango26-Oct-04 8:47
sponsorJudah Gabriel Himango26-Oct-04 8:47 
GeneralRe: Sending Messages between Networked Computers. Pin
Dave Kreskowiak26-Oct-04 4:48
mveDave Kreskowiak26-Oct-04 4:48 
GeneralRe: Sending Messages between Networked Computers. Pin
S. Senthil Kumar26-Oct-04 6:28
S. Senthil Kumar26-Oct-04 6:28 
GeneralRe: Sending Messages between Networked Computers. Pin
ppp00114-Aug-05 23:43
ppp00114-Aug-05 23:43 
QuestionOpen HTML page in Window application? Pin
Miri Ofir26-Oct-04 3:09
Miri Ofir26-Oct-04 3:09 
AnswerRe: Open HTML page in Window application? Pin
Judah Gabriel Himango26-Oct-04 4:34
sponsorJudah Gabriel Himango26-Oct-04 4:34 
GeneralRe: Open HTML page in Window application? Pin
Miri Ofir30-Oct-04 19:52
Miri Ofir30-Oct-04 19:52 

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.