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

C#

 
QuestionResponse of the FTP server Pin
abbd11-Sep-11 12:46
abbd11-Sep-11 12:46 
AnswerRe: Response of the FTP server Pin
BobJanova11-Sep-11 22:20
BobJanova11-Sep-11 22:20 
Questionhow i can read cell value when i move up and down with the arrows key in datagridview Pin
goldsoft10-Sep-11 22:32
goldsoft10-Sep-11 22:32 
AnswerRe: how i can read cell value when i move up and down with the arrows key in datagridview Pin
Luc Pattyn11-Sep-11 1:03
sitebuilderLuc Pattyn11-Sep-11 1:03 
QuestionWMPlayer Dll Import Question Pin
sepAlmSep9-Sep-11 20:13
sepAlmSep9-Sep-11 20:13 
AnswerRe: WMPlayer Dll Import Question Pin
Saksida Bojan9-Sep-11 23:21
Saksida Bojan9-Sep-11 23:21 
GeneralRe: WMPlayer Dll Import Question Pin
sepAlmSep10-Sep-11 2:28
sepAlmSep10-Sep-11 2:28 
AnswerRe: WMPlayer Dll Import Question Pin
Luc Pattyn10-Sep-11 4:35
sitebuilderLuc Pattyn10-Sep-11 4:35 
I don't know the entire answer, however this much I can tell you:

1.
wmp.dll contains native code, hence it can't go into the GAC. Either it holds COM components (which I don't know much about), or it requires P/Invoke to call individual functions (which I have descibed to some length here[^]). And I do expect it to be COM.

2.
If you use P/Invoke (which also means you don't "Add Reference"), the DLL is located in the good old way, in the exe's folder first, then through the system environment variable "PATH", which typically contains C:\Windows\system32\ and many others. The app will start even when the DLL isn't present, however every reference to it will obviously fail during app execution.

3.
OTOH, if you have a hard reference to a DLL (as with "Add Reference"), then the DLL file (and its dependencies) must be present for the app to load successfully.

4.
I'm pretty sure there are several CP articles that refer to wmp.dll, so you could go and have a look how they handle things.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

AnswerRe: WMPlayer Dll Import Question Pin
Ravi Bhavnani10-Sep-11 17:12
professionalRavi Bhavnani10-Sep-11 17:12 
QuestionManaging multiple controls [modified] Pin
Electric Eddy9-Sep-11 13:51
Electric Eddy9-Sep-11 13:51 
AnswerRe: Managing multiple controls Pin
Philippe Mori9-Sep-11 14:21
Philippe Mori9-Sep-11 14:21 
AnswerRe: Managing multiple controls Pin
BillWoodruff9-Sep-11 14:29
professionalBillWoodruff9-Sep-11 14:29 
AnswerRe: Managing multiple controls Pin
Eddy Vluggen10-Sep-11 12:57
professionalEddy Vluggen10-Sep-11 12:57 
GeneralRe: Managing multiple controls Pin
BillWoodruff10-Sep-11 20:09
professionalBillWoodruff10-Sep-11 20:09 
GeneralRe: Managing multiple controls Pin
Eddy Vluggen11-Sep-11 1:37
professionalEddy Vluggen11-Sep-11 1:37 
GeneralRe: Managing multiple controls Pin
BillWoodruff11-Sep-11 2:44
professionalBillWoodruff11-Sep-11 2:44 
GeneralRe: Managing multiple controls Pin
Eddy Vluggen11-Sep-11 2:52
professionalEddy Vluggen11-Sep-11 2:52 
QuestionVS2008 WMP Issue wirh user privileges Pin
Martin Wasley9-Sep-11 12:22
Martin Wasley9-Sep-11 12:22 
AnswerRe: VS2008 WMP Issue wirh user privileges Pin
TheGreatAndPowerfulOz12-Sep-11 11:34
TheGreatAndPowerfulOz12-Sep-11 11:34 
QuestionJust wondering..c# online Pin
stephen.darling9-Sep-11 6:48
stephen.darling9-Sep-11 6:48 
AnswerRe: Just wondering..c# online Pin
AspDotNetDev9-Sep-11 7:13
protectorAspDotNetDev9-Sep-11 7:13 
GeneralRe: Just wondering..c# online Pin
stephen.darling9-Sep-11 7:17
stephen.darling9-Sep-11 7:17 
GeneralRe: Just wondering..c# online Pin
AspDotNetDev9-Sep-11 7:32
protectorAspDotNetDev9-Sep-11 7:32 
GeneralRe: Just wondering..c# online Pin
stephen.darling9-Sep-11 8:12
stephen.darling9-Sep-11 8:12 
GeneralRe: Just wondering..c# online Pin
Richard MacCutchan9-Sep-11 21:28
mveRichard MacCutchan9-Sep-11 21:28 

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.