Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement tcp interop layer for Office on mac OS #9

Open
michaelneu opened this issue Dec 14, 2018 · 3 comments
Open

implement tcp interop layer for Office on mac OS #9

michaelneu opened this issue Dec 14, 2018 · 3 comments

Comments

@michaelneu
Copy link
Owner

michaelneu commented Dec 14, 2018

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.

@jzajac2
Copy link

jzajac2 commented Oct 21, 2019

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?

@michaelneu
Copy link
Owner Author

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.

@dumblob
Copy link

dumblob commented Sep 8, 2022

Any news on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants