May 11th, 2007, 2:17 pm
Hi,I have encountered a really annoying problem with an xl dll and would be very happy if someone has any ideas about how to solve it.I have built a dll using MVC++6.0 and is calling it from xl using a VBA macro. Everything works fine on my computer and it also works fine on other computers by just copying over the dll object and the excel file and referencing the dll at it's new location. Due to that some calculations are very time consuming a friend of mine offered me to use a really fast server he had connection to. That sounded great and I copied over the files as usual. However, when running the script I get the following error:"run time error 429: ActiveX component can't create object"The place in the code is the first use of the dll, however the line"Dim test As New Model" is ok, but"test.SetDimension 10" fails.One idea I had about what might be wrong is that perhaps the dll weren't properly registered. I therefore tried to run regsvr32 ..path..\lib.dll but I then get another error message saying that it failed and returning a reference to something like 0x0000054.Anyone that has any clever ideas?Best wishes,Robbie