Dear Olaf,
Thanks for the clarification.
I understood your explanation
even better when I came across your another awesome pure
VB6 Threading-Tutorial (Mandelbrot-Rendering) at the link
https://www.vbforums.com/showthread....rot-Rendering) at Step7 StdExe (using STA-Dll).
More or less both VB6ThreadingDirectCOM and VB6 Threading-Tutorial (Mandelbrot-Rendering) at the link
https://www.vbforums.com/showthread....rot-Rendering) at Step7 StdExe (using STA-Dll) are same except
that VB6ThreadingDirectCOM is using c/c++ dll (DirectCom.dll) for creating the STA thread.
The
beauty of VB6ThreadingDirectCOM is that it
works fine even when the project is compiled to
p-code(both std exe app and STA dll app) and works even when run in vb6 IDE.
But Step7 StdExe (using STA-Dll) of VB6 Threading-Tutorial (Mandelbrot-Rendering)
crashes when run outside or in vb6 IDE when compiled to
p-code.
Is there any
reason for this since I don't have this problem when working in pure c/c++ applications in which i never come across
p-code option while compiling in vc++ IDE like in vb6 IDE.
Thanks.