Jump to content

DLL's


strate
 Share

Recommended Posts

What is a dll?

How do I look at one that is already created?

Why are they needed?

When should they be used?

I have no clue about these I wanna use them but I don't know anything about them.

Help understanding these would be great, thanks in advance.

INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Link to comment
Share on other sites

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Link to comment
Share on other sites

Since my last post I've been trying to understand how they are created. I'm having a hard time with this.

I understand how they work and why you would wanna use them. Now I wanna create some but I'm still puzzled as to how its done.

INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Link to comment
Share on other sites

Since my last post I've been trying to understand how they are created. I'm having a hard time with this.

I understand how they work and why you would wanna use them. Now I wanna create some but I'm still puzzled as to how its done.

Autoit cannot make them I think.

They are written in several languages like vb C++ C#.net

When compiling a dll file the compiler needs to be called with some extra parameters.

And also the script needs to be written in a special way so that the dll function wich need to be used will also work.

Actually a dll is just a program wich can be loaded and function from it can be called from external programs. But you need C++(or other code) knowledge and a good IDE to make them (actually you could make it with a standalone compiler and notepad but you need lots of knowledge how to start the compiler)

Often you even need to write a dll in a special way for a program called plugins.

Like a winamp vis plugin dll won't work really well in autoit.

Link to comment
Share on other sites

Autoit cannot make them I think.

They are written in several languages like vb C++ C#.net

When compiling a dll file the compiler needs to be called with some extra parameters.

And also the script needs to be written in a special way so that the dll function wich need to be used will also work.

Actually a dll is just a program wich can be loaded and function from it can be called from external programs. But you need C++(or other code) knowledge and a good IDE to make them (actually you could make it with a standalone compiler and notepad but you need lots of knowledge how to start the compiler)

Often you even need to write a dll in a special way for a program called plugins.

Like a winamp vis plugin dll won't work really well in autoit.

How do you find out information associated to DLL like what the system ones are used for? Is that something that could be found anywhere?
INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Link to comment
Share on other sites

If it's a system DLL, MSDN sould have information regarding any OPEN/PUBLIC/EXPOSED API calls it supports, how to access them, and how the respond/reply.

If it's a non-system DLL ( like one provided with an installed program ) the you must find the documtation for it as provided by the author.

HOWEVER, if there is no documation, then there is no way to find out how to use it. For instance, Norton AV my come with many (many, many) DLLs to provide functionallty within the program, but those are for only the program (and Windows it's self) to use. There is no documation, and hence no way to call the dynamic functions those DLLs contain.

This holds true to the Windows DLLs. Some may be accessed using MSDN docs, and cleaver porting to AutoIT. However MOST are for Windows it's self to use.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...