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
Post a Comment