Click here to Skip to main content
15,886,693 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPdf Creation Pin
AnithaSubramani24-Apr-09 20:56
AnithaSubramani24-Apr-09 20:56 
QuestionRe: Pdf Creation Pin
CPallini24-Apr-09 22:01
mveCPallini24-Apr-09 22:01 
AnswerRe: Pdf Creation Pin
Code-o-mat24-Apr-09 22:13
Code-o-mat24-Apr-09 22:13 
AnswerRe: Pdf Creation Pin
Hamid_RT24-Apr-09 22:57
Hamid_RT24-Apr-09 22:57 
AnswerRe: Pdf Creation Pin
bob1697225-Apr-09 4:44
bob1697225-Apr-09 4:44 
QuestionProcess is not getting attached Pin
pandit8424-Apr-09 20:09
pandit8424-Apr-09 20:09 
AnswerRe: Process is not getting attached Pin
Baltoro25-Apr-09 8:27
Baltoro25-Apr-09 8:27 
QuestionFinally I got one solution ! But still some problem exists !!! Pin
kapardhi24-Apr-09 19:25
kapardhi24-Apr-09 19:25 
Hai!

From last two days I have been searching for code that displays an image from BYTE array, i posted this question multiple times, i even got responses but i was either not able to understand them or not able to use them, The reason is i am new to the IMAGES concept.

Finally i got i solution I was able to display image from byte array by importing CPictureCtrl class from :
http://www.codeproject.com/KB/graphics/CPictureControl.aspx

Finally i am having two problems :

Prob1: I first imported the CPictureCtrl Classes (.h &.cpp) into my Visual Studio 2005 Dialog based application and tried to display .bmp, .jpg, .jp2 images, by using code as explained in above URL,
.bmp and .jpg got displayed but not .jp2, Can you please explain me how to convert .jp2 image to either .jpg or .bmp or how to display .jp2 image using CPictureCtrl Class.

Prob2:My actual requirement is to do a dialog based application in which i have image display from byte array for a pocket PC Device(2003) in eMbedded VC++, The CPictureCtrl class uses GdiPlus.lib, i dowloaded GdiPlus.lib from net and pasted in
C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Lib\Armv4
where other libraries exist, and included the name "GdiPlus.lib" in MyProject>Properties>Link>AdditionalLibraries>GdiPlus.lib (both for debug and release) still i get error message :
fatal error C1083: Cannot open include file: 'gdiplus.h': No such file or directory
Can u please suggest me the correct version of GdiPlus.lib that is supported in eVC++

Thanks!
Questionwarning C4244: 'argument' : conversion from 'INT_PTR' to 'int', possible loss of data [modified] Pin
vibindia24-Apr-09 19:23
vibindia24-Apr-09 19:23 
AnswerRe: warning C4244: 'argument' : conversion from 'INT_PTR' to 'int', possible loss of data Pin
vibindia24-Apr-09 20:24
vibindia24-Apr-09 20:24 
QuestionShellExecute Pin
p_196024-Apr-09 18:25
p_196024-Apr-09 18:25 
AnswerRe: ShellExecute Pin
beckle24-Apr-09 22:15
beckle24-Apr-09 22:15 
QuestionCRegKey Pin
p_196024-Apr-09 18:03
p_196024-Apr-09 18:03 
AnswerRe: CRegKey Pin
CPallini24-Apr-09 21:59
mveCPallini24-Apr-09 21:59 
QuestionSelf-Taught C++? Pin
steve7606324-Apr-09 11:36
steve7606324-Apr-09 11:36 
QuestionRe: Self-Taught C++? Pin
CPallini24-Apr-09 11:52
mveCPallini24-Apr-09 11:52 
AnswerRe: Self-Taught C++? Pin
steve7606324-Apr-09 12:22
steve7606324-Apr-09 12:22 
AnswerRe: Self-Taught C++? Pin
N a v a n e e t h24-Apr-09 17:09
N a v a n e e t h24-Apr-09 17:09 
QuestionEnable/Disable menu items programmatically Pin
john john mackey24-Apr-09 8:18
john john mackey24-Apr-09 8:18 
AnswerRe: Enable/Disable menu items programmatically Pin
David Crow24-Apr-09 8:36
David Crow24-Apr-09 8:36 
GeneralRe: Enable/Disable menu items programmatically Pin
john john mackey24-Apr-09 10:29
john john mackey24-Apr-09 10:29 
QuestionRe: Enable/Disable menu items programmatically Pin
David Crow24-Apr-09 10:32
David Crow24-Apr-09 10:32 
AnswerRe: Enable/Disable menu items programmatically Pin
john john mackey24-Apr-09 10:42
john john mackey24-Apr-09 10:42 
QuestionRe: Enable/Disable menu items programmatically Pin
David Crow24-Apr-09 10:46
David Crow24-Apr-09 10:46 
AnswerRe: Enable/Disable menu items programmatically Pin
john john mackey24-Apr-09 11:26
john john mackey24-Apr-09 11:26 

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.