Click here to Skip to main content
15,906,574 members
Home / Discussions / COM
   

COM

 
GeneralRe: NEW to COM Pin
kDevloper25-Jul-08 20:10
kDevloper25-Jul-08 20:10 
QuestionREMOTE DESKTOP COM ACTIVE X CONTROL Pin
dementia12314-Jul-08 3:44
dementia12314-Jul-08 3:44 
AnswerRe: REMOTE DESKTOP COM ACTIVE X CONTROL Pin
dementia1231-Aug-08 9:16
dementia1231-Aug-08 9:16 
QuestionPassing C# exception through COM to get _com_error Pin
Green Fuze12-Jul-08 23:51
Green Fuze12-Jul-08 23:51 
QuestionQuestion regarding path - dumb question.... Pin
1.21 Gigawatts11-Jul-08 1:19
1.21 Gigawatts11-Jul-08 1:19 
AnswerRe: Question regarding path - dumb question.... Pin
Baltoro19-Jul-08 7:44
Baltoro19-Jul-08 7:44 
GeneralRe: Question regarding path - dumb question.... Pin
1.21 Gigawatts20-Jul-08 19:43
1.21 Gigawatts20-Jul-08 19:43 
AnswerRe: Question regarding path - dumb question.... Pin
Luc Pattyn19-Jul-08 8:17
sitebuilderLuc Pattyn19-Jul-08 8:17 
Hi,

AFAIK native code DLLs are located using the Windows environment variable PATH, which lists several
folders to be looked at in sequence. So the first unmanaged DLL your app needs, will be found in the
first PATH folder that holds a matching name. If that DLL in turn needs another one, I know it is
a bit different, IIRC it will try and look first in the same folder as the calling DLL is.

Also IIRC it used to be common practice to prefix ".;" to the PATH, so the current directory was
always looked at first.

You can have your managed app show all the DLLs it is currently using by executing something like
foreach (ProcessModule module in Process.GetCurrentProcess().Modules) {
	Console.WriteLine(module.FileName);
}

which needs a using System.Diagnostics; of course.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Voting for dummies? No thanks. Dead | X|


GeneralRe: Question regarding path - dumb question.... Pin
1.21 Gigawatts20-Jul-08 19:43
1.21 Gigawatts20-Jul-08 19:43 
Questionredefinition Enum member on IDL file [modified] Pin
iman_kh10-Jul-08 7:27
iman_kh10-Jul-08 7:27 
AnswerRe: redefinition Enum member on IDL file Pin
Vi210-Jul-08 19:11
Vi210-Jul-08 19:11 
QuestionEnlisting IBM Websphere MQ Series in COM+ transaction Pin
Daniel Jansson10-Jul-08 1:52
Daniel Jansson10-Jul-08 1:52 
QuestionDLL - Firing an event - Exception Pin
lgatcodeproject10-Jul-08 0:27
lgatcodeproject10-Jul-08 0:27 
AnswerRe: DLL - Firing an event - Exception Pin
Ju@ncho10-Jul-08 5:00
Ju@ncho10-Jul-08 5:00 
QuestionThe application has failed to start.... Pin
Sergey24-Jul-08 2:16
Sergey24-Jul-08 2:16 
AnswerRe: The application has failed to start.... Pin
Ju@ncho4-Jul-08 3:03
Ju@ncho4-Jul-08 3:03 
GeneralRe: The application has failed to start.... Pin
Sergey24-Jul-08 4:22
Sergey24-Jul-08 4:22 
GeneralRe: The application has failed to start.... Pin
Ju@ncho4-Jul-08 4:44
Ju@ncho4-Jul-08 4:44 
GeneralRe: The application has failed to start.... Pin
Sergey24-Jul-08 8:39
Sergey24-Jul-08 8:39 
GeneralRe: The application has failed to start.... Pin
Ju@ncho7-Jul-08 2:56
Ju@ncho7-Jul-08 2:56 
GeneralRe: The application has failed to start.... Pin
User 24844377-Jul-08 6:16
User 24844377-Jul-08 6:16 
GeneralRe: The application has failed to start.... Pin
Scot Brennecke9-Jul-08 14:17
professionalScot Brennecke9-Jul-08 14:17 
QuestionC++ ATL DLL Addin for Windows Mail is blocked by Vista's DEP Pin
dolly4-Jul-08 1:36
dolly4-Jul-08 1:36 
AnswerRe: C++ ATL DLL Addin for Windows Mail is blocked by Vista's DEP Pin
Scot Brennecke9-Jul-08 14:14
professionalScot Brennecke9-Jul-08 14:14 
QuestionExporting function using raw COM Pin
sandy_103-Jul-08 19:36
sandy_103-Jul-08 19:36 

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.