Hi,

I've been trying to creating a simple (like adding two numbers or concatenating two strings) dll to use in VB.

Of course, I try to do the most amount of stuff with the least amount of knowledge ;-) So _detailed_ step-by-step instructions would be nice.

So far I've managed to...

- create a project (in Borland 5.02 not VC)
- make the target a .dll file
- add a .cpp and .h file with one function
- add a .def file with the text
EXPORTS
FunctionName

Tried to make the dll got an error like ...unresolved reference from the root... or something like that.


I bet I'm going about this all wrong so any advice/actual source code would be appreciated.

Amanda