Error when calling a sub after compliing

pdabasic

Active Member
Licensed User
I get an error message when i run my application and try to cal a function:

"An error occurred sub__functions_formfadeshow.
The Object Doesn't convert from "dzImage.ImageClass" to "Dbasic.IImage
Continue?"

In Debug mod everything are working

Please :sign0085:
 

pdabasic

Active Member
Licensed User
Thx Erel but I reedited my code and now it's working!

I think the problem was when I use this command:
Control (CapFade&"Something",ImageClass).ControlCapture("Main."&ParentForm,0,0,240,320)
 
Top