|
-
Jan 28th, 2024, 10:48 PM
#1
Thread Starter
Fanatic Member
OCX crashes when compiled with binary compatibility
VB6SP6 Win10x64
User control: fafalone's ucShellTree
I compiled the ucShellTree as an OCX and use binary compatibility to avoid multiple ClassIDs for each new compiled OCX.
Problem:
VB6 crashes everytime when i start my test project in the IDE and a form with the control is displayed.
This also happens when i run the test project as an compiled EXE.
I get no crash if i open the form with the control in the IDE and edit some properties.
Step-by-Step:
1. I create a new test project.
2. I added the ucShellTree control to a form.
3. I start the project: CRASH (the VB6 IDE task is gone)
1. I open the test project again and compiled it (EXE).
2. I start the compiled EXE: CRASH (the EXE task is gone)
Info:
I can start the project in the IDE and the run the compiled EXE without crash if i compile the OCX without any compatibility. But this no pratical solution...
Question:
Does anyone know what can be the reason that a OCX with binary compatibility crashes when the control is displayed?
Is this a general OCX issue or does it have something to do with the specific code of the ucShellTree?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|