Page 1 of 1

New user

Posted: Mon Jan 31, 2005 2:17 pm
by BinoX
Hi there,

I've just purchased PB after using the demo for a few weeks to get used to it.

What I'm mainly looking to use it for is to create DLL files to use with a program that I've been writing in c++ for the last year. I wanted the program to be multi-platform but had never found a good way of doing it. So now I'm using pure basic to write the input and output libraries for my app.

The question I have is how do I create a c++ header file to reference a PureBasic made dll?

(I know it's a bit of a n00b question but I've never written a header file to reference an external library before, I just used to pinch the old one from my dll project ;))

The Function is called StartSillyLoop and takes an integer as an argument.
Could someone give me an example for that?

Thanks.

Posted: Mon Jan 31, 2005 3:52 pm
by Inner
I don't have a reply for you, but someone will soon. I thought I'd just drop in and say welcome to the purebasic board ;)

Posted: Mon Jan 31, 2005 4:07 pm
by GedB
What compiler are you using?

Posted: Mon Jan 31, 2005 6:26 pm
by BinoX
GedB wrote:What compiler are you using?
Using Visual c++ .net as a compiler