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

C#

 
AnswerRe: how to get window name of a specific application Pin
S. Senthil Kumar18-Feb-06 8:18
S. Senthil Kumar18-Feb-06 8:18 
QuestionHow to communicate with USB devices Pin
Bharath.rao17-Feb-06 22:59
Bharath.rao17-Feb-06 22:59 
AnswerRe: How to communicate with USB devices Pin
Curtis Schlak.18-Feb-06 2:05
Curtis Schlak.18-Feb-06 2:05 
Questionhow to debug attributes ? Pin
_Liron_17-Feb-06 22:53
_Liron_17-Feb-06 22:53 
QuestionDatatable is Sorted (Urgent) Pin
Roro Adel17-Feb-06 22:44
Roro Adel17-Feb-06 22:44 
AnswerRe: Datatable is Sorted (Urgent) Pin
Colin Angus Mackay18-Feb-06 0:00
Colin Angus Mackay18-Feb-06 0:00 
QuestionUnable to find Entry point in DLL Pin
emran83417-Feb-06 22:08
emran83417-Feb-06 22:08 
AnswerRe: Unable to find Entry point in DLL Pin
Bharath.rao17-Feb-06 22:31
Bharath.rao17-Feb-06 22:31 
If you want to call a method from .Net assebmly you dont have to use DllImport, you can juse use reflection (see System.Reflection namce space). Dllimport mainly used to interface with native dlls not .Net assebmly. For example if you want to open a file and get the file handle you may write something like

[DllImport("kernel32",CharSet=CharSet.Unicode,SetLastError=true)]
static extern unsafe int CreateFile(
string filename,
uint desiredAccess,
uint shareMode,
uint attributes,
uint creationDisposition,
uint flagsAndAttributes,
uint templateFile);

in your .Net code, and call this as like any other .Net methods.



Rao
GeneralRe: Unable to find Entry point in DLL Pin
emran83419-Feb-06 15:38
emran83419-Feb-06 15:38 
QuestionQuestion about table with Grid in C# Pin
Yanshof17-Feb-06 19:59
Yanshof17-Feb-06 19:59 
AnswerRe: Question about table with Grid in C# Pin
Rmokkenstorm19-Feb-06 20:42
Rmokkenstorm19-Feb-06 20:42 
QuestionWebsite tracking Pin
Makarand Mannur17-Feb-06 19:21
Makarand Mannur17-Feb-06 19:21 
QuestionAgile/Extreme Pin
fmardani17-Feb-06 19:14
fmardani17-Feb-06 19:14 
AnswerRe: Agile/Extreme Pin
Colin Angus Mackay18-Feb-06 0:02
Colin Angus Mackay18-Feb-06 0:02 
QuestionProblem in Drawing Pin
mynameatif17-Feb-06 18:39
mynameatif17-Feb-06 18:39 
AnswerRe: Problem in Drawing Pin
yoaz17-Feb-06 22:29
yoaz17-Feb-06 22:29 
QuestionStepping up! Pin
Princewill17-Feb-06 14:35
Princewill17-Feb-06 14:35 
AnswerRe: Sepping up! Pin
George L. Jackson17-Feb-06 14:38
George L. Jackson17-Feb-06 14:38 
AnswerRe: Stepping up! Pin
leppie17-Feb-06 16:29
leppie17-Feb-06 16:29 
QuestionSSH Question Pin
vipix0117-Feb-06 13:46
vipix0117-Feb-06 13:46 
AnswerRe: SSH Question Pin
Robert M Greene17-Feb-06 14:18
Robert M Greene17-Feb-06 14:18 
GeneralRe: SSH Question Pin
vipix0117-Feb-06 14:23
vipix0117-Feb-06 14:23 
QuestionUsing Crystal Reports Pin
TheJudeDude17-Feb-06 12:52
TheJudeDude17-Feb-06 12:52 
Question Total Posts: 1 Member Since: Jan 30, 2006 [C#] loading .pgm file within a Bitmap object Pin
Lawx0117-Feb-06 11:35
Lawx0117-Feb-06 11:35 
AnswerRe: Pin
CiNN17-Feb-06 14:50
CiNN17-Feb-06 14:50 

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.