Click here to Skip to main content
15,925,309 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: Direct3DCreate9 question Pin
Baltoro16-Nov-08 10:40
Baltoro16-Nov-08 10:40 
GeneralRe: Direct3DCreate9 question Pin
Pedram Behroozi16-Nov-08 11:22
Pedram Behroozi16-Nov-08 11:22 
GeneralRe: Direct3DCreate9 question Pin
Baltoro20-Nov-08 14:01
Baltoro20-Nov-08 14:01 
GeneralRe: Direct3DCreate9 question Pin
Pedram Behroozi20-Nov-08 22:02
Pedram Behroozi20-Nov-08 22:02 
GeneralRe: Direct3DCreate9 question Pin
Mark Churchill13-Jan-09 18:51
Mark Churchill13-Jan-09 18:51 
QuestionExport to Bitmap. Pin
vinay_K10-Nov-08 1:54
vinay_K10-Nov-08 1:54 
Question[please help]why i cannot render my pic?thks! Pin
kaviniswell7-Nov-08 16:19
kaviniswell7-Nov-08 16:19 
AnswerRe: [please help]why i cannot render my pic?thks! Pin
Baltoro8-Nov-08 9:39
Baltoro8-Nov-08 9:39 
It appears that you are trying to use the code from: Load JPEG and Transparant GIF Picture Files From a Resource in 3 Lines Code[^]
What exactly are you trying to do?
It also appears that you are pasting code from various sources, just to get it to work.
You should probably rethink your approach,...if you are merely trying to display a JPG image, there are MUCH simpler ways of doing it. This has the advantage that you will actually clearly understand how the code operates. If you are a novice at this kind of thing, this is important.
Does your application have to be MFC? Which operating system are you compiling for? Are you actually using a resource from your executable?
On the other hand, if you want to use the code as is, I would start off by reading the HRESULT error code returned by IPicture->Render and OleLoadPicture. Look in Winerror.h. HRESULTS[^]. The FAILED or SUCCEEDED Macros don't tell you much.
Maybe this MSDN article will help: Displaying a JPEG in your MFC Application[^].
The Source Code accompanying that article is here: Source Classes[^]
There are plenty of problems with your code, as it is.
GeneralRe: [please help]why i cannot render my pic?thks! Pin
kaviniswell12-Nov-08 19:30
kaviniswell12-Nov-08 19:30 
AnswerRe: [please help]why i cannot render my pic?thks! Pin
Mark Salsbery9-Nov-08 6:55
Mark Salsbery9-Nov-08 6:55 
QuestionHow to create water ripple in directx? Pin
Md. Ali Naser Khan5-Nov-08 23:00
Md. Ali Naser Khan5-Nov-08 23:00 
AnswerRe: How to create water ripple in directx? Pin
El Corazon7-Nov-08 14:54
El Corazon7-Nov-08 14:54 
QuestionHi there :) Please help me Pin
viashivan5-Nov-08 5:02
viashivan5-Nov-08 5:02 
QuestionSave metafile as bitmap Pin
kildareflare4-Nov-08 23:29
kildareflare4-Nov-08 23:29 
AnswerRe: Save metafile as bitmap Pin
kildareflare5-Nov-08 23:02
kildareflare5-Nov-08 23:02 
QuestionStereo Cameras and OpenCV Pin
MikeMarq4-Nov-08 7:30
MikeMarq4-Nov-08 7:30 
AnswerRe: Stereo Cameras and OpenCV Pin
Tim Craig4-Nov-08 20:01
Tim Craig4-Nov-08 20:01 
GeneralRe: Stereo Cameras and OpenCV Pin
MikeMarq5-Nov-08 5:58
MikeMarq5-Nov-08 5:58 
GeneralRe: Stereo Cameras and OpenCV Pin
Tim Craig5-Nov-08 8:04
Tim Craig5-Nov-08 8:04 
GeneralRe: Stereo Cameras and OpenCV Pin
Tim Craig5-Nov-08 22:41
Tim Craig5-Nov-08 22:41 
GeneralRe: Stereo Cameras and OpenCV Pin
MikeMarq7-Nov-08 7:38
MikeMarq7-Nov-08 7:38 
GeneralRe: Stereo Cameras and OpenCV Pin
Tim Craig7-Nov-08 13:32
Tim Craig7-Nov-08 13:32 
GeneralRe: Stereo Cameras and OpenCV Pin
MikeMarq8-Nov-08 9:07
MikeMarq8-Nov-08 9:07 
GeneralRe: Stereo Cameras and OpenCV Pin
Tim Craig8-Nov-08 14:50
Tim Craig8-Nov-08 14:50 
QuestionAnother DirectShow Problem Pin
KaldaP3-Nov-08 9:35
KaldaP3-Nov-08 9:35 

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.