vba - Use msvbvm60 from 64 bit code -


in 32-bit versions of office use getmem2, getmem4, , getmem8 functions msvbvm60.dll:

public declare ptrsafe sub mem_read2 lib "msvbvm60" _     alias "getmem2" (byref source any, byref destination any)  public declare ptrsafe sub mem_read4 lib "msvbvm60" _     alias "getmem4" (byref source any, byref destination any)  public declare ptrsafe sub mem_read8 lib "msvbvm60" _     alias "getmem8" (byref source any, byref destination any) 

these api declarations not work in 64-bit office. when attempt invoke of these functions error

runtime error '48': file not found: msvbvm60 

i'm using office 2013 on windows 8, , msvbvm60.dll installed in syswow64. did try copying msvbvm60.dll directly system32 , registering there using system32 version of regsvr32, still did not work. there way use declared functions in 32-bit dlls 64-bit office?

also, using 'msvbvm60.dll' or 'c:\windows\system32\msvbvm60.dll' yields same error, though file exist , registered.


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -