Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Control panel applet icon Pin
David Crow10-Mar-05 5:18
David Crow10-Mar-05 5:18 
GeneralRe: Control panel applet icon Pin
sunilkumar_prog12-Mar-05 0:49
sunilkumar_prog12-Mar-05 0:49 
GeneralhDC,undeclared identifier error Pin
Member 16927359-Mar-05 20:03
Member 16927359-Mar-05 20:03 
GeneralRe: hDC,undeclared identifier error Pin
Branislav10-Mar-05 0:28
Branislav10-Mar-05 0:28 
GeneralHi... Great People.... Pin
deldeep9-Mar-05 19:16
deldeep9-Mar-05 19:16 
GeneralRe: Hi... Great People.... Pin
Tareq Ahmed Siraj9-Mar-05 20:11
Tareq Ahmed Siraj9-Mar-05 20:11 
GeneralRe: Hi... Great People.... Pin
deldeep11-Mar-05 18:42
deldeep11-Mar-05 18:42 
GeneralReadDebuggeeMemory Pin
Aleksan9-Mar-05 19:16
Aleksan9-Mar-05 19:16 
I want use this function to view STL vector in watch window of Visual Studio debugger.

the function realisation lookes like this:

HRESULT WINAPI INT_VECTOR_TYPE_Evaluate( DWORD dwAddress, DEBUGHELPER *pHelper, int nBase, BOOL bUniStrings, char *pResult, size_t max, DWORD reserved )
{
std::vector<int,std::allocator<int> > vct;

DWORDLONG qwRealAddress;
DWORD nGot;

if (pHelper->dwVersion<0x20000)
{
// Visual C++ 6.0 version
if(pHelper->ReadDebuggeeMemory( pHelper,
dwAddress,
/*what size i must pass here */
, &vct, &nGot )!=S_OK)
/* at this point we have "access violation"
return E_FAIL;
}

return 0;
}

In sample from MSDN there is structure and all workes ok.
What about vectors?
Generalhelp needed SafeArrayAccessData Pin
arusmemon9-Mar-05 18:25
arusmemon9-Mar-05 18:25 
GeneralRe: help needed SafeArrayAccessData Pin
Tareq Ahmed Siraj9-Mar-05 19:40
Tareq Ahmed Siraj9-Mar-05 19:40 
QuestionHow to Transfer the image Captured using Screen Capture Code to other machine Pin
karmegakumar9-Mar-05 18:13
karmegakumar9-Mar-05 18:13 
AnswerRe: How to Transfer the image Captured using Screen Capture Code to other machine Pin
spinoza16-May-05 21:42
spinoza16-May-05 21:42 
GeneralMemory Problems with new, delete and CObArray Pin
NeoHobbit9-Mar-05 16:54
NeoHobbit9-Mar-05 16:54 
GeneralRe: Memory Problems with new, delete and CObArray Pin
Christian Graus9-Mar-05 17:05
protectorChristian Graus9-Mar-05 17:05 
GeneralRe: Memory Problems with new, delete and CObArray Pin
NeoHobbit9-Mar-05 17:14
NeoHobbit9-Mar-05 17:14 
GeneralGetOpenFileName in a service Pin
TheGreatAndPowerfulOz9-Mar-05 14:48
TheGreatAndPowerfulOz9-Mar-05 14:48 
GeneralRe: GetOpenFileName in a service Pin
TheGreatAndPowerfulOz9-Mar-05 14:52
TheGreatAndPowerfulOz9-Mar-05 14:52 
GeneralRe: GetOpenFileName in a service Pin
xxrl9-Mar-05 17:06
xxrl9-Mar-05 17:06 
GeneralRe: GetOpenFileName in a service Pin
Ryan Binns9-Mar-05 17:28
Ryan Binns9-Mar-05 17:28 
GeneralRe: GetOpenFileName in a service Pin
TheGreatAndPowerfulOz10-Mar-05 10:23
TheGreatAndPowerfulOz10-Mar-05 10:23 
Generalget exe path Pin
Marcus Spitzmiller9-Mar-05 14:07
Marcus Spitzmiller9-Mar-05 14:07 
GeneralRe: get exe path Pin
Christian Graus9-Mar-05 14:47
protectorChristian Graus9-Mar-05 14:47 
GeneralRe: get exe path Pin
Marcus Spitzmiller9-Mar-05 14:59
Marcus Spitzmiller9-Mar-05 14:59 
GeneralRe: get exe path Pin
gamitech9-Mar-05 21:13
gamitech9-Mar-05 21:13 
Generalmergesort Pin
Ylis9-Mar-05 9:24
Ylis9-Mar-05 9: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.