.net - How do I Find the Function I Need in a DLL? -


for functions need in program, have add reference dll. wondering how programmers find dlls required function.

for example, if need text of active window, have reference "user32".

how figure out dll need import? browse documentation?

i using visual basic .net

most of time google i'm trying do, eg:

 https://www.google.com.au/search?q=get+text+from+window+in+c%23  

and read top 3 answers.

i read few blogs, read few books, , if i'm stuck i'll browse documentation. though i've found msdn documentation not particularly helpful @ times, sometime can good. or i'll pick phone , ring of fellow nerds.

if you're having reference user32 , com dll, recommend check out http://www.pinvoke.net/ if you're writing vb.net code , not trying fancy there's easier way of doing you're trying do.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -