HRESULT STDMETHODCALLTYPE ImplIPersistStreamInit::Save( /* [unique][in] */
IStream *pStm, /* [in] */ BOOL fClearDirty )
{
char dummy[ 10 ] = { 0 };
ULONG NumBytesWritten = 0;
EDM_DebugMessage( "IPersistStreamInit-Interface: called Save." );
if ( pStm != NULL ) {
// actually write some dummy data to the stream
pStm -> Write( ( void* ) dummy, 10, &NumBytesWritten ); // write 10 bytes
AdviseHolder -> SendOnSave();
} else {
return( E_UNEXPECTED );
}
AdviseHolder -> SendOnSave();
return( S_OK );
}
What am i doing wrong? Is there some documentation like "Programming
ActiveX-Controls for Visual Basic in C++" What are the equirements a
ActiveX-Control must meet to work with VB. Because it works with the
Testcontainer i assume that i have to meet some special requirements for VB.
Thanks in advance for the help.
Thomas
Thanks for the help.
Thomas
"Hans-Thomas Götz" <htg...@web.de> schrieb im Newsbeitrag
news:a2on5g$ben$03$1...@news.t-online.com...
We highly recommend you post to microsoft.public.win32.programmer.ole
as the best place to discuss any COM or OLE programming issues. MSDN
managed newsgroup users need to post future questions there as well.
Thanks!
--
Eric Sassaman
Microsoft Support
This posting is provided AS IS with no warranties, and confers no rights.
"Hans-Thomas Götz" <htg...@web.de> wrote in message
news:a2on5g$ben$03$1...@news.t-online.com...