After months of trying to find a reason for a GPF that does not occur if compiled as a EXE, but does if compiled as a DLL for use in another compiler, I finally tracked down the cause.
(and errant handle to a MDI child window, that said did not exist, but still existed, so my loop ran forever)....Or so I think
I kept looking for a better way to find a cause of when the GPF occurs, not when it is noticed and ran into MCM's Sure its a GPF but
Some of the post even mentioned enumerating exported functions....so I wonder how I would do that, and maybe a step farther track down a GPF that I just CAN NOT find?
(good news is, at least now I found my original problem, I can now see it feasible to move on, as long as the dll is not run in interpreted mode in a programming language under Vista....all the others it works fine)
Only reason I ask, is cause I do not believe in code that can not be done, but code that can easily be misunderstood, so all the forums say "You can't do that!!!"
AKA: VB6 can't handle multi-threaded Dll's.....(The heck it can't....its up to the programmer to do it RIGHT though so as to not cause a GPF)
(and errant handle to a MDI child window, that said did not exist, but still existed, so my loop ran forever)....Or so I think
I kept looking for a better way to find a cause of when the GPF occurs, not when it is noticed and ran into MCM's Sure its a GPF but
Some of the post even mentioned enumerating exported functions....so I wonder how I would do that, and maybe a step farther track down a GPF that I just CAN NOT find?
(good news is, at least now I found my original problem, I can now see it feasible to move on, as long as the dll is not run in interpreted mode in a programming language under Vista....all the others it works fine)
Only reason I ask, is cause I do not believe in code that can not be done, but code that can easily be misunderstood, so all the forums say "You can't do that!!!"
AKA: VB6 can't handle multi-threaded Dll's.....(The heck it can't....its up to the programmer to do it RIGHT though so as to not cause a GPF)
Comment