Click here to Skip to main content
15,902,782 members
Home / Discussions / C#
   

C#

 
GeneralRe: Compile error, help! Pin
Peter Stephens24-Feb-02 11:43
Peter Stephens24-Feb-02 11:43 
GeneralChanging value of all TextBoxes Pin
Gavin_Mannion21-Feb-02 22:59
Gavin_Mannion21-Feb-02 22:59 
GeneralRe: Changing value of all TextBoxes Pin
SimonS21-Feb-02 23:07
SimonS21-Feb-02 23:07 
GeneralRe: Changing value of all TextBoxes Pin
Gavin_Mannion21-Feb-02 23:26
Gavin_Mannion21-Feb-02 23:26 
GeneralRe: Changing value of all TextBoxes Pin
James T. Johnson22-Feb-02 7:27
James T. Johnson22-Feb-02 7:27 
GeneralRe: Changing value of all TextBoxes Pin
SimonS25-Feb-02 0:14
SimonS25-Feb-02 0:14 
QuestionHow to Chnage the Default Select bgcolor of the TreeView item Pin
Welson21-Feb-02 16:05
Welson21-Feb-02 16:05 
QuestionHow do you create an object from a C++ DLL in C# Pin
21-Feb-02 14:05
suss21-Feb-02 14:05 
Hi,

I have a c++ DLL it contains a class called MyClass with methods GetName and SetName.

[DllImport("MyClass.dll")]
public static extern void GetName( string name);


This doesn't work because I need to instanciate the class.

How do I declare the class and methods within the class?

Then how do I instancial the class and call the method?

Thanks

Mike

AnswerRe: How do you create an object from a C++ DLL in C# Pin
Nemanja Trifunovic21-Feb-02 14:52
Nemanja Trifunovic21-Feb-02 14:52 
GeneralPlaying sounds through c# Pin
Profox Jase21-Feb-02 4:57
Profox Jase21-Feb-02 4:57 
GeneralRe: Playing sounds through c# Pin
21-Feb-02 7:22
suss21-Feb-02 7:22 
GeneralRe: Playing sounds through c# Pin
Peter Stephens21-Feb-02 7:42
Peter Stephens21-Feb-02 7:42 
GeneralRe: Playing sounds through c# Pin
Profox Jase21-Feb-02 9:38
Profox Jase21-Feb-02 9:38 
GeneralRe: Playing sounds through c# Pin
Peter Stephens21-Feb-02 9:56
Peter Stephens21-Feb-02 9:56 
GeneralRe: Playing sounds through c# Pin
Profox Jase21-Feb-02 9:36
Profox Jase21-Feb-02 9:36 
GeneralRe: Playing sounds through c# Pin
Profox Jase22-Feb-02 0:37
Profox Jase22-Feb-02 0:37 
GeneralRe: Playing sounds through c# Pin
22-Feb-02 3:35
suss22-Feb-02 3:35 
GeneralRe: Playing sounds through c# Pin
Peter Stephens22-Feb-02 7:48
Peter Stephens22-Feb-02 7:48 
GeneralRe: Playing sounds through c# Pin
Profox Jase25-Feb-02 5:25
Profox Jase25-Feb-02 5:25 
GeneralDropDownList in C# Application Pin
Gavin_Mannion20-Feb-02 23:10
Gavin_Mannion20-Feb-02 23:10 
GeneralRe: DropDownList in C# Application Pin
Christopher Lord20-Feb-02 23:38
Christopher Lord20-Feb-02 23:38 
GeneralRe: DropDownList in C# Application Pin
Gavin_Mannion21-Feb-02 0:50
Gavin_Mannion21-Feb-02 0:50 
GeneralRe: DropDownList in C# Application Pin
SimonS21-Feb-02 22:45
SimonS21-Feb-02 22:45 
GeneralRe: DropDownList in C# Application Pin
Gavin_Mannion21-Feb-02 22:53
Gavin_Mannion21-Feb-02 22:53 
GeneralRe: DropDownList in C# Application Pin
SimonS21-Feb-02 22:59
SimonS21-Feb-02 22:59 

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.