On Mon, 17 May 2010, Mindaugas Kavaliauskas wrote:

Hi,
> On 2010.05.17 14:37, dru...@users.sourceforge.net wrote:
> >     + added to C functions:
> >          int hb_dynsymToNum( PHB_DYNS pDynSym );
> >          PHB_DYNS hb_dynsymFromNum( int iSymNum );
> >       which can be used to make conversion between dynamic symbols and
> >       numbers
> It is interesting, what new code is behind this modifications? :)
> Remote function/method execution or that? :)

Yes. I've wrote inproc OLE server for Harbour and it uses above
functions to convert function/method/memvar symbols to DISPID in
GetIDsOfNames() dispatch method and they are later converted back
to symbols in Invoke() method.
I've finished the code but I have no idea if it works or not.
I've wrote everything using only documentation in the internet
and haven't made any real life test so far so I do not want to
make it public it yet.
The idea is to create library which can be used by users to
easy create own OLE servers. My current code should fully
emulate the xHarbour.com ole server API:
   http://xharbour.com/index.asp?page=add_on_oleserver&show_sub=7&show_i=1
and this is one of the possible usage method. I also plan to add
OLE wrappers to HBNETIO so users can use HBNETIO RPC from any other
language which supports OLE, i.e. from Visual Basic or some .NET
language.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to