winapi - Implicit vs. Explicit linking to a DLL -


when 1 should implicitly or explicitly link dll , common practices or pitfalls?

it rare explicitly link dll. because painful , error prone. need write function pointer declaration exported function , loadlibrary + getprocaddress + freelibrary code right. you'd if need runtime dependency on plug-in style dll or want select set of dlls based on configuration. or deal versioning, api function that's available on later versions of windows example. explicit linking default com , .net dlls.

more background info in msdn library article.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -