Przemysław Czerpak wrote: > modifications. I can compile the .PRG client and server example from > xHarbour.com OLE server page. I only have to link at least one of > components (server or client) statically because both linked dynamically > with the same harbour.dll shares the same HVM so server fails inside > hb_vmInit(). I can add protection against multiple HVM initialization > anyhow using the same HVM for client and server code introduces > interactions between them which do not use OLE API, i.e. they will > use the same static variables. > In OS/2 this is a .dll definition at compile time, that is, INITINSTANCE clause inside .def file which tells the OS that the data segment has to be private for each process that attaches to that .dll.
Hope this helps. Maurilio. PS. I'm sorry I haven't tested your serial routines under OS/2 yet, I simply don't have any spare time right now, but they build fine, at least. -- __________ | | | |__| Maurilio Longo |_|_|_|____| farmaconsult s.r.l. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour