Post AXF70EljlidMip6pyi by dwarf@borg.social
(DIR) More posts by dwarf@borg.social
(DIR) Post #AXDylzgq2eQP6rYUaG by rq@borg.social
2023-06-30T17:46:07.727Z
0 likes, 0 repeats
https://learn.microsoft.com/en-us/windows/win32/rpc/rpc-start-pageWhere is it applicable?You can use RPC in all client/server applications based on Windows operating systems. It can also be used to create client and server programs for heterogeneous network environments that include such operating systems as Unix and Apple.You have got to be shitting me.
(DIR) Post #AXDym0MJYRbNBUxcES by rq@borg.social
2023-06-30T17:47:37.834Z
0 likes, 0 repeats
It then proceeds to say absolutely nothing about how it would interoperate with any other operating systems.
(DIR) Post #AXDym0xXK3NN2wNLFY by rq@borg.social
2023-06-30T17:52:14.243Z
0 likes, 0 repeats
In an entirely different chapter of the documentation (https://learn.microsoft.com/en-us/windows/win32/ipc/interprocess-communications#using-rpc-for-ipc), it claims this:The RPC provided by Windows is compliant with the Open Software Foundation (OSF) Distributed Computing Environment (DCE). This means that applications that use RPC are able to communicate with applications running with other operating systems that support DCE. RPC automatically supports data conversion to account for different hardware architectures and for byte-ordering between dissimilar environments.Wikipedia controls the damage (https://en.wikipedia.org/wiki/Microsoft_RPC):Microsoft RPC (Microsoft Remote Procedure Call) is a modified version of DCE/RPC. Additions include partial support for UCS-2 (but not Unicode) strings, implicit handles, and complex calculations in the variable-length string and structure paradigms already present in DCE/RPC.Now you actually have to be aware of what's an extension and what isn't! But it seems that the midl tool is actually aware of the protocol and will actually let you make something interoperable (https://learn.microsoft.com/en-us/windows/win32/midl/-protocol)
(DIR) Post #AXDym1asxkqr0ymlaC by 7666@comp.lain.la
2023-06-30T17:54:18.061552Z
0 likes, 0 repeats
@rq MSRPC is probably most commonly implemented in Samba if you need an example but Microsoft is generally full of shit, you'd use different, non-MSRPC libraries for cross platform communication in the real world
(DIR) Post #AXF70CW490uTjdlIH2 by rq@borg.social
2023-06-30T17:55:48.644Z
0 likes, 0 repeats
@7666@comp.lain.la Indeed, my plan is to use proper DCE RPC, but I have the (self-imposed) constraint that this needs to be written on Windows XP and work on Windows Server 2003 as a proper Windows service (because the HTTP route looked godawful with the tooling available at thee time)If OpenBSD can talk to it out of the box, I'll know I've succeeded
(DIR) Post #AXF70DHZIOuK6xzEJc by Reiddragon@mk.absturztau.be
2023-07-01T07:00:45.802Z
0 likes, 0 repeats
@rq@borg.social why not use Pascal?
(DIR) Post #AXF70DwKqpW89P3mrI by rq@borg.social
2023-07-01T07:00:54.350Z
0 likes, 0 repeats
@Reiddragon@mk.absturztau.be I don't eat quiche
(DIR) Post #AXF70EljlidMip6pyi by dwarf@borg.social
2023-07-01T07:01:09.054Z
0 likes, 0 repeats
@rq why not?