Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionReport tool Pin
rastaVnuce26-Apr-09 12:32
rastaVnuce26-Apr-09 12:32 
Questionhow to convert byte array of .jpg and .jp2 images to Bitmap byte array in VC++? Pin
kapardhi26-Apr-09 4:09
kapardhi26-Apr-09 4:09 
AnswerRe: how to convert byte array of .jpg and .jp2 images to Bitmap byte array in VC++? Pin
CPallini26-Apr-09 4:47
mveCPallini26-Apr-09 4:47 
GeneralRe: how to convert byte array of .jpg and .jp2 images to Bitmap byte array in VC++? Pin
Hamid_RT26-Apr-09 6:34
Hamid_RT26-Apr-09 6:34 
GeneralRe: how to convert byte array of .jpg and .jp2 images to Bitmap byte array in VC++? Pin
CPallini26-Apr-09 6:56
mveCPallini26-Apr-09 6:56 
GeneralRe: how to convert byte array of .jpg and .jp2 images to Bitmap byte array in VC++? Pin
kapardhi26-Apr-09 18:49
kapardhi26-Apr-09 18:49 
AnswerRe: how to convert byte array of .jpg and .jp2 images to Bitmap byte array in VC++? Pin
Hamid_RT26-Apr-09 6:33
Hamid_RT26-Apr-09 6:33 
QuestionControl not coming to the new method after .odl modification? [modified] Pin
SIJUTHOMASP26-Apr-09 3:02
professionalSIJUTHOMASP26-Apr-09 3:02 
Hi,

I had to modify the .odl file for adding one more method. Any idea why its not coming to the newmethod while debugging..I have checked the MIDl and the tlb is created file with res.

test.odl
dispinterface _programctrl<br />
{<br />
[id(30)] boolean newmethod(BSTR var1,BSTR var2, BSTR var3, BSTR var4, BSTR var5);<br />
}<br />


The method is coming fine when I have tested on the activextest container but the problem is when I invoke the method it is not coming to the program while debugging..I have opted 30 as id random number.id[30]

I have called the method like this
testpgm.cpp
DISP_FUNCTION(testcontrl, "newmethod", newmethod, VT_BOOL, VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR)<br />
<br />
//<br />
BOOL testpgm::newmethod(LPCTSTR var1,LPCTSTR var2,LPCTSTR var3,LPCTSTR var4,LPCTSTR var5) <br />
{<br />
	<br />
	return TRUE;<br />
}<br />
<br />

testpgm.h
dispidnewmethod = 30L


Thanks,
Rahul..

SoftwareDeveloper(.NET)

modified on Sunday, April 26, 2009 9:11 AM

AnswerRe: Control not coming to the new method after .odl modification? Pin
SIJUTHOMASP26-Apr-09 9:31
professionalSIJUTHOMASP26-Apr-09 9:31 
Questionextern variable Pin
durban225-Apr-09 21:25
durban225-Apr-09 21:25 
AnswerRe: extern variable Pin
Stuart Dootson25-Apr-09 21:47
professionalStuart Dootson25-Apr-09 21:47 
AnswerRe: extern variable Pin
ThatsAlok26-Apr-09 18:31
ThatsAlok26-Apr-09 18:31 
Questionconstructor and OnInitDialog() Pin
durban225-Apr-09 21:21
durban225-Apr-09 21:21 
AnswerRe: constructor and OnInitDialog() Pin
Stuart Dootson25-Apr-09 21:42
professionalStuart Dootson25-Apr-09 21:42 
AnswerRe: constructor and OnInitDialog() Pin
ThatsAlok26-Apr-09 21:18
ThatsAlok26-Apr-09 21:18 
QuestionFont text on command button Pin
durban225-Apr-09 21:16
durban225-Apr-09 21:16 
AnswerRe: Font text on command button Pin
Stuart Dootson25-Apr-09 21:38
professionalStuart Dootson25-Apr-09 21:38 
AnswerRe: Font text on command button Pin
Hamid_RT25-Apr-09 22:51
Hamid_RT25-Apr-09 22:51 
QuestionMFC exe Pin
linux_xjtu25-Apr-09 17:36
linux_xjtu25-Apr-09 17:36 
AnswerRe: MFC exe Pin
Stuart Dootson25-Apr-09 21:32
professionalStuart Dootson25-Apr-09 21:32 
Question3d object with transparent background Pin
high25-Apr-09 9:38
high25-Apr-09 9:38 
QuestionHow to Find files using http url path? Pin
SIJUTHOMASP25-Apr-09 6:05
professionalSIJUTHOMASP25-Apr-09 6:05 
AnswerRe: How to Find files using http url path? Pin
Stuart Dootson25-Apr-09 6:12
professionalStuart Dootson25-Apr-09 6:12 
GeneralRe: How to Find files using http url path? Pin
SIJUTHOMASP25-Apr-09 6:50
professionalSIJUTHOMASP25-Apr-09 6:50 
QuestionRe: How to Find files using http url path? Pin
David Crow25-Apr-09 16:46
David Crow25-Apr-09 16:46 

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.