Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 1 Jahr, 11 Monaten
Letzter Beitrag:
vor 1 Jahr, 11 Monaten
Beteiligte Autoren:
Piet van Zanten

[WB 19] dCopy problem

Startbeitrag von Piet van Zanten am 15.08.2016 21:41


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,


Re: [WB 19] dCopy problem [SOLVED}


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.


von Piet van Zanten - am 17.08.2016 13:19
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.