WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

DLLs

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Updating DLLs on the Fly with Large EXEs

Keywords: 	Updating DLLs on the Fly with Large EXEs  FileVersion

;In a "large exe" this code will attempt to update the wwwnt34I.dll
; if a version older than 11007 is found
dll=FileLocate("wwwnt34I.dll")
if dll != ""
   dllver=FileVerInfo(dll,"","FileVersion")
   fileversion=ItemExtract(1,dllver,",")
   if fileversion < 11007
      FileDelete(dll)
      Run(WinExeName(""),"")
      exit
   endif
endif

AddExtender(dll)

Article ID:   W14584
Filename:   Updating DLLS on the fly with large exes.txt
File Created: 2001:03:01:14:56:28
Last Updated: 2001:03:01:14:56:28