Click here to Skip to main content
16,006,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ Developer Studio Pin
Christian Graus20-Nov-00 11:51
protectorChristian Graus20-Nov-00 11:51 
GeneralHowto minimize memory-needs of WTL app Pin
Mody_CZ20-Nov-00 3:59
Mody_CZ20-Nov-00 3:59 
Generalproperty sheet Pin
koteswara20-Nov-00 2:55
koteswara20-Nov-00 2:55 
GeneralIActiveDesktop undefined but not IContextMenu Pin
19-Nov-00 22:55
suss19-Nov-00 22:55 
GeneralRe: IActiveDesktop undefined but not IContextMenu Pin
20-Nov-00 4:09
suss20-Nov-00 4:09 
QuestionHow to store images in an access database Pin
Wolfram Steinke19-Nov-00 22:41
Wolfram Steinke19-Nov-00 22:41 
AnswerRe: How to store images in an access database Pin
20-Nov-00 22:22
suss20-Nov-00 22:22 
GeneralShellExtension & PropertyPage & WTL Pin
Mody_CZ19-Nov-00 21:34
Mody_CZ19-Nov-00 21:34 
Hi,
I've made small shellextension and it works fine. Next, I want to add propertysheet extension. So I read one Complete Idiot's guide. Because I love WTL, I've tried to use CPropertyPage from WTL in AddPages method of IShellPropSheetExt interface. But when the extension is called, it goes down with "the memory cannot be read" in altwin.h. I cant find a way through. Can anyone help?

HRESULT CDbfExtension::AddPages(LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam)
{
HPROPSHEETPAGE hPage;

CPropertyProppage m_PropPage;
m_PropPage.m_psp.dwFlags|=PSP_PREMATURE;
m_PropPage.SetTitle(_T("DBF INFO"));
hPage=m_PropPage.Create();

if ( NULL != hPage )
{
// Call the shell's callback function, so it adds the page to
// the property sheet.
if ( !lpfnAddPage ( hPage, lParam ))
DestroyPropertySheetPage ( hPage );
}

return S_OK;
}

GeneralRe: ShellExtension & PropertyPage & WTL Pin
Michael Dunn20-Nov-00 7:51
sitebuilderMichael Dunn20-Nov-00 7:51 
GeneralRe: ShellExtension & PropertyPage & WTL Pin
Mody20-Nov-00 20:35
Mody20-Nov-00 20:35 
GeneralRe: ShellExtension & PropertyPage & WTL Pin
Michael Dunn21-Nov-00 15:22
sitebuilderMichael Dunn21-Nov-00 15:22 
GeneralRe: ShellExtension & PropertyPage & WTL Pin
Mody21-Nov-00 20:23
Mody21-Nov-00 20:23 
GeneralVisual C++ 6 Pin
19-Nov-00 17:46
suss19-Nov-00 17:46 
GeneralRe: Visual C++ 6 Pin
VitSoft20-Nov-00 3:33
VitSoft20-Nov-00 3:33 
QuestionCould I add a program shortcut to desktop using VC? Pin
19-Nov-00 16:40
suss19-Nov-00 16:40 
AnswerRe: Could I add a program shortcut to desktop using VC? Pin
20-Nov-00 1:11
suss20-Nov-00 1:11 
GeneralIm a new programer with a stupid Question Pin
19-Nov-00 10:47
suss19-Nov-00 10:47 
GeneralRe: Im a new programer with a stupid Question Pin
Wolfram Steinke19-Nov-00 12:10
Wolfram Steinke19-Nov-00 12:10 
GeneralVery helpess Pin
19-Nov-00 5:32
suss19-Nov-00 5:32 
GeneralRe: Very helpess Pin
Wolfram Steinke19-Nov-00 12:17
Wolfram Steinke19-Nov-00 12:17 
GeneralRe: Very helpess Pin
Christian Graus19-Nov-00 13:20
protectorChristian Graus19-Nov-00 13:20 
GeneralComplie tool for .h file Pin
18-Nov-00 23:12
suss18-Nov-00 23:12 
GeneralRe: Complie tool for .h file Pin
Tim Deveaux19-Nov-00 5:23
Tim Deveaux19-Nov-00 5:23 
GeneralRecommendation of a good visual c++ book Pin
18-Nov-00 19:55
suss18-Nov-00 19:55 
GeneralRe: Recommendation of a good visual c++ book Pin
Christian Graus19-Nov-00 12:34
protectorChristian Graus19-Nov-00 12:34 

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.