Click here to Skip to main content
15,920,633 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: template and vector Pin
Code-o-mat1-Mar-09 9:08
Code-o-mat1-Mar-09 9:08 
GeneralRe: template and vector Pin
transoft1-Mar-09 9:50
transoft1-Mar-09 9:50 
GeneralRe: template and vector Pin
Stuart Dootson1-Mar-09 9:30
professionalStuart Dootson1-Mar-09 9:30 
QuestionCan a ellipsis (Variadic) function i.e Func(...) be exported from a DLL Pin
Ru_Coding1-Mar-09 4:06
Ru_Coding1-Mar-09 4:06 
AnswerRe: Can a ellipsis (Variadic) function i.e Func(...) be exported from a DLL Pin
Stuart Dootson1-Mar-09 4:50
professionalStuart Dootson1-Mar-09 4:50 
GeneralRe: Can a ellipsis (Variadic) function i.e Func(...) be exported from a DLL Pin
Ru_Coding2-Mar-09 1:04
Ru_Coding2-Mar-09 1:04 
Questionhow to convert image into binary using C++ Pin
naveen20_51-Mar-09 3:53
naveen20_51-Mar-09 3:53 
AnswerRe: how to convert image into binary using C++ Pin
Code-o-mat1-Mar-09 5:39
Code-o-mat1-Mar-09 5:39 
Well, ANY extension (i assume you mean format by extension, since extension is just some characters after the name of the image, which basicly means nothing, i can rename my Whatever.bmp to Whatever.jpg, that won't actually make it a JPEG image...) is a bit broad, but you can use CxImage[^] to load many kinds of formats, then you can create a DIB section using CreateDIBSection[^] and then blit the image onto it. Since CreateDIBSection gives you a pointer at the pixel data, you can do with it whatever you like, like save it as it is. Doing this the other way should be quite straightforward too. Hope that helps.

p.s: Could be that CxImage itself gives you a way to access the "raw" pixel data (or even save it as raw format), am not sure about that, but you can find that out yourself.

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

AnswerRe: how to convert image into binary using C++ Pin
Eytukan1-Mar-09 6:11
Eytukan1-Mar-09 6:11 
GeneralOT: Finding a function in a disassembly. Pin
Brady Kelly1-Mar-09 1:48
Brady Kelly1-Mar-09 1:48 
GeneralRe: OT: Finding a function in a disassembly. Pin
«_Superman_»1-Mar-09 1:55
professional«_Superman_»1-Mar-09 1:55 
GeneralRe: OT: Finding a function in a disassembly. Pin
Brady Kelly1-Mar-09 2:46
Brady Kelly1-Mar-09 2:46 
GeneralRe: OT: Finding a function in a disassembly. Pin
Stuart Dootson1-Mar-09 2:29
professionalStuart Dootson1-Mar-09 2:29 
GeneralRe: OT: Finding a function in a disassembly. Pin
Brady Kelly1-Mar-09 2:36
Brady Kelly1-Mar-09 2:36 
QuestionStatic Library Issue Pin
dehseth28-Feb-09 23:52
dehseth28-Feb-09 23:52 
AnswerRe: Static Library Issue Pin
Cedric Moonen1-Mar-09 2:06
Cedric Moonen1-Mar-09 2:06 
GeneralRe: Static Library Issue Pin
dehseth1-Mar-09 2:30
dehseth1-Mar-09 2:30 
NewsRe: Static Library Issue Pin
dehseth1-Mar-09 3:30
dehseth1-Mar-09 3:30 
Questionprotected constructor Pin
samira forooghi28-Feb-09 21:20
samira forooghi28-Feb-09 21:20 
AnswerRe: protected constructor Pin
Eytukan28-Feb-09 21:26
Eytukan28-Feb-09 21:26 
GeneralRe: protected constructor Pin
samira forooghi28-Feb-09 21:44
samira forooghi28-Feb-09 21:44 
GeneralRe: protected constructor Pin
Eytukan28-Feb-09 22:30
Eytukan28-Feb-09 22:30 
AnswerRe: protected constructor Pin
«_Superman_»28-Feb-09 21:34
professional«_Superman_»28-Feb-09 21:34 
GeneralRe: protected constructor Pin
samira forooghi28-Feb-09 22:32
samira forooghi28-Feb-09 22:32 
AnswerRe: protected constructor Pin
Stuart Dootson28-Feb-09 22:31
professionalStuart Dootson28-Feb-09 22:31 

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.