Why do I get error "inconsistent dll linkage" ?

I wrote as you said, same problem