When running and the code gets to the statement :
Code: Select all
Reference< XComponentContext > xComponentContext(::cppu::defaultBootstrap_InitialComponentContext());
I copied the missing dll into the indicated folder but it's still reported not found at runtime. I've tried registering the dll from the \system32 folder mentioned using the regsvr32.exe tool and it's reported not found in this exercise, too, so this is not a Visual Studio issue. I've copied the dll into the \SysWOW64 folder to experiment with regsvr32.exe and this time it's found and loaded. So the idea I have now is to run the example with the dll in the \SysWOW64 folder. But how do I change configuration so my code can look for the dll in \SysWOW64 instead of \system32?loading component library failed: file:///C:/windows/SYSTEM32/bootstrap.uno.dll