Hey there, you pointed me to this from StackOverflow.
I managed to get this kind of working, but the VB6 IDE randomly crashes for me. Often on the third run, but not always. It often follows this pattern, but it also depends on whether there are debug statements and if I initiate vb6 from Visual Studio or not. But in all cases, it eventually crashes.
- I run my program, close it (properly).
- I run my program, close it (properly).
- I run my program and get a crash while loading
I don't quite understand the underlying thing that makes this work so it's tough for me to debug. I'm only using the Subclassing thunk in my main form. It seems more stable if I put a debug statement on the Set SubClass = nothing that I have on program close, but it still crashes eventually.
How might I diagnose this?
Hey there, you pointed me to this from StackOverflow.
I managed to get this kind of working, but the VB6 IDE randomly crashes for me. Often on the third run, but not always. It often follows this pattern, but it also depends on whether there are debug statements and if I initiate vb6 from Visual Studio or not. But in all cases, it eventually crashes.
I don't quite understand the underlying thing that makes this work so it's tough for me to debug. I'm only using the Subclassing thunk in my main form. It seems more stable if I put a debug statement on the Set SubClass = nothing that I have on program close, but it still crashes eventually.
How might I diagnose this?