Click here to Skip to main content
15,913,570 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem reading 0x08 from file. Pin
David Crow9-Mar-05 10:15
David Crow9-Mar-05 10:15 
GeneralProblem in Wizard - OnCancel / OnWizardFinish Pin
g3e9-Mar-05 4:57
g3e9-Mar-05 4:57 
GeneralCall a Managed DLL from Unmanaged MFC Class Pin
morefalt9-Mar-05 4:42
morefalt9-Mar-05 4:42 
GeneralShort-circuit evaluation questions. Pin
rbid9-Mar-05 3:58
rbid9-Mar-05 3:58 
GeneralRe: Short-circuit evaluation questions. Pin
Blake Miller9-Mar-05 4:36
Blake Miller9-Mar-05 4:36 
GeneralRe: Short-circuit evaluation questions. Pin
Ryan Binns9-Mar-05 17:35
Ryan Binns9-Mar-05 17:35 
GeneralRe: Short-circuit evaluation questions. Pin
Steen Krogsgaard10-Mar-05 2:28
Steen Krogsgaard10-Mar-05 2:28 
GeneralRetreiving SafeArray Values from IDispatch Pin
Member 17837689-Mar-05 3:27
Member 17837689-Mar-05 3:27 
1. An input array and an output array is passed from Javascript to C++ prgram.
2. C++ program receives the passed javascript arrays as VT_DISPATCH SAFEARRAY's.
3. 'ADO Command' parameters created from the passed input and output arrays and a stored procedure is called.
4. Stored procedure copies input array values to output array.
5. when trying to copy value from the command object back to the output array I am facing problem.

Shown below is the code.

if(varOutParams->vt == VT_DISPATCH)
{
CAuto<safearray*, csadtor=""> ppsaOUT(SafeArrayCreate(VT_VARIANT, 1, 0));
DispToSafeArray(varOutParams->pdispVal, &ppsaOUT);
SafeArrayAccessData(ppsaOUT, (void **)&varArrParams);
int iCounter = 0;
for (prmIterator = vecOutParams.begin(); prmIterator!= vecOutParams.end(); prmIterator++)
{
pPrmObject = *prmIterator;
pPrmObject->get_Value(&varArrParams[iCounter++]);
}
vecOutParams.clear();
SafeArrayUnaccessData(ppsaOUT);
}
GeneralCapturing screenshots of fullscreen dos applications. Pin
Renny[RuS]9-Mar-05 2:50
Renny[RuS]9-Mar-05 2:50 
GeneralRe: Capturing screenshots of fullscreen dos applications. Pin
David Crow9-Mar-05 3:02
David Crow9-Mar-05 3:02 
GeneralRe: Capturing screenshots of fullscreen dos applications. Pin
Renny[RuS]9-Mar-05 9:34
Renny[RuS]9-Mar-05 9:34 
GeneralMixed Language Programming(c++ &amp; fortran) Pin
lavate malllik9-Mar-05 1:25
lavate malllik9-Mar-05 1:25 
GeneralRe: Mixed Language Programming(c++ &amp; fortran) Pin
Cedric Moonen9-Mar-05 2:16
Cedric Moonen9-Mar-05 2:16 
GeneralRe: Mixed Language Programming(c++ &amp; fortran) Pin
lavate malllik9-Mar-05 16:59
lavate malllik9-Mar-05 16:59 
GeneralDispatch Issue Pin
Lord Phoenix9-Mar-05 1:19
Lord Phoenix9-Mar-05 1:19 
GeneralMDI application with a Tree View Pin
rgchezhian9-Mar-05 1:01
rgchezhian9-Mar-05 1:01 
GeneralToolTips Display Pin
nripun9-Mar-05 0:44
nripun9-Mar-05 0:44 
GeneralRe: ToolTips Display Pin
Blake Miller9-Mar-05 4:44
Blake Miller9-Mar-05 4:44 
QuestionHow to prevent the user from moving a dialog dynamically Pin
caykahve8-Mar-05 23:53
caykahve8-Mar-05 23:53 
AnswerRe: How to prevent the user from moving a dialog dynamically Pin
Iain Clarke, Warrior Programmer9-Mar-05 1:45
Iain Clarke, Warrior Programmer9-Mar-05 1:45 
GeneralRe: How to prevent the user from moving a dialog dynamically Pin
caykahve9-Mar-05 23:46
caykahve9-Mar-05 23:46 
AnswerRe: How to prevent the user from moving a dialog dynamically Pin
Ravi Bhavnani9-Mar-05 3:20
professionalRavi Bhavnani9-Mar-05 3:20 
GeneralProblem in making a dll Pin
Rakesh G Pai8-Mar-05 23:02
Rakesh G Pai8-Mar-05 23:02 
GeneralRe: Problem in making a dll Pin
David Crow9-Mar-05 3:06
David Crow9-Mar-05 3:06 
GeneralRe: Problem in making a dll Pin
Blake Miller9-Mar-05 4:49
Blake Miller9-Mar-05 4:49 

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.