This site is no longer active and is available for archival purposes only. Registration and login is disabled.

GlobalFree


GlobalFree

Postby Johan » Jun 5, 2002 @ 7:44pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Kzinti » Jun 5, 2002 @ 9:11pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Johan » Jun 5, 2002 @ 9:22pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Kzinti » Jun 5, 2002 @ 9:59pm

Nobody decided to strip the header from the BMP to "save memory"...

The memory bitmap format was defined and then they needed some kind of header to save them to files.

Regarding GetDC(0), I find this disturbing =) I will fix this... Of course the DC should be release with "ReleaseDC(0,hdc)".

I guess I (and other people) get away with this because the DC get destroyed when the process exits. Multiple calls to GetDC(0) probably always return the same DC using an internal reference count. It could crash after loading a few thousands images =)
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Kzinti » Jun 5, 2002 @ 10:05pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Johan » Jun 5, 2002 @ 10:10pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Kzinti » Jun 5, 2002 @ 10:32pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Kzinti » Jun 5, 2002 @ 10:39pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron