Click here to Skip to main content
15,892,517 members
Home / Discussions / C#
   

C#

 
GeneralRe: Monitoring "notepad.exe" process Pin
Emilio Guijarro19-May-03 6:58
Emilio Guijarro19-May-03 6:58 
QuestionHow to programmatically cause a button click? Pin
jmelgar18-May-03 8:28
jmelgar18-May-03 8:28 
AnswerRe: How to programmatically cause a button click? Pin
Mike_V18-May-03 11:19
Mike_V18-May-03 11:19 
AnswerRe: How to programmatically cause a button click? Pin
Vasudevan Deepak Kumar19-May-03 0:05
Vasudevan Deepak Kumar19-May-03 0:05 
GeneralGetProcAddress and P/Invoke Pin
Mike_V18-May-03 4:49
Mike_V18-May-03 4:49 
GeneralRe: GetProcAddress and P/Invoke Pin
leppie18-May-03 6:31
leppie18-May-03 6:31 
GeneralRe: GetProcAddress and P/Invoke Pin
Mike_V18-May-03 9:18
Mike_V18-May-03 9:18 
GeneralRe: GetProcAddress and P/Invoke Pin
leppie18-May-03 10:19
leppie18-May-03 10:19 
Mike_V wrote:
I cannot use the [DllImport] attribute, because then my program will not load on Win9X/2000. So first I need to check if the DLL is present, and if it is, then call GetProcAddress to load in the proper function pointers.

Why wont it load? It wont work if you use those functions, but you are gonna check anyways... I dont see the point of using GetProcAddress here. Perhaps you dont realize DllImport does not link the dll, it searches for it only when you invoke the function (or maybe a class that exposes it, but then dont instantiate that).

<a TITLE="See my user info" href=http://www.codeproject.com/script/profile/whos_who.asp?id=38829>leppie<a>::<a TITLE="Go to all articles  written by me" href=http://www.codeproject.com/script/articles/list_articles.asp?userid=38829>AllocCPArticle</a>(<a TITLE="Go to my latest, greatest article!" href=http://www.codeproject.com/useritems/dfamachine.asp >Generic DFA State Machine for .NET</a>);

GeneralRe: GetProcAddress and P/Invoke Pin
Mike_V18-May-03 11:17
Mike_V18-May-03 11:17 
GeneralRe: GetProcAddress and P/Invoke Pin
leppie18-May-03 11:31
leppie18-May-03 11:31 
GeneralRe: GetProcAddress and P/Invoke Pin
Bo Hunter19-May-03 10:24
Bo Hunter19-May-03 10:24 
GeneralRe: GetProcAddress and P/Invoke Pin
Mike_V21-May-03 3:01
Mike_V21-May-03 3:01 
GeneralWho can tell me how to use &quot;event &amp; delegate&quot; Pin
llk9881116unicorn18-May-03 3:23
llk9881116unicorn18-May-03 3:23 
GeneralRe: Who can tell me how to use &quot;event &amp; delegate&quot; Pin
leppie18-May-03 6:38
leppie18-May-03 6:38 
QuestionSort a DataTable?? Pin
Roger Alsing17-May-03 12:19
Roger Alsing17-May-03 12:19 
Generaladding more slots to an array after initialization... Pin
Anonymous17-May-03 8:57
Anonymous17-May-03 8:57 
GeneralRe: adding more slots to an array after initialization... Pin
leppie17-May-03 9:32
leppie17-May-03 9:32 
GeneralRe: adding more slots to an array after initialization... Pin
Anonymous17-May-03 10:45
Anonymous17-May-03 10:45 
GeneralRe: adding more slots to an array after initialization... Pin
Wesner Moise17-May-03 18:40
Wesner Moise17-May-03 18:40 
GeneralRe: adding more slots to an array after initialization... Pin
leppie17-May-03 23:37
leppie17-May-03 23:37 
GeneralRe: adding more slots to an array after initialization... Pin
leppie17-May-03 23:41
leppie17-May-03 23:41 
GeneralRe: adding more slots to an array after initialization... Pin
Wesner Moise18-May-03 8:47
Wesner Moise18-May-03 8:47 
GeneralRegionData format Pin
Wizard_0117-May-03 6:50
Wizard_0117-May-03 6:50 
GeneralRe: RegionData format Pin
Nick Parker17-May-03 7:38
protectorNick Parker17-May-03 7:38 
QuestionHow to save a bitmap Pin
PrebKlok16-May-03 20:32
PrebKlok16-May-03 20: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.