Re: DLL vs Shared Library



On Thu, 2006-30-03 at 15:55 +0200, Alan McKinnon wrote:

In RealLife(tm) MS dlls are not versioned like ours are, so an app has
no easy way of knowing which version is installed.


It might help avoid future embarrassment if you learned the technology
you bashed. Here's a random URL from Googling "DLL Version":
http://www.codeproject.com/file/fileversioninfo.asp

Note the APIs referenced there:
- GetFileVersionInfo()
- GetFileVersioninfoSize()
- VerQueryValue

So, you're absolutely right. There's no way for an app to know which
version of a DLL is installed. If it is written by a dullard.

Attachment: signature.asc
Description: This is a digitally signed message part

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: DCOM Surrogates
    ... > believed it was possible to create a remote-server dll where I did not ... you're server has to be instantiated in a runnable process. ... but I am quite excited about this technology and what it ... then have to change the main app to accomodate it. ...
    (comp.lang.pascal.delphi.misc)
  • Re: How to get my own version?
    ... GetFileVersionInfo, and VerQueryValue. ... DLL from within that DLL itself. ... pathname in order to get my own version information? ... passing the HMODULE obtained above to get the full ...
    (microsoft.public.vc.language)
  • Re: How to get my own version?
    ... GetFileVersionInfo, and VerQueryValue. ... DLL from within that DLL itself. ... go the GetFileVersionInfoSize / GetFileVersionInfo / VerQueryValue ... block including the header. ...
    (microsoft.public.vc.language)
  • Re: How to get my own version?
    ... GetFileVersionInfo, and VerQueryValue. ... DLL from within that DLL itself. ... go the GetFileVersionInfoSize / GetFileVersionInfo / VerQueryValue ... pathname in order to get my own version information? ...
    (microsoft.public.vc.language)
  • Re: COM data sharing
    ... I am developing a COM DLL. ... The COM DLL will be used by multiple different applications ... the technology I select to use should ... skills do the authors have in COM, web services, WCF, etc. ...
    (microsoft.public.vc.language)