Without dummy definitions VC 8 linker gives warnings: WorkerRequest.obj : warning LNK4248: unresolved typeref token (01000027) for 'Apache.Native.apr_pool_t' WorkerRequest.obj : warning LNK4248: unresolved typeref token (01000029) for 'Apache.Native.apr_bucket_alloc_t' WorkerRequest.obj : warning LNK4248: unresolved typeref token (0100002A) for 'Apache.Native.apr_table_t'
and IL code now contains dummy type metadata. Explanation of this warning is that it occurs when there is only a forward declaration for a type in an MSIL module (compiled with /clr), where the type is referenced in the MSIL module, and where the MSIL module is linked with a native module that has a definition for the type. Bad news is that: virtual String __gc * GetUnknownRequestHeaders(void) __gc[]__gc[] won't compile, giving error: System::String __gc * __gc[]' : a managed array cannot have this element type. Finally, destructors with void return like: void ~Host(); also caused compiler error. Tony __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com