T
TOM
Can anyone describe how .NET handles .H and .CPP files as far as the linker
is concerned?
I'm getting some unresolved metadata errors from the linker (LNK2022).
Fails: Interface and class public data defined in .H file
Class implementation and private variables defined in .CPP file
OK: Interface, class public data and class private variables defined in .H
file,
Class implementation in .CPP file.
The reason for wanting to keep the private variables out of the .H file are
that they need objbase.h
plus some USB includes from the DDK to be defined. These includes break all
the other .NET modules
auto-generated by the forms builder that need to use the class.
-- Tom
is concerned?
I'm getting some unresolved metadata errors from the linker (LNK2022).
Fails: Interface and class public data defined in .H file
Class implementation and private variables defined in .CPP file
OK: Interface, class public data and class private variables defined in .H
file,
Class implementation in .CPP file.
The reason for wanting to keep the private variables out of the .H file are
that they need objbase.h
plus some USB includes from the DDK to be defined. These includes break all
the other .NET modules
auto-generated by the forms builder that need to use the class.
-- Tom