Hello Saveliy!
Hi. I'm implementing an EventLog service now. I want to make it 100% compatible with windows. Windows machines will be able to access reactos eventlog via rpc.
That's great! Thanks for your contribution!
Undocumented rpc interface is almost reversed now. You can find it in attached archive with some tests. Ansi functions work very well, but I have some problems with unicode ones. When I pass initialized with nulls UNICODE_STRING to a function, it works. When I initialize structure with some other values, exception is raised on server side (1783 Stub received bad data). I don't know why this happens. Advapi32 initializes structures with RtlInitUnicodeString, nothing special. Any ideas?
No, not yet.
And I don't know how to compile this with widl and gcc. SEH is not implemented in gcc, right? How rpc exceptions are handled in ROS? Widl returns strange errors. Somebody familiar with widl please help me =)
WIDL is not ready to compile your attached eventlogrpc.idl because a lot of required features are not implemented yet. WIDL might crash, return strange error messages or generate buggy stub code.
WIDL generates SEH-protected stub code. When gcc compiles the stub code the SEH code gets disabled by rpc.h because gcc does not support SEH. But we are able to implement support for our ReactOS-specific SEH macros.
Implementing the required features will take several months because I have very very little time to work on ReactOS.
Regards Eric Kohl