Click here to Skip to main content
15,893,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Doulbe Click on Dialog Pin
Hamid_RT20-May-08 2:37
Hamid_RT20-May-08 2:37 
QuestionHow can Move Next and Prev Record in Databse? Pin
Le@rner19-May-08 19:06
Le@rner19-May-08 19:06 
AnswerRe: How can Move Next and Prev Record in Databse? Pin
ShilpiP19-May-08 19:56
ShilpiP19-May-08 19:56 
GeneralRe: How can Move Next and Prev Record in Databse? Pin
Le@rner19-May-08 20:17
Le@rner19-May-08 20:17 
GeneralRe: How can Move Next and Prev Record in Databse? Pin
ShilpiP19-May-08 21:02
ShilpiP19-May-08 21:02 
GeneralRe: How can Move Next and Prev Record in Databse? Pin
Le@rner19-May-08 21:10
Le@rner19-May-08 21:10 
QuestionVS2008 Pin
 Programmer.19-May-08 18:41
 Programmer.19-May-08 18:41 
QuestionOleLoadPicture() function not loading .jpg files with color mode CYMK [modified] Pin
Priya_Sundar19-May-08 18:41
Priya_Sundar19-May-08 18:41 
Hi All,

I basically use this to load/display a .jpg file.

if (OleLoadPicture(pStream,dwSize,FALSE,IID_IPicture,
			reinterpret_cast<LPVOID *>(&m_pPicture)) != S_OK)
		{
			pStream->Release();
			return 10;
		};
		pStream->Release();



This code is working fine for most of the files with all the .jpg files with RGB Color mode.

But for a .jpg file created with CMYK(Cyan, Magenta, Yellow, KeyColor-Black), I am not able to open the file, I get the error "E_NOINTERFACE - The object does not support the interface specified in riid(IID_IPicture in the function)." - Unable to get the image interface.

Kindly help!

Thanks.

Priya Sundar

modified on Tuesday, May 20, 2008 5:29 AM

AnswerRe: Loading a .jpg picture file Pin
Hamid_RT19-May-08 18:46
Hamid_RT19-May-08 18:46 
GeneralRe: Loading a .jpg picture file Pin
Priya_Sundar19-May-08 18:55
Priya_Sundar19-May-08 18:55 
AnswerRe: Loading a .jpg picture file Pin
ShilpiP19-May-08 20:16
ShilpiP19-May-08 20:16 
GeneralRe: Loading a .jpg picture file Pin
Priya_Sundar19-May-08 23:27
Priya_Sundar19-May-08 23:27 
QuestionUsing MySQL++ from VC++ 6.0/2005 Environment [modified] Pin
bs197719-May-08 14:58
bs197719-May-08 14:58 
AnswerRe: Using MySQL++ from VC++ 6.0/2005 Environment Pin
ShilpiP19-May-08 19:11
ShilpiP19-May-08 19:11 
GeneralRe: Using MySQL++ from VC++ 6.0/2005 Environment Pin
bs197719-May-08 21:19
bs197719-May-08 21:19 
QuestionReturn new object in COM DLL. Pin
RYU^^19-May-08 13:56
RYU^^19-May-08 13:56 
Questionplz urgent!!! Pin
Apu Nahasapeemapetilon19-May-08 13:20
Apu Nahasapeemapetilon19-May-08 13:20 
AnswerRe: plz urgent!!! Pin
Chris Maunder19-May-08 13:41
cofounderChris Maunder19-May-08 13:41 
AnswerRe: plz urgent!!! Pin
Nelek19-May-08 14:32
protectorNelek19-May-08 14:32 
AnswerRe: plz urgent!!! Pin
Stephen Hewitt19-May-08 18:50
Stephen Hewitt19-May-08 18:50 
AnswerRe: plz urgent!!! Pin
toxcct19-May-08 21:45
toxcct19-May-08 21:45 
QuestionRe: plz urgent!!! Pin
CPallini19-May-08 22:11
mveCPallini19-May-08 22:11 
AnswerRe: plz urgent!!! Pin
fat_boy29-May-08 3:41
fat_boy29-May-08 3:41 
AnswerRe: plz urgent!!! Pin
ThatsAlok6-Jul-09 21:14
ThatsAlok6-Jul-09 21:14 
Questioncode for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
mrby12319-May-08 11:24
mrby12319-May-08 11:24 

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.