I have a VB DLL that I am trying to debug(x.dll). The source code and names are propreitary so I will use psedo names here instead.
In order to debug my problem I have written a small VB program(test). However I don't get too far.
All I am doing in test is this
Dim objXRef As X.XXXX
Set objXRef = CreateObject("X.XXXX"
and I have a reference to x.dll in this project.
If I step through my test program everything is fine if I use the compiled x.dll component. However If I try to run x.dll's source code in debug mode, hoping to step through the code when I call it in test(it comes futher down and I have not put that in here), I get a an error saying
Run time Error '13'
Type Mismatch
This I get on line 2 when I try to create an object reference to X.XXXX. I am perplexed and confused. Hopefully some one can shed some light on this.
Thanks in advance.
In order to debug my problem I have written a small VB program(test). However I don't get too far.
All I am doing in test is this
Dim objXRef As X.XXXX
Set objXRef = CreateObject("X.XXXX"
and I have a reference to x.dll in this project.
If I step through my test program everything is fine if I use the compiled x.dll component. However If I try to run x.dll's source code in debug mode, hoping to step through the code when I call it in test(it comes futher down and I have not put that in here), I get a an error saying
Run time Error '13'
Type Mismatch
This I get on line 2 when I try to create an object reference to X.XXXX. I am perplexed and confused. Hopefully some one can shed some light on this.
Thanks in advance.