Click here to Skip to main content
15,894,720 members
Home / Discussions / C#
   

C#

 
QuestionDynamic Defination of class Pin
bidisha_tina16-Jan-06 18:35
bidisha_tina16-Jan-06 18:35 
AnswerRe: Dynamic Defination of class Pin
Christian Graus16-Jan-06 18:39
protectorChristian Graus16-Jan-06 18:39 
QuestionHow to use C# classes from other folders Pin
edel_ong16-Jan-06 18:30
edel_ong16-Jan-06 18:30 
AnswerRe: How to use C# classes from other folders Pin
Christian Graus16-Jan-06 18:40
protectorChristian Graus16-Jan-06 18:40 
GeneralRe: How to use C# classes from other folders Pin
edel_ong16-Jan-06 21:54
edel_ong16-Jan-06 21:54 
GeneralRe: How to use C# classes from other folders Pin
Drew McGhie17-Jan-06 4:27
Drew McGhie17-Jan-06 4:27 
GeneralRe: How to use C# classes from other folders Pin
Christian Graus17-Jan-06 9:10
protectorChristian Graus17-Jan-06 9:10 
QuestionNativeMethods Pin
Luis Alonso Ramos16-Jan-06 18:25
Luis Alonso Ramos16-Jan-06 18:25 
Hello,

I have a question I've been trying to answer and I just can't find anything. When I use an interop method, I know I must put it inside a NativeMethods class. I'm writing a little utility library for my company and I was wondering where should that NativeMethods class go: inside the class that uses it as a nested type, or only one globally for all classes that use any interop method in it?

By the way, can anyone explain to me what's the difference between SafeNativeMethods, UnsafeNativeMethods, and NativeMethods? I just don't understand what MSDN says.

-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!


The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005
AnswerRe: NativeMethods Pin
Hesham Desouky16-Jan-06 22:14
Hesham Desouky16-Jan-06 22:14 
GeneralRe: NativeMethods Pin
Luis Alonso Ramos17-Jan-06 4:32
Luis Alonso Ramos17-Jan-06 4:32 
QuestionHow to add a combo box in a datagrid column in vs 2003 Pin
Suraj R K16-Jan-06 18:21
Suraj R K16-Jan-06 18:21 
AnswerRe: How to add a combo box in a datagrid column in vs 2003 Pin
Christian Graus16-Jan-06 18:40
protectorChristian Graus16-Jan-06 18:40 
QuestionSecurity Settings for UserControl to Run In Web browser Pin
RizwanSharp16-Jan-06 17:56
RizwanSharp16-Jan-06 17:56 
QuestionCan I activate a remote object with specified culture? Pin
machocr16-Jan-06 14:53
machocr16-Jan-06 14:53 
QuestionSliding toolbar Pin
MAGrimsley16-Jan-06 14:33
MAGrimsley16-Jan-06 14:33 
AnswerRe: Sliding toolbar Pin
Suelinda_W31-Jan-06 9:19
Suelinda_W31-Jan-06 9:19 
QuestionString and Byte troubles Pin
Tom Wright16-Jan-06 10:39
Tom Wright16-Jan-06 10:39 
AnswerRe: String and Byte troubles Pin
Gerald Schwab16-Jan-06 11:09
Gerald Schwab16-Jan-06 11:09 
AnswerRe: String and Byte troubles Pin
Guffa16-Jan-06 11:17
Guffa16-Jan-06 11:17 
GeneralRe: String and Byte troubles Pin
Tom Wright16-Jan-06 11:26
Tom Wright16-Jan-06 11:26 
GeneralRe: String and Byte troubles Pin
Curtis Schlak.16-Jan-06 12:37
Curtis Schlak.16-Jan-06 12:37 
AnswerRe: String and Byte troubles Pin
Guffa16-Jan-06 12:50
Guffa16-Jan-06 12:50 
Questionhow can i make image layer Pin
ugurbil16-Jan-06 9:50
ugurbil16-Jan-06 9:50 
AnswerRe: how can i make image layer Pin
Christian Graus16-Jan-06 11:53
protectorChristian Graus16-Jan-06 11:53 
GeneralRe: how can i make image layer Pin
ugurbil18-Jan-06 2:32
ugurbil18-Jan-06 2:32 

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.