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

minimize dependencies #8

Open
maul-esel opened this issue Jan 12, 2012 · 1 comment
Open

minimize dependencies #8

maul-esel opened this issue Jan 12, 2012 · 1 comment

Comments

@maul-esel
Copy link
Owner

Minimize dependencies

Achieve less dependencies for each class by

  • ensuring every function that accepts another instance of a COM class can also handle a raw pointer
  • the same for struct classes
  • ensuring every function that returns an instance of a COM class (or retrieves it via byRef) returns a raw pointer if the class is not available
  • the same for struct class fields
  • document this
@maul-esel
Copy link
Owner Author

This means helper classes / methods should

  1. accept pointers for (nested) structures (NOT for VARIANTs)
  2. output pointers (FromStructPtr()) if class is not available (applies to VARIANTs, too)
  3. find some way to calculate size if nested structure classes are not available

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

1 participant