Re: importing across dlls

2008-10-21 Thread jshuberg
Excellent, thanks!! On Oct 21, 3:19 pm, "Kenton Varda" <[EMAIL PROTECTED]> wrote: > On Tue, Oct 21, 2008 at 12:13 PM, <[EMAIL PROTECTED]> wrote: > > Would simply changing FileGenerator::GenerateHeader to output the > > dllexport_decl in the forward declaration of BuildDescriptors function > > wor

Re: importing across dlls

2008-10-21 Thread Kenton Varda
On Tue, Oct 21, 2008 at 12:13 PM, <[EMAIL PROTECTED]> wrote: > Would simply changing FileGenerator::GenerateHeader to output the > dllexport_decl in the forward declaration of BuildDescriptors function > work? Yes, that is the fix. --~--~-~--~~~---~--~~ You recei

Re: importing across dlls

2008-10-21 Thread jshuberg
I'm using jskeet's dotnet-protobuf implementation, because we need C# support. I believe it's based on 2.0.1. Would simply changing FileGenerator::GenerateHeader to output the dllexport_decl in the forward declaration of BuildDescriptors function work? On Oct 21, 1:27 pm, "Kenton Varda" <[EMAIL

importing across dlls

2008-10-21 Thread jshuberg
I have a protoc file named UniqueID.proto that is compiled into and exported from Communication.dll. I have a protoc file named Base.proto that is compiled into and exported from Base.dll. Base.proto imports and uses UniqueID.proto. Base.dll imports the UniqueID class. Importing and exporting is

Re: importing across dlls

2008-10-21 Thread Kenton Varda
I believe this was fixed in 2.0.2. What version are you using? On Tue, Oct 21, 2008 at 11:21 AM, <[EMAIL PROTECTED]> wrote: > > I have a protoc file named UniqueID.proto that is compiled into and > exported from Communication.dll. > I have a protoc file named Base.proto that is compiled into and