Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 and Office 2007 stink (so does Vista) | Excel Discussion (Misc queries) | |||
Help using dll with excel 2007 and vista 64 | Excel Programming | |||
Excel 2007 & Vista OS | Excel Programming | |||
vista and excel 2007 | Excel Discussion (Misc queries) | |||
Vista bug (?) regarding Excel 2007 | Excel Programming |