You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrap wsock32 in an if guard like this to prevent importing missing functions on macOS (Win32 is True for both 32 and 64 bit Windows):
#IfWin32Then' imports#EndIf
Add a similar file for macOS, to allow for socket connections there.
Then rename TcpServer to TcpServerWindows, add a superclass ITcpServer and ITcpClient and select the appropriate tcp server/client based on the operating system.
The text was updated successfully, but these errors were encountered:
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.
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.The text was updated successfully, but these errors were encountered: