Click here to Skip to main content
15,915,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: saving the screen Pin
vikas amin18-Aug-08 7:59
vikas amin18-Aug-08 7:59 
GeneralRe: saving the screen Pin
Chandrasekharan P18-Aug-08 19:05
Chandrasekharan P18-Aug-08 19:05 
GeneralRe: saving the screen Pin
vikas amin19-Aug-08 4:25
vikas amin19-Aug-08 4:25 
GeneralRe: saving the screen Pin
vikas amin19-Aug-08 5:04
vikas amin19-Aug-08 5:04 
QuestionNavigating Between Buttons Pin
T.RATHA KRISHNAN17-Aug-08 23:11
T.RATHA KRISHNAN17-Aug-08 23:11 
AnswerRe: Navigating Between Buttons Pin
Chandrasekharan P17-Aug-08 23:15
Chandrasekharan P17-Aug-08 23:15 
AnswerRe: Navigating Between Buttons Pin
Hamid_RT18-Aug-08 4:54
Hamid_RT18-Aug-08 4:54 
QuestionHow To add VB ActiveX file into VC++ program??? Pin
savitri17-Aug-08 22:56
savitri17-Aug-08 22:56 
Hello EveryOne,

Hi..I am doing one vc++ program in that i want to call VB OCX file.I am doing that but when i am accessing the funtions from the ocx or activex control it is giving error.in VB OCX program function is like this:
Public Sub Processattendacne(strProcess As Integer)
lblProcessing.Caption = strProcess
End Sub
when i am adding know then this function is like this:
void C_UserControl1::Processattendacne(BSTR* strProcess)
{
static BYTE parms[] =
VTS_PBSTR;
InvokeHelper(0x60030000, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
strProcess);
}
I am calling this function in my program it is giving parameter missmatch error..like this..
void CPassingVarsDlg::OnGetIt()
{
// TODO: Add your control notification handler code here
CString str='s';
m_UserVariable.Processattendacne(str);
}
ERROR IS LIKE THIS:
:\Program Files\Microsoft Visual Studio\My Projects\PassingVars\PassingVarsDlg.cpp(177) : error C2664: 'Processattendacne' : cannot convert parameter 1 from 'class CString' to 'unsigned short ** '
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Error executing cl.exe.

Please Help me out to solve this problem.I am not getting which datatype i have to use to resovle this problem.

Reply me As Soon As Possible..
Thanks In Advance,
Savitri
QuestionRe: How To add VB ActiveX file into VC++ program??? PinPopular
CPallini17-Aug-08 23:33
mveCPallini17-Aug-08 23:33 
AnswerRe: How To add VB ActiveX file into VC++ program??? Pin
savitri18-Aug-08 0:22
savitri18-Aug-08 0:22 
GeneralRe: How To add VB ActiveX file into VC++ program??? Pin
CPallini18-Aug-08 0:58
mveCPallini18-Aug-08 0:58 
GeneralRe: How To add VB ActiveX file into VC++ program??? Pin
savitri18-Aug-08 2:09
savitri18-Aug-08 2:09 
GeneralRe: How To add VB ActiveX file into VC++ program??? Pin
CPallini18-Aug-08 2:14
mveCPallini18-Aug-08 2:14 
GeneralRe: How To add VB ActiveX file into VC++ program??? Pin
savitri18-Aug-08 2:28
savitri18-Aug-08 2:28 
GeneralRe: How To add VB ActiveX file into VC++ program??? Pin
CPallini18-Aug-08 2:42
mveCPallini18-Aug-08 2:42 
GeneralRe: How To add VB ActiveX file into VC++ program??? Pin
savitri18-Aug-08 3:16
savitri18-Aug-08 3:16 
QuestionBuilding an audio encoder that ecodes mp3 to a custom format (*.btm) + the Decoder Pin
jakeblake17-Aug-08 22:56
jakeblake17-Aug-08 22:56 
AnswerRe: Building an audio encoder that ecodes mp3 to a custom format (*.btm) + the Decoder Pin
liquid_18-Aug-08 10:58
liquid_18-Aug-08 10:58 
GeneralRe: Building an audio encoder that ecodes mp3 to a custom format (*.btm) + the Decoder Pin
jakeblake18-Aug-08 21:56
jakeblake18-Aug-08 21:56 
QuestionWinsock: CSocket or something else? Pin
bigcivilmelon17-Aug-08 22:50
bigcivilmelon17-Aug-08 22:50 
AnswerRe: Winsock: CSocket or something else? Pin
Jijo.Raj17-Aug-08 22:58
Jijo.Raj17-Aug-08 22:58 
AnswerRe: Winsock: CSocket or something else? Pin
Mark Salsbery18-Aug-08 8:21
Mark Salsbery18-Aug-08 8:21 
Questionfail to set 404 custom error page on windows 2003. Pin
ptr_Electron17-Aug-08 21:29
ptr_Electron17-Aug-08 21:29 
Questionrestart - logonuser Pin
pooja_friends17-Aug-08 20:50
pooja_friends17-Aug-08 20:50 
AnswerSuggestion Pin
SandipG 17-Aug-08 21:28
SandipG 17-Aug-08 21:28 

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.