AnsweredAssumed Answered

VBA used in SolidWorks: the code has to be updated to use on a 64-bit system.

Question asked by Cindy He on Mar 23, 2015
Latest reply on Mar 23, 2015 by Keith Rice

Declare Function GetOpenFileName Lib "comdlg32.dll" Alias  "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long


what is the meaning of this sentence?

a swp file used in solidworks  to open a txt file, the first line is the sentence above. i am sure this swp file work well two years on other system.


now when i try to run this file in solidworks, a window as attached jump out.

it says that the code has to updated to use on a 64-bit system. both solidworks and computer system are 64-bit.


could you kind help me on how to change this sentence to be used in 64-bit system?


thank you very much!