PC Review


Reply
Thread Tools Rate Thread

DLL not available in system32 folder - vista/excel 2007

 
 
extrnh
Guest
Posts: n/a
 
      30th Nov 2010
I converted a workbook project to an addin and have no problem running
on XP with excel 2002. When I test on a Vista machine with excel
2007, it cannot find a dll that it uses that is in the c:\windows
\system32 folder. The dll is there, but the calls to the dll fail and
DIR function does not work also. The dll is specific to the addin and
it is written in C. I did not have this problem when the dll was
called from a workbook macro. Any ideas? Thx.
 
Reply With Quote
 
 
 
 
Peter T
Guest
Posts: n/a
 
      30th Nov 2010
Normally there should be no problem to find the dll in the \system32 folder,
unless of course it has been declared with the full path to \system32 as was
in the XP machine. If that's what you've got, remove the path. If that
doesn't work try putting the dll in the same folder as the addin, also
ensure the dll is declared without a path.

If that doesn't work, try something like this -
oldPath = CurDir
ChDir "c:\path to the dll"
' call the dll
ChDir oldPath

What do you mean by the "DIR function doesn't work", that's like saying "my
car doesn't work"

Regards,
Peter T


"extrnh" <(E-Mail Removed)> wrote in message
news:531cbddb-b407-4efb-a97c-(E-Mail Removed)...
>I converted a workbook project to an addin and have no problem running
> on XP with excel 2002. When I test on a Vista machine with excel
> 2007, it cannot find a dll that it uses that is in the c:\windows
> \system32 folder. The dll is there, but the calls to the dll fail and
> DIR function does not work also. The dll is specific to the addin and
> it is written in C. I did not have this problem when the dll was
> called from a workbook macro. Any ideas? Thx.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 and Office 2007 stink (so does Vista) P. U. Microsoft Excel Misc 1 25th Mar 2009 05:21 PM
Excel 2007 wil not open and Excel 2007 document in Vista? =?Utf-8?B?bGV0aGFn?= Windows Vista General Discussion 0 26th Apr 2007 09:34 PM
The Worksheet was created in an earlier beta version of Excel 2007 - Problem Office 2007 & Vista RTM's Reflex Microsoft Excel Discussion 1 20th Dec 2006 10:12 PM
Outlook 2000 excel attachement opens system32 folder =?Utf-8?B?Q2hhcmxlcw==?= Microsoft Outlook Discussion 0 20th Jan 2006 05:08 PM
Outlook 2000 excel attachement opens system32 folder =?Utf-8?B?Q2hhcmxlcw==?= Microsoft Outlook Discussion 0 29th Sep 2005 05:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:36 PM.