Hi

? valtype( oDialogs:calendar ) -> U
This is OK as at this point :calendar property is uninitialized.


oDialogs:calendar := oCal  ->    GPF 

If I omit above line then Calandar Control behaves properly.
I just cannot open any of the dialogs provided by the control.
Later one more error is generated but so far I am concentrating
upto this point. 

It also implies that oCal is initialized properly. 
oDialog is also intialized properly but do not accept oCal.

May be this gives a clue.

? HB_Atl_AddRef( oCal:__hObj ) -> 6 == INVALID HANDLE   ???

HB_FUNC( HB_ATL_ADDREF )
{
   IDispatch *pDisp = ( IDispatch * ) hb_oleParam( 1 );
   HRESULT hr = pDisp->lpVtbl->AddRef( pDisp );
   hb_retni( ( int ) hr );
}

Regards
Pritpal Bedi
-- 
View this message in context: 
http://www.nabble.com/Errors-with-11032-tp23521549p23627409.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to