Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default DLL not available in system32 folder - vista/excel 2007

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default DLL not available in system32 folder - vista/excel 2007

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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 and Office 2007 stink (so does Vista) P. U. Excel Discussion (Misc queries) 1 March 25th 09 05:21 PM
Help using dll with excel 2007 and vista 64 gtslabs Excel Programming 0 February 13th 09 05:33 PM
Excel 2007 & Vista OS jsmith Excel Programming 7 November 6th 08 08:32 PM
vista and excel 2007 maran Excel Discussion (Misc queries) 0 April 28th 08 11:30 AM
Vista bug (?) regarding Excel 2007 Perry Excel Programming 0 February 18th 07 03:45 PM


All times are GMT +1. The time now is 05:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"