Click here to Skip to main content
16,016,781 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Align dynamic memory to 32-bit boundary [modified] Pin
Jonathan [Darka]9-Jan-07 22:02
professionalJonathan [Darka]9-Jan-07 22:02 
GeneralRe: Align dynamic memory to 32-bit boundary Pin
uusheikh9-Jan-07 22:52
uusheikh9-Jan-07 22:52 
GeneralRe: Align dynamic memory to 32-bit boundary Pin
Sceptic Mole9-Jan-07 23:17
Sceptic Mole9-Jan-07 23:17 
GeneralRe: Align dynamic memory to 32-bit boundary Pin
Jonathan [Darka]9-Jan-07 23:33
professionalJonathan [Darka]9-Jan-07 23:33 
GeneralRe: Align dynamic memory to 32-bit boundary Pin
uusheikh10-Jan-07 20:18
uusheikh10-Jan-07 20:18 
AnswerRe: Align dynamic memory to 32-bit boundary Pin
Chris Losinger10-Jan-07 2:37
professionalChris Losinger10-Jan-07 2:37 
GeneralRe: Align dynamic memory to 32-bit boundary Pin
uusheikh10-Jan-07 20:20
uusheikh10-Jan-07 20:20 
QuestionHow to serialize an ICON Pin
neilsolent9-Jan-07 19:06
neilsolent9-Jan-07 19:06 
I would like to "serialize" an ICON, i.e. express it as a simple sequence of bytes
that could be written/read from a database.

A .ico file could be treated as the serialization of an ICON, but that would probably be wasteful, as a .ico file can store icon images for a variety of icon sizes, and I am just interested in one device (32x32 as it happens).

An ICONINFO structure requires two BITMAPs, one for the mask and one for the color bits.. which is a bit messy.

Is there a simple way of serializing one ICON into ONE blob ?



cheers,
Neil

AnswerRe: How to serialize an ICON Pin
Waldermort9-Jan-07 21:03
Waldermort9-Jan-07 21:03 
GeneralRe: How to serialize an ICON Pin
neilsolent9-Jan-07 23:44
neilsolent9-Jan-07 23:44 
AnswerRe: How to serialize an ICON Pin
Cristian Amarie9-Jan-07 21:14
Cristian Amarie9-Jan-07 21:14 
GeneralRe: How to serialize an ICON Pin
neilsolent9-Jan-07 23:46
neilsolent9-Jan-07 23:46 
GeneralRe: How to serialize an ICON Pin
Cristian Amarie10-Jan-07 0:15
Cristian Amarie10-Jan-07 0:15 
GeneralRe: How to serialize an ICON Pin
neilsolent10-Jan-07 2:58
neilsolent10-Jan-07 2:58 
GeneralRe: How to serialize an ICON Pin
Cristian Amarie10-Jan-07 3:28
Cristian Amarie10-Jan-07 3:28 
QuestionAPI to find SQL Server installation Path Pin
Mushtaque Nizamani9-Jan-07 19:04
Mushtaque Nizamani9-Jan-07 19:04 
AnswerRe: API to find SQL Server installation Path Pin
vipin_nvk9-Jan-07 19:37
vipin_nvk9-Jan-07 19:37 
QuestionRead registry entry of a remote machine Pin
Mushtaque Nizamani9-Jan-07 18:59
Mushtaque Nizamani9-Jan-07 18:59 
AnswerRe: Read registry entry of a remote machine Pin
neilsolent9-Jan-07 19:08
neilsolent9-Jan-07 19:08 
AnswerRe: Read registry entry of a remote machine Pin
Hamid_RT9-Jan-07 19:11
Hamid_RT9-Jan-07 19:11 
GeneralRe: Read registry entry of a remote machine Pin
ThatsAlok9-Jan-07 21:50
ThatsAlok9-Jan-07 21:50 
GeneralRe: Read registry entry of a remote machine Pin
Hamid_RT9-Jan-07 23:28
Hamid_RT9-Jan-07 23:28 
GeneralRe: Read registry entry of a remote machine Pin
ThatsAlok9-Jan-07 23:42
ThatsAlok9-Jan-07 23:42 
AnswerRe: Read registry entry of a remote machine Pin
ThatsAlok9-Jan-07 21:49
ThatsAlok9-Jan-07 21:49 
AnswerRe: Read registry entry of a remote machine Pin
S Douglas9-Jan-07 23:47
professionalS Douglas9-Jan-07 23:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.