was written
in D but
i'm not sure i'm doing this right.
I'm using VS2010 and Visual D. Visual D has a template for
Dll's in D,
so I used that to create a new project.
The DLL compiles just fine, but i'm having trouble even
getting import
to work with it. I was following the How
Ok, I've actually run into another problem. I've decided to use a
static library, since my project is small. I have added the path
to the static library's .lib file in my project properties, just
like with derelict2. However, I'm not sure how to use import
properly.
The library in question
On Thu, Mar 15, 2012 at 09:16:45PM +0100, Chris Pons wrote:
Ok, I've actually run into another problem. I've decided to use a
static library, since my project is small. I have added the path to
the static library's .lib file in my project properties, just like
with derelict2. However, I'm not
On 3/15/12, H. S. Teoh hst...@quickfur.ath.cx wrote:
It's correct, albeit a bit ugly. To alleviate the ugliness, you can tell
the compiler where the root directory for the library is supposed to
be. For example, if you invoked dmd with -ILibraries/Math, then you'll
be able to say:
I haven't used DLL's much, especially one I've built on my own,
so guidance would be appreciated.
I'm trying to figure out how to build a DLL which was written in
D but i'm not sure i'm doing this right.
I'm using VS2010 and Visual D. Visual D has a template for Dll's
in D, so I used
a template for Dll's in D,
so I used that to create a new project.
The DLL compiles just fine, but i'm having trouble even getting import
to work with it. I was following the How-To on this page,
http://dlang.org/dll.html#Dcode , but I can't even get import to work.
With import, is that supposed