A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Addin call to external dll



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 6th 07, 08:40 AM posted to microsoft.public.outlook.program_addins
JahMic
external usenet poster
 
Posts: 35
Default Addin call to external dll

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

Ads
  #2  
Old April 6th 07, 05:38 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Addin call to external dll

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" wrote in message
ups.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



  #3  
Old April 10th 07, 05:22 AM posted to microsoft.public.outlook.program_addins
JahMic
external usenet poster
 
Posts: 35
Default Addin call to external dll

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" 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" wrote in message

ups.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 -



  #4  
Old April 10th 07, 07:29 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Addin call to external dll

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" wrote in message
ups.com...
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" 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" wrote in message

ups.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 -





 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Form w/ DB Call rm Outlook - Using Forms 0 March 8th 07 01:35 AM
OH YES I THINK THEY DID CALL MR BUT I DID NOT TALK TO THEM MY MAMA SAI CALL HER BACK LATER CUZ SHE IS DOING SOMETHG RIGHT NOW WHY DID YOU CALL ME NO THEIR IS ONLY ONE ME YES SIR Outlook Express 0 February 25th 07 08:12 AM
How to call phone numbers with extensions? joffer31 Outlook - Using Contacts 3 July 5th 06 06:37 PM
New Call window Pyramid 36 Outlook - Using Contacts 0 March 27th 06 10:56 PM
API Call Exited Abnormally Don Koenig Outlook Express 2 January 14th 06 12:19 AM


All times are GMT +1. The time now is 08:27 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.