English
Forum

DLL & Memory bitmap --- it goes on :)

 

Christian
Eichler
After some Time be I now again on one small trouble punched, that I me integrally and not at all explain can.
with the DLL (C++ & Profan - Source + DLL see Appendix !) erstell I simply one Memory bitmap and try hereon rumzuschmieren. naturally Have I before CreatePen uses and dnn too SelectObject. now functions The Farbeinstellungen for peg but not. it'll either Black or white drawn, but never in anybody others colour.
Komischerweise has the whole already time funktionniert.

mfg Christian E

PS: Please no Discussion over the sense this DLl . is too only one Minimalbeispiel.

 
Debian Lenny, Intel Celeron 2,8 Ghz, 768 MB Ram && Win XP Pro, Intel C2D 1,66Ghz, 2 GB Ram ... PROFAN² 6.6
01/02/08  
 




Sebastian
König
Hello Christian,

You can time try, on CreateCompatibleBitmap() as DC too GetDC(GetDesktopWindow()) - or simply GetDC(0) - To transfer.

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
01/02/08  
 




Christian
Eichler
Related to the GetDC(GetDesktopWindow()) funktionniert ! thanks vielmals ...
 
Debian Lenny, Intel Celeron 2,8 Ghz, 768 MB Ram && Win XP Pro, Intel C2D 1,66Ghz, 2 GB Ram ... PROFAN² 6.6
01/02/08  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.790 Views

Untitledvor 0 min.
Uwe Lang03/25/20
Rainer Hoefs09/04/17
H.Brill06/27/15
Ernst03/01/15
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie