Click here to Skip to main content
16,006,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Convert BSTR to char* Pin
Anonymous3-Jul-03 9:16
Anonymous3-Jul-03 9:16 
Questionconvert double to string? Pin
Sunnygirl3-Jul-03 5:15
Sunnygirl3-Jul-03 5:15 
AnswerRe: convert double to string? Pin
RvD20023-Jul-03 5:21
sussRvD20023-Jul-03 5:21 
AnswerRe: convert double to string? Pin
Ryan Binns3-Jul-03 5:23
Ryan Binns3-Jul-03 5:23 
AnswerRe: convert double to string? Pin
John M. Drescher3-Jul-03 5:24
John M. Drescher3-Jul-03 5:24 
GeneralRe: convert double to string? Pin
Ryan Binns3-Jul-03 5:28
Ryan Binns3-Jul-03 5:28 
GeneralRe: convert double to string? Pin
John M. Drescher3-Jul-03 5:31
John M. Drescher3-Jul-03 5:31 
GeneralRe: accessing elements of a struct that are in an array of structs Pin
Cedric Moonen3-Jul-03 4:48
Cedric Moonen3-Jul-03 4:48 
I don't know if this will solve your problem (you're not explaining it exactly) but be carrefull when you read data directly from memory and store it in the strucuture. If you use a memcpy, you will probably have some troubles because the default byte alignement in the structure is 8 (take a look at the msdn documentation about the #pragma pack directive).

That means in fact that all your member variables after the first are stored on the smaller member type or 8-byte boundaries. So, if it's not the case in memory, you will have some serious troubles when you want to "read" your data.
GeneralRe: accessing elements of a struct that are in an array of structs Pin
johnstonsk3-Jul-03 5:05
johnstonsk3-Jul-03 5:05 
GeneralRe: accessing elements of a struct that are in an array of structs Pin
AlexO3-Jul-03 5:27
AlexO3-Jul-03 5:27 
GeneralStopping a Mouse Click from changing keyboard focus Pin
fluxt3-Jul-03 4:03
fluxt3-Jul-03 4:03 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
basementman3-Jul-03 4:40
basementman3-Jul-03 4:40 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
fluxt3-Jul-03 5:07
fluxt3-Jul-03 5:07 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
Rage3-Jul-03 5:42
professionalRage3-Jul-03 5:42 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
Rage3-Jul-03 5:46
professionalRage3-Jul-03 5:46 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
fluxt3-Jul-03 5:48
fluxt3-Jul-03 5:48 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
Rage3-Jul-03 5:53
professionalRage3-Jul-03 5:53 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
Rage3-Jul-03 5:55
professionalRage3-Jul-03 5:55 
GeneralRetrieving internet connection ip in LAN Pin
Kuniva3-Jul-03 4:02
Kuniva3-Jul-03 4:02 
GeneralRe: Retrieving internet connection ip in LAN Pin
valikac3-Jul-03 7:35
valikac3-Jul-03 7:35 
GeneralRead/Write a monochrome image to/from a .bmp file Pin
Neha3-Jul-03 3:22
Neha3-Jul-03 3:22 
GeneralRe: Read/Write a monochrome image to/from a .bmp file Pin
Rage3-Jul-03 5:50
professionalRage3-Jul-03 5:50 
GeneralGetting data into combo boxes Pin
keegan3-Jul-03 2:25
keegan3-Jul-03 2:25 
GeneralRe: Getting data into combo boxes Pin
Cedric Moonen3-Jul-03 2:39
Cedric Moonen3-Jul-03 2:39 
GeneralRe: Getting data into combo boxes Pin
David Crow3-Jul-03 2:59
David Crow3-Jul-03 2:59 

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.