Factory design
    John C 
    johnch_atms at hotmail.com
       
    Sun May 28 17:48:59 PDT 2006
    
    
  
Jarrett Billingsley wrote:
> "John C" <johnch_atms at hotmail.com> wrote in message 
> news:e5ddb1$17kq$1 at digitaldaemon.com...
> 
> 
>>Note that if 'createXmlReaderImpl' is declared with 'extern(C)', then it 
>>links without errors.
> 
> 
> Did you try just putting "extern" (or "extern(D)") in front of both the 
> prototype and the definition? 
> 
> 
I did - I get the same linking errors.
extern(C) works because the name of the function doesn't get mangled.
    
    
More information about the Digitalmars-d-learn
mailing list