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

Add support for COM (Windows) #834

Open
Indigo744 opened this issue Sep 1, 2020 · 1 comment
Open

Add support for COM (Windows) #834

Indigo744 opened this issue Sep 1, 2020 · 1 comment

Comments

@Indigo744
Copy link
Contributor

COM extension is actually not supported.

What would be the steps needed to bring it to PeachPie?

Of course it would work only on Windows, so I guess it should be made in a specific project (something like Peachpie.Library.Com)?

@jakubmisek
Copy link
Member

The steps would be to create a project similar to Peachpie.Library or Peachpie.Library.Graphics.

The core of the functionality is probably the php class COM, which would have magic methods __call, __get, etc. It's implementation would be using basically Type.GetTypeFromProgID( ... ) and Activator.CreateInstance :)

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

No branches or pull requests

2 participants