> Compile with /d1PrivateNativeTypes for the value classes created mapping
the
native types.
If by "hide" you mean "not generate"then that isn't possible since these
are needed for the code to run. If you mean something else besides emitting
them as private, could you clarify?
Ronald Laeremans
Visual C++ team
Ronald,
I tried compiling with the /d1PrivateNativeTypes. It compiles fine, and it
makes private the value classes created for the unmanaged classes,
unfortunately it does NOT make private the managed methods created around
the C functions (either managed or unmanaged). Is there any way to make them
private???
BTW, the /d1 option does not appear anywhere printing out all the modifiers
supported by the cl compiler.
Also, while for C standard library functions only the ones used produce a
corresponding managed wrapper in the assembly, for C++ stardard functions
the only inclusion (without using any of the exported classes) make an awful
lot of value classes appear in the assembly. Is there any way to prevent
this from happening???
Regards,
Bob Rock