-
Notifications
You must be signed in to change notification settings - Fork 123
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
VARIANT
in wrong namespace?
#1019
Comments
There are VARIANT-related functions in COM as well like |
If VARIANT goes into the Ole namespace, it will cause some namespace cycles with other namespaces. Maybe all those manipulation functions should go into Com, though. |
Not critical - I'll just close this for now. |
Tried again to fix microsoft/windows-rs#539 but it's really not practical to support when VARIANT and its associated functions aren't in the same namespace. Regarding cycles, I've never been able to make that work so I'm less interested in breaking that. I'll reopen as @riverar suggested this could be fixed. |
What's the recommendation here? |
One idea we were kicking around was putting VARIANT and associated structs/functions into a new variant-only namespace (e.g. |
Sure if that works for you. |
Does PROPVARIANT belong together with VARIANT? |
Although similar, the structs are independent and |
Thanks. I'm moving all PROPVARIANT APIs to Windows.Win32.System.Com.StructuredStorage as part of this change. VARIANT APIs will be in Windows.Win32.System.Variant. |
The move to a new namespace just hit CsWin32. It's easy to accommodate, but |
There are a bunch of methods there as well. |
Ah, I hadn't noticed that. Although for CsWin32 that makes little difference since we always generate all methods onto the one |
Just discussing this with @ChrisDenton over in microsoft/windows-rs#3282 and I think we should reconsider |
I think I'll just close this for now - I have a workaround and simply moving these types won't necessarily make the issue less problematic because |
Starting working on microsoft/windows-rs#539 and I find it a little strange that
VARIANT
is defined inWin32.System.Com
while all of the functions for manipulating this type are inWin32.System.Ole
- is this intentional?The text was updated successfully, but these errors were encountered: