Open michaelneu opened 5 years ago
Sounds like a big one. webxcel is my first goto (out of about 15 other options) for getting a project up and running soon, and working off my macbook. Does this gap mean I can't do local development unless I wire up a windows box?
It's not really a big one, just a mildly annoying one in my opinion. I just found out that VBA supports OS specific preprocessor declarations using #If ... Then
, which I just tried and #If Win32 Then
does indeed work.
I will some day in the far future come around to add the socket logic for macOS, too, since it seems it's "just" importing things, but for now, you won't be able to use webxcel on a non-Windows-machine, sorry.
Any news on this?
Wrap
wsock32
in an if guard like this to prevent importing missing functions on macOS (Win32
isTrue
for both 32 and 64 bit Windows):Add a similar file for macOS, to allow for socket connections there.
Then rename
TcpServer
toTcpServerWindows
, add a superclassITcpServer
andITcpClient
and select the appropriate tcp server/client based on the operating system.