webxcel icon indicating copy to clipboard operation
webxcel copied to clipboard

implement tcp interop layer for Office on mac OS

Open michaelneu opened this issue 5 years ago • 3 comments

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):

#If Win32 Then

' imports

#End If

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.

michaelneu avatar Dec 14 '18 19:12 michaelneu

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?

jzajac2 avatar Oct 21 '19 02:10 jzajac2

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.

michaelneu avatar Dec 02 '19 19:12 michaelneu

Any news on this?

dumblob avatar Sep 08 '22 10:09 dumblob