English
Forum

%hdc2 ?!

 

Christian
Eichler
only one integrally small, kurzes Frägelchen To %hdc2.
is this %hdc2 a profansche invention (means not windows-Standart ?!) or erwisch I the too somehow with the API-function GetDC ?
 
Debian Lenny, Intel Celeron 2,8 Ghz, 768 MB Ram && Win XP Pro, Intel C2D 1,66Ghz, 2 GB Ram ... PROFAN² 6.6
12/12/07  
 




RGH
The %hDC2 is a Profanische invention and standing for a second Displaykontext the Mainwindow.
this second Displaykontext contains always a copy the Mainwindow, so that this always vollautomatisch restored go can, z.B. if one other Window drüber shoved becomes, it minimizes and vergrößert becomes, etc. etc.
the erspart it the XProfan-Programmer self on The wmPaint-Biotschaft react To must, circa then whom kompletten Bildschirminhalt wiederherzustellen. From dwell from power windows the namely not, separate sends even only wmPaint and the program must then see, where it its Information herbekommt, around the screen neuzuzeichen.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
12/12/07  
 




Christian
Eichler
Vielen Thanks, the was very the, I know wished

to Statement, why I the demand Have : I schreib Yes z.Z. at a DLL in C++, with the one Speicherbitmaps easily process can should (Frank, I know, that You too so a DLL anbietest, The help me but only dull moreover). with this DLL would like I then in my Program to that Graphen draw u.a. The Skala create, there with the C++ explicit faster weg becomes, as with Profan.

mfg Christian E
 
Debian Lenny, Intel Celeron 2,8 Ghz, 768 MB Ram && Win XP Pro, Intel C2D 1,66Ghz, 2 GB Ram ... PROFAN² 6.6
12/12/07  
 




Frank
Abbing
want You thereby with DIBs works or only SetPixel utilize?
 
12/12/07  
 




Christian
Eichler
The Skala erstell I with MoveTo and LineTo, SetPixel verwend I not !
what understand You under works ?

I erstell on the Program Start one MemoryBitmap and lösche the again, either in the Programmmitte, for a new to create or on the Schluss, if I my Program finish ... and between draw I hereon and let it Show
 
Debian Lenny, Intel Celeron 2,8 Ghz, 768 MB Ram && Win XP Pro, Intel C2D 1,66Ghz, 2 GB Ram ... PROFAN² 6.6
12/12/07  
 




Frank
Abbing
The Zeichenfunktionen the GDI works very slow in the Contrast to that direct settle the Pixel inner of/ one DIB. at least in nativen Languages.
The Effektfunktionen the ProSpeed.dll works z.B. with the DIB-method. The Pixelwerte go directly in memory staid and later in a Slip on the HDC copies. After DirectX The fastest method.

On of my Page find You The DIB.dll. Virtually a heavy abgespeckte Version the ProSpeed. You can The Dll (3 KB!) very simply together with your code using.
 
12/12/07  
 




Christian
Eichler
Hmm... okay... but the point is Yes really the: i want a part the Codes of my Profan-Program auslagern. In a DLL...
And if I now your DLL again verwede, then lern I Yes again no C++ ... what Yes really my target is
 
Debian Lenny, Intel Celeron 2,8 Ghz, 768 MB Ram && Win XP Pro, Intel C2D 1,66Ghz, 2 GB Ram ... PROFAN² 6.6
12/13/07  
 




Frank
Abbing
my suggestion is Yes not coercive. whether You it utilize can and want lying still on my own with you.
 
12/13/07  
 




Christian
Eichler
Well, I werd now first schaun, how far I come ... and if I not weiterkomm, then greif I time on your DLL back
 
Debian Lenny, Intel Celeron 2,8 Ghz, 768 MB Ram && Win XP Pro, Intel C2D 1,66Ghz, 2 GB Ram ... PROFAN² 6.6
12/13/07  
 




Frank
Abbing
Jo. The Dll position too only whom welt dar. draw must You yourself. and in the relationship is the works with SetPixel sure plainer.
 
12/13/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

9.352 Views

Untitledvor 0 min.
Sven Bader03/14/23
H.Brill10/09/20
RudiB.03/30/20
Uwe Lang02/27/14
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