PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB 19] dCopy problem
[WB 19] dCopy problem
Iniciado por guest, 15,ago. 2016 23:41 - 1 respuesta
Publicado el 15,agosto 2016 - 23:41
Hi,

I'm struggling with a weird problem.
I'm using dCopy to copy a little image to an image control. The copy is from one image control to another.
In test mode this works fine, but once deployed the black image turns to light gray. Both testmachine and server have IIS running.
I tried rebuilding the page from scratch, setting all kinds of background settings for the image, even tried dCopyBlt.
An image variable does not work, because transparency is lost then.
Also checked if the graphic WD framework is the same on both machines, which they are.
Always it works on the test, but not once deployed.
A real pain, because each time I need to deploy the site to check if my modifications are successful.

Any help is really appreciated.

Best regards,
Piet
Publicado el 17,agosto 2016 - 15:19
Hi,

Without ever finding the cause, I got this working by using image variables only.
So from now on I'll avoid using image controls for drawing.

I did not use image variables in the first place because dStartDrawing(dErase) did not erase the previous drawing, neither did dEndDrawing().
I solved this by doing a VariableReset followed by a width and height assigment for the original height.

Regards,
Piet