I'm having to make some changes to an application that is using VPE Pro 3.10.0.2 (DLL is dated 13/10/1999). The application is written using MFC VC6.
I'm trying to turn of the VPE Toolbar, so that I can use my own. I have tried the following, which I thought would work. But instead crashes the application:
- Code: Select all
- long OpenDocumentFlags = 0;
 OpenDocumentFlags |= VPE_NO_TOOLBAR;
 OpenDocumentFlags |= VPE_EMBEDDED;
 hDocument = VpeOpenDoc(hWnd, WindowTitle, OpenDocumentFlags);
I've tried without the VPE_EMBEDDED and it still crashes
 
 
Any ideas?
Thanks
Gibbo

 ..
..  
 , turns out that i was invoking the VpeEnableMailButton.  Which seems to cause problems when the toolbar isn't there..
 , turns out that i was invoking the VpeEnableMailButton.  Which seems to cause problems when the toolbar isn't there..