Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: "show Desktop" interceptor Pin
shrimps2413-Apr-04 10:57
shrimps2413-Apr-04 10:57 
GeneralRe: "show Desktop" interceptor Pin
gUrM33T13-Apr-04 15:42
gUrM33T13-Apr-04 15:42 
GeneralStack Problem Clarified Pin
Anonymous13-Apr-04 10:26
Anonymous13-Apr-04 10:26 
GeneralRe: Stack Problem Clarified Pin
Anonymous13-Apr-04 10:27
Anonymous13-Apr-04 10:27 
GeneralRe: Stack Problem Clarified Pin
Daniel Turini13-Apr-04 10:58
Daniel Turini13-Apr-04 10:58 
GeneralRe: Stack Problem Clarified Pin
Anonymous14-Apr-04 1:07
Anonymous14-Apr-04 1:07 
GeneralRe: Stack Problem Clarified Pin
Paul Ranson14-Apr-04 4:20
Paul Ranson14-Apr-04 4:20 
GeneralRelease Mode ATL Problem Pin
nlecren13-Apr-04 9:58
nlecren13-Apr-04 9:58 
i have the following problem, if i declare a variable in a local function and then assign a value in a try block under release min dependency the value is corrupt or the same as it was before the try block upon entering the catch. Please what am i doing wrong?? The code is below:

STDMETHODIMP CCMI_BioWrapper::QueryTemplate(BSTR Badge,BSTR *Response)
{
AFX_MANAGE_STATE(AfxGetStaticModuleState())

int nRetCode;
CString strVal;

nRetCode = 0;

try
{
nRetCode = 99;
return S_OK;
}
catch(...)
{
// I would expect nRetCode to be 99 here
// however it is always 0, unless i do a debug build
// then it always works

strVal.Format("Q0 %d",nRetCode);
*Response = strVal.AllocSysString();

return S_OK;
}
}
GeneralCheck the Status of a URL Pin
Renjith Ramachandran13-Apr-04 8:20
Renjith Ramachandran13-Apr-04 8:20 
GeneralRe: Check the Status of a URL Pin
David Crow13-Apr-04 8:31
David Crow13-Apr-04 8:31 
GeneralRe: Check the Status of a URL Pin
Renjith Ramachandran13-Apr-04 8:43
Renjith Ramachandran13-Apr-04 8:43 
GeneralRe: Check the Status of a URL Pin
basementman13-Apr-04 9:50
basementman13-Apr-04 9:50 
GeneralRe: Check the Status of a URL Pin
Renjith Ramachandran13-Apr-04 21:01
Renjith Ramachandran13-Apr-04 21:01 
GeneralRe: Check the Status of a URL Pin
basementman14-Apr-04 3:56
basementman14-Apr-04 3:56 
GeneralUnmanaged pointer in a managed class? (C3160) Pin
mccoyn13-Apr-04 8:19
mccoyn13-Apr-04 8:19 
GeneralStack overflow problem Pin
Anonymous13-Apr-04 8:16
Anonymous13-Apr-04 8:16 
GeneralRe: Stack overflow problem Pin
Blake Miller14-Apr-04 5:53
Blake Miller14-Apr-04 5:53 
GeneralTree Control Questions. Pin
Maximilien13-Apr-04 7:47
Maximilien13-Apr-04 7:47 
GeneralRe: Tree Control Questions. Pin
Iain Clarke, Warrior Programmer13-Apr-04 23:23
Iain Clarke, Warrior Programmer13-Apr-04 23:23 
General2 ListBoxes 1 scrollbar Pin
doctorpi13-Apr-04 7:35
doctorpi13-Apr-04 7:35 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
basementman13-Apr-04 10:04
basementman13-Apr-04 10:04 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
doctorpi14-Apr-04 3:26
doctorpi14-Apr-04 3:26 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
basementman14-Apr-04 4:07
basementman14-Apr-04 4:07 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
doctorpi14-Apr-04 6:38
doctorpi14-Apr-04 6:38 
GeneralRegEnumValue problems. Pin
HAHAHA_NEXT13-Apr-04 7:29
HAHAHA_NEXT13-Apr-04 7:29 

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.