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.

Trick to force update of 2 extender DLLS

Keywords:   update extender DLLs update DLLs

;Trick to force update of 2 extender DLLS.

;MUST have wwxxx34I.dll version 12345 or newer
;MUST have wwyyy34I.dll version 22234 or newer
;Current versions of these DLLs built into Big EXE

dllx="wwxxx34I.dll"
dlly="wwyyy34I.dll"

longdllx=FileLocate(dllx)
longdlly=FileLocate(dlly)

restart=@FLASE
verx=FileVerInfo(dllx,"","FileVersion")
very=FileVerInfo(dlly,"","FileVersion")

if verx=="NONE" || verx<12345 || verx=""
   FileDelete(longdllx)
   restart=@TRUE
endif

if very=="NONE" || very<22234 || very=""
    FileDelete(longdlly)
    restart=@TRUE
endif

if restart==TRUE
   Run(WinExename(""),"")
   exit
endif

;;;;now the main part of your code goes here.
a=1
b=2
;etc...

Article ID:   W14583
Filename:   Trick to Force Update of Extender DLLs.txt
File Created: 2001:03:01:14:56:06
Last Updated: 2001:03:01:14:56:06