Hi there,
I've written an Outlook add-in in Visual C++ 2005. It works fine on my machine. However, when I try to deploy it on another machine, I've got a problem. If I type
regsvr32 MyAddin.dll
I get a message whose translation in English is :
LoadLibrary(MyAddin.dll") failed. This application could not start because the configuration of the application is incorrect. Reinstalling the application could solve the problem.
I ran Process Monitor and typed the same command. I got the messages below. My dll is in the directory
F:\Boris
So, the 2nd line seems to say that the dll is searched in the wrong directory.
Any idea ?
Thanks in advance
--------
33920 12:19:46,7742454 cmd.exe 5336 Process Create C:\WINDOWS\system32\regsvr
32.exe SUCCESS PID: 2500, Command line: regsvr32 MyAddin.dll
40814 12:19:47,5622640 regsvr32.exe 2500 QueryOpen C:\WINDOWS\system32\MyAddi
n.dll NAME NOT FOUND
40815 12:19:47,5624006 regsvr32.exe 2500 QueryOpen C:\WINDOWS\system32\MyAddi
n.dll NAME NOT FOUND
40818 12:19:47,5644282 regsvr32.exe 2500 QueryOpen C:\WINDOWS\system\MyAddin.
dll NAME NOT FOUND
40819 12:19:47,5646685 regsvr32.exe 2500 QueryOpen C:\WINDOWS\MyAddin.dll NAME NOT FOUND
40825 12:19:47,5670341 regsvr32.exe 2500 QueryOpen F:\Boris\MyAddin.dll FAST IO DISALLOWED
40829 12:19:47,5677792 regsvr32.exe 2500 CreateFile F:\Boris\MyAddin.dll SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
40837 12:19:47,5696856 regsvr32.exe 2500 QueryBasicInformationFile F:\Boris\MyAddin.dll SUCCESS CreationTime: 27/12/2007 11:03:25, LastAccessTime: 27/12/2007 00:00:00, LastWriteTime: 26/12/2007 17:00:30, ChangeTime: 01/01/1601 01:00:00, FileAttributes: A
40840 12:19:47,5701482 regsvr32.exe 2500 CloseFile F:\Boris\MyAddin.dll SUCCESS
40852 12:19:47,5727877 regsvr32.exe 2500 CreateFile F:\Boris\MyAddin.dll SUCCESS Desired Access: Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
40854 12:19:47,5735378 regsvr32.exe 2500 CreateFile F:\Boris\MyAddin.dll SUCCESS Desired Access: Read Attributes, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Complete If Oplocked, Random Access, Attributes: N, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
40862 12:19:47,5748994 regsvr32.exe 2500 QueryFileInternalInformati
onFile F:\Boris\MyAddin.dll SUCCESS IndexNumber: 0xfc540
40863 12:19:47,5753050 regsvr32.exe 2500 QueryStandardInformationFi
le F:\Boris\MyAddin.dll SUCCESS AllocationSize: 155 648, EndOfFile: 155 648, NumberOfLinks: 1, DeletePending: False, Directory: False
40864 12:19:47,5760040 regsvr32.exe 2500 CloseFile F:\Boris\MyAddin.dll SUCCESS
40875 12:19:47,5778073 regsvr32.exe 2500 QueryStandardInformationFi
le F:\Boris\MyAddin.dll SUCCESS AllocationSize: 155 648, EndOfFile: 155 648, NumberOfLinks: 1, DeletePending: False, Directory: False
40885 12:19:47,5785222 regsvr32.exe 2500 CloseFile F:\Boris\MyAddin.dll SUCCESS
40887 12:19:47,5788141 regsvr32.exe 2500 Load Image F:\Boris\MyAddin.dll SUCCESS Image Base: 0x10000000, Image Size: 0x26000
40890 12:19:47,5789387 regsvr32.exe 2500 ReadFile F:\Boris\MyAddin.dll SUCCESS Offset: 139 264, Length: 8 192, I/O Flags: Non-cached, Paging I/O, Synchronous Paging I/O
40911 12:19:47,5848157 regsvr32.exe 2500 CreateFile F:\Boris\MyAddin.dll.2.Man
ifest NAME NOT FOUND Desired Access: Generic Read/Execute, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a
40918 12:19:47,5858773 regsvr32.exe 2500 CreateFile F:\Boris\MyAddin.dll.2.Man
ifest NAME NOT FOUND Desired Access: Read Attributes, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Complete If Oplocked, Random Access, Attributes: N, ShareMode: Read, Write, Delete, AllocationSize: n/a
40926 12:19:47,5880656 regsvr32.exe 2500 CreateFile F:\Boris\MyAddin.dll.2.Con
fig NAME NOT FOUND Desired Access: Generic Read/Execute, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a
40930 12:19:47,5890649 regsvr32.exe 2500 CreateFile F:\Boris\MyAddin.dll.2.Con
fig NAME NOT FOUND Desired Access: Read Attributes, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Complete If Oplocked, Random Access, Attributes: N, ShareMode: Read, Write, Delete, AllocationSize: n/a
41056 12:19:47,6186549 regsvr32.exe 2500 ReadFile F:\Boris\MyAddin.dll SUCCESS Offset: 131 072, Length: 8 192, I/O Flags: Non-cached, Paging I/O, Synchronous Paging I/O
46465 12:19:49,5724206 svchost.exe 1120 QueryOpen F:\Boris\MyAddin.DLL FAST IO DISALLOWED
46471 12:19:49,5735598 svchost.exe 1120 CreateFile F:\Boris\MyAddin.DLL SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, Impersonating: AUTORITE NT\SYSTEM, OpenResult: Opened
46478 12:19:49,5759004 svchost.exe 1120 QueryBasicInformationFile F:\Boris\MyAddin.dll SUCCESS CreationTime: 27/12/2007 11:03:25, LastAccessTime: 27/12/2007 00:00:00, LastWriteTime: 26/12/2007 17:00:30, ChangeTime: 01/01/1601 01:00:00, FileAttributes: A
46480 12:19:49,5765236 svchost.exe 1120 CloseFile F:\Boris\MyAddin.dll SUCCESS
46487 12:19:49,5783420 svchost.exe 1120 QueryOpen C:\Program Files\Ipbx Toolbar\MyAddin.DLL NAME NOT FOUND
Start Free Trial