> I have a vb.NET dll that I use from Excel. From Excel the functions in the
> dll is called. This works and has done so for a long time.
[quoted text clipped - 13 lines]
> Note: Debugging in this scenario worked for several years, before changing
> computer.
I can't say for certain that it is your problem, but recently a native
application of mine that loads the CLR and some managed components into it
just ceased to be debuggable with VS2003. It turns out I was paying the
price for having installed a new version of the framework on the machine.
If the machine you had been using only had v1.x of the framework, and if the
new one has a more recent version of the framework as well, you might want
to read this post
http://blogs.msdn.com/jmstall/archive/2005/12/05/VS2003_crashes_with_2005.aspx
for the workaround.
Regards,
Will
www.ivrforbeginners.com
Nandan Dharwadker - 25 Jan 2007 22:42 GMT
I have that problem too..Basically my debugger as well as my add-in
crashes when i installed framework 2.0 on my machine.
I use it in a similar situation, where i have a C++ excel shim and a
dotnet assembly that provides the UI for my add-in.
Once i installed .NET 2.0, then my VS2003 debugger would try to load
the 2.0 framework libraries, and would promptly crash.
In your case, i think what is happenning is that Excel may be loading
the newer version of the framework (not just mscoree.dll which will
always be the latest one) but all of the managed assemblies as well.
One way to figure out whether this is happenning is to look in the
output information of the debugger to see what versions of the dlls it
is loading.Another is to download Sysinternals (I guess its
Microsofts's now :-)) Process Explorer and see what versions of the
dlls are being loaded by Excel.
On Jan 25, 2:29 pm, "William DePalo [MVP VC++]"
<willd.no.s...@mvps.org> wrote:
> > I have a vb.NET dll that I use from Excel. From Excel the functions in the
> > dll is called. This works and has done so for a long time.
[quoted text clipped - 29 lines]
>
> www.ivrforbeginners.com- Hide quoted text -- Show quoted text -
L-E Eriksson - 26 Jan 2007 10:24 GMT
Thanks all for your help
The config trick
http://blogs.msdn.com/jmstall/archive/2005/12/05/VS2003_crashes_with_2005.aspx
Regards L-E Eriksson