Some questions about dlls and interfaces

Just starting out? Need help? Post your questions and find answers here.
Megaborsti
User
User
Posts: 35
Joined: Sat Aug 16, 2003 4:52 pm
Location: Germany

Some questions about dlls and interfaces

Post by Megaborsti »

Hi,
I hope you can answer the following questions:

1. I know how to create a dll, but how do I use it in c++ (or any other language)?

2. How do I build dlls in c++, so that I can use them in purebasic?

3. Say I have coded a class in c++. What do I have to do to use that class as an interface in purebasic (its nearly the same so it should be possible with a dll or so).

4. Is it possible to build a dll using other dlls (like directx)?

5. Some DirectX-Interface use the method "End()" (d3dxfont, d3dxsprite,...). This method seemed to crash when I tried to use it (I think because "End" is use from purebasic to end the program). Is it possible to use this interfaces another way or renaming the "End()"-method?


Examples are welcome :)
Thanks in advance
I become better!!! :)