Click here to Skip to main content
15,923,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: Userdefined messages Pin
Kannan Kalyanaraman20-May-03 1:43
Kannan Kalyanaraman20-May-03 1:43 
GeneralRe: Userdefined messages Pin
Bo Hunter20-May-03 1:50
Bo Hunter20-May-03 1:50 
GeneralRe: Userdefined messages Pin
Kannan Kalyanaraman20-May-03 2:03
Kannan Kalyanaraman20-May-03 2:03 
GeneralPreviewControl - How to play Audio/Video files in C# Pin
Jonas Follesø18-May-03 23:15
Jonas Follesø18-May-03 23:15 
GeneralRe: PreviewControl - How to play Audio/Video files in C# Pin
Oyvind Bratland18-May-03 23:51
Oyvind Bratland18-May-03 23:51 
GeneralRe: DirectX, issues... Pin
Jonas Follesø19-May-03 0:01
Jonas Follesø19-May-03 0:01 
GeneralRe: DirectX, issues... Pin
Oyvind Bratland19-May-03 0:23
Oyvind Bratland19-May-03 0:23 
GeneralRe: DirectX, issues... Pin
Jonas Follesø19-May-03 0:48
Jonas Follesø19-May-03 0:48 
GeneralRe: DirectX, issues... Pin
Oyvind Bratland19-May-03 0:55
Oyvind Bratland19-May-03 0:55 
Generalfile transfer between ip addresses Pin
cmsamfe18-May-03 23:12
cmsamfe18-May-03 23:12 
GeneralRe: file transfer between ip addresses Pin
MrEyes19-May-03 5:00
MrEyes19-May-03 5:00 
GeneralToolbar gripper Pin
neo_the_118-May-03 22:57
neo_the_118-May-03 22:57 
GeneralRe: Toolbar gripper Pin
Vasudevan Deepak Kumar19-May-03 0:06
Vasudevan Deepak Kumar19-May-03 0:06 
GeneralURLDownloadToFile fails (???) on 1 site Pin
GriffonRL18-May-03 22:42
GriffonRL18-May-03 22:42 
GeneralMonitoring "notepad.exe" process Pin
eggie518-May-03 9:44
eggie518-May-03 9:44 
GeneralRe: Monitoring "notepad.exe" process Pin
Mike_V18-May-03 12:09
Mike_V18-May-03 12:09 
GeneralRe: Monitoring "notepad.exe" process Pin
eggie518-May-03 12:50
eggie518-May-03 12:50 
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>);

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.