Bembi Prima wrote:
> I'm currently using Delphi 7, not a pro or a noob, and i just wanna
> create application using DLLs.
> 
> I wanna know, can I declare a type in the library so I can reuse them
> on lot of my programs..?

No. DLLs are for sharing executable code and data, not types. Types are 
needed by the compiler, and the compiler doesn't have access to other DLLs.

If you want to declare types and re-use them in other programs, then use 
a unit.

> I try every single thing, and all I can do is just putting some
> general function on that library.

Yes. That's what DLLs are for.

> Second, Can I attach extern files onto my application? Like
> something.wav, so that my app is just a single file application. Or is
> there another way to overcome that thing??

Yes. Create a resource script (an RC file) that mentions the file, and 
then add the RC file to your project.

> Oh, is there someone in this group familiar with Windows API used in
> Delphi? Or maybe some of u know a site I can visit??

Yes, there are people on this mailing list familiar with the Windows API.

-- 
Rob

Reply via email to