|
From: David F. <da...@sj...> - 2005-01-14 09:08:55
|
Lee W wrote: > Hi, > > I recently discovered Mingw and so far I've been quite impressed, it > has certainly helped me get back interested in programming on Windows. > > Currently I'm just starting a project to enable any OS (eventually, > but starting with Linux) to monitor the NT Event logs, currently the > only way to do this seems to be to use Microsoft's own API, hence my > interest in Mingw. I figured the best way to do with would be with > some kind of open and adaptable method, so I looked into XML-RPC. > > All the major Linux programming languages seem to have this support > (PHP, Python, C/C++) but documentation on the Windows side in C/C++ > seems a little thin. So I thought I could do this one of two ways. > > Try to combine MingW with one of the XML-RPC libraries available > (either XMLRPC-C or XMLRPC-EPI). Has anyone had any luck with this > and can offer any pointers? > > Secondly, use Java & RMI to allow a mostly cross-platform program but > with the Windows Specific bits in C. This I have already tried by it > seems I'm lacking the required sys/ipc.h, sys/shm.h and sys/mman.h for > the RMI header file. Any ideas where I could get these? > > I would appreciate any assistance or advice someone can offer. > > Thanks for your time > > Lee Not really answering your question, but I think you may find that Python's pywin32 extensions give you nice access to the NT Event logs which you could then combine with the XML-RPC support Cheers David |