PDA

View Full Version : Can't register stdole2.tlb file



Andrey77
12-29-2004, 02:06 PM
I run code:
nvResult = UseDLL( SUPPORTDIR ^ "_regtlb.dll" );

if ( nvResult < 0 ) then
MessageBox( "Can't load type library registration DLL.",SEVERE );
return nvResult;
else
_regtlb.RegTlbFile32( WINSYSDIR ^ "stdole2.tlb" );
UnUseDLL( SUPPORTDIR ^ "_regtlb.dll");
endif;

But on the line _regtlb.RegTlbFile32( WINSYSDIR ^ "stdole2.tlb" );
it's crashing, what could I do with that? :mad: