From: Slava P. <sl...@ba...> - 2001-06-13 07:29:46
|
Hot devel news: Added stuff to build "hpp.exe" to automatically generate "Const.idl" from FAR SDK headers. To build the utility flex tool from UNIX world is required. The nearest task: iparser utility. ".i" files are intended for replacement of all ".h"/".cpp" files of disp objects. ".i" file format will be simple enough to maintain. All routine stuff of IUknown/IDispach methods will be autogenerated. Also we will be able to autogenerated debug stuff for all methods and to solve bug with SetFileApis. To build iparser we use flex+bison (lex+yacc - if it sounds clearer), UNIX tools ported to Win32. Look in CVS for source/iparser/*.* The thing to reseach in is IScript.ConnectObject(Prefix, Object). All I found is that using IProvideClassInfo[2] gives IID of [default,source] and ITypeInfo of class object. So we can obtain typeinfo of event interface. How can we work with it? - to provide event proxying to script sink we must know event dispmethods names -> to form script function name "UserPrefix_EventMehtodName". |