#pragma make_public
-- Howard Swope [howard.swopeATnavteqDOTcom] Technical Lead Media Development Navteq Traffic [http://www.navteq.com][http://www.traffic.com]
Well, you could use reflection to script the pragma generation, then
#include that file into your build.
But I've never had to use #pragma make_public, let alone on hundreds of
types. What is your use case?
-- Howard Swope [howard.swopeATnavteqDOTcom] Technical Lead Media Development Navteq Traffic [http://www.navteq.com][http://www.traffic.com]
Ben Voigt [C++ MVP] wrote:
> Howard Swope wrote:
>
>> PLEASE ANSWER....
>>
>> There must be a way to do this. This is really onerous.
>>
>
> Well, you could use reflection to script the pragma generation, then
> #include that file into your build.
>
> But I've never had to use #pragma make_public, let alone on hundreds of
> types. What is your use case?
>
>
Our application has multiple dll's that link dynamically to an
unmanaged, third party, game engine. So even though the types are the
same, and we are linking to a single instance of the middleware dll the
types are scoped as private in the respective dll's. Anytime we make a
call between our dll's that pass one of the types from the game engine,
we have to mark the type with the pragma. There are many of these calls.
Thanks for your thoughts on this matter.
>> Howard Swope wrote:
>> #pragma make_public
>>
>> Is there a way to do this for an entire library an not just one type
>> at a time. This is killing me. I have to do this for like 100+ types.
>> Ouch!!!
>>
>> --
>> Howard Swope [Howard.SwopeATnavteqDOTcom]
>> Technical Lead
>> Media Development
>> Navteq Traffic [http://www.navteqmedia.com/]
>>
>> Thanks,
>>
>
>
>
--
Howard Swope [howard.swopeATnavteqDOTcom]
Technical Lead
Media Development
Navteq Traffic [http://www.navteq.com][http://www.traffic.com]