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...