Hello everyone, this is my second post in the digitalmars.d newsgroup and I hope it gets as good support and suggestions as my first post :)<div><br></div><div>I'm playing around with the d programming language and am trying out some exotic things you normally would write in c++.</div>
<div>Right now I'm trying to 'intercept' all calls from a program to a dll by renaming that dll and writing my own in d.</div><div>In c++ you would write in the header file:</div><div>#pragma comment(linker, "/export:exportfunction=nameofotherdll.dll.destinationfunction,@location")</div>
<div><br></div><div>How could one write this in the d programming language?</div><div>Asuming this has to be done with the pragma(lib,...) function but I don't really know how.</div><div><br></div><div>thanks in advance,</div>
<div><br></div><div>Maarten</div>