* harbour/contrib/rddsql/sddodbc/odbcdd.c ! added dummy unicode conversion macros to fix compilation in non windows builds* harbour/contrib/hbwin/olecore.c ! casting * harbour/contrib/hbwin/axcore.c ! fixed unicode and WinCE compilation ! casting
Hi, a few questions just to make a C knowledge better... 1) typedef HRESULT ( CALLBACK * PHB_AX_GETCTRL )( HWND, IUnknown** ); ptr = ( PHB_AX_GETCTRL ) GetProcAddress( s_hLib, "AtlAxGetControl" ); Can function pointer type be casted without definition of new type? 2) - pSink->lpVtbl = &ISink_Vtbl; + pSink->lpVtbl = ( IDispatchVtbl * ) &ISink_Vtbl; Why compiler generated an error here? ISink_Vtbl has IDispatchVtbl type. Regards, Mindaugas _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
