Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Addin call to external dll

Geek News

Addin call to external dll
"JahMic" <jahmic[ at ]gmail.com> 4/6/2007 7:40:27 AM
I have an addin that is primarily an exchnage client (ExchEntryPoint),
and I am making calls to other DLLs that I have created. However, it
seems that it can not find these DLLs, if I install them in the same
directory as the addin. What is the best way to get my addin to find
these other DLLs? If possible, I don't want to messing with system
directories or such, that may require eventual admin priviliges.

Thanks in advance,

J

Re: Addin call to external dll
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 4/6/2007 4:38:56 PM
Do you specify the full path when you call LoadLibrary()?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"JahMic" <jahmic[ at ]gmail.com> wrote in message
news:1175845227.708098.161450[ at ]w1g2000hsg.googlegroups.com...
[Quoted Text]
>I have an addin that is primarily an exchnage client (ExchEntryPoint),
> and I am making calls to other DLLs that I have created. However, it
> seems that it can not find these DLLs, if I install them in the same
> directory as the addin. What is the best way to get my addin to find
> these other DLLs? If possible, I don't want to messing with system
> directories or such, that may require eventual admin priviliges.
>
> Thanks in advance,
>
> J
>


Re: Addin call to external dll
"JahMic" <jahmic[ at ]gmail.com> 4/10/2007 4:22:30 AM
I was doing an implicit load. (i.e. No explicit call to LoadLibrary)
Are you implying then, that making an explicit call is the only way to
do this then?

Thanks, J


On Apr 7, 1:38 am, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
[Quoted Text]
> Do you specify the full path when you call LoadLibrary()?
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "JahMic" <jah...[ at ]gmail.com> wrote in message
>
> news:1175845227.708098.161450[ at ]w1g2000hsg.googlegroups.com...
>
>
>
> >I have an addin that is primarily an exchnage client (ExchEntryPoint),
> > and I am making calls to other DLLs that I have created. However, it
> > seems that it can not find these DLLs, if I install them in the same
> > directory as the addin. What is the best way to get my addin to find
> > these other DLLs? If possible, I don't want to messing with system
> > directories or such, that may require eventual admin priviliges.
>
> > Thanks in advance,
>
> > J- Hide quoted text -
>
> - Show quoted text -


Re: Addin call to external dll
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 4/10/2007 6:29:00 PM
Of course, for implicitly loaded dlls, they must either be in the same
directory where the exe resides (which is outlook.exe) or be in one of the
directories specified in the PATH enviroment variable (e.g. Windows,
Ssystem32, etc).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"JahMic" <jahmic[ at ]gmail.com> wrote in message
news:1176178950.318774.40500[ at ]p77g2000hsh.googlegroups.com...
[Quoted Text]
>I was doing an implicit load. (i.e. No explicit call to LoadLibrary)
> Are you implying then, that making an explicit call is the only way to
> do this then?
>
> Thanks, J
>
>
> On Apr 7, 1:38 am, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
>> Do you specify the full path when you call LoadLibrary()?
>>
>> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "JahMic" <jah...[ at ]gmail.com> wrote in message
>>
>> news:1175845227.708098.161450[ at ]w1g2000hsg.googlegroups.com...
>>
>>
>>
>> >I have an addin that is primarily an exchnage client (ExchEntryPoint),
>> > and I am making calls to other DLLs that I have created. However, it
>> > seems that it can not find these DLLs, if I install them in the same
>> > directory as the addin. What is the best way to get my addin to find
>> > these other DLLs? If possible, I don't want to messing with system
>> > directories or such, that may require eventual admin priviliges.
>>
>> > Thanks in advance,
>>
>> > J- Hide quoted text -
>>
>> - Show quoted text -
>
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net