Hi,


I have a little problem; i'll try to explain


I have created an application, which is compiled as normal EXE file.

In the future it must be possible to add modules to the application, that will be automatically loaded, when placed in a directory.

You can compare it with Winamp and how he loads his plugins: When they're in a directory, they're loaded.


My problem is, that i haven't got the foggiest idea how to accomplish this. I know how to load a function from a DLL, like the API calls to kernel32 or something.

But now i want to Load a dll when the program sees it in the directory...


Please help me out!

By the way, I'm using Visual basic 6.0


Thanx in advance

Regards,

Kevin.