winim icon indicating copy to clipboard operation
winim copied to clipboard

COM Excel returns error

Open EuroGoHebdo opened this issue 4 years ago • 0 comments

with latest winim package, and nim 1.4.6 I got the following error when trying to run the test scripts you have for Excel. I renamed the files, but the code here is the same as you have at Examples/Com/EXcel_Application1.nim . Is there any dependency on Office version? This machine has Microsoft Office 365 Professional Plus.

Hint: 1180078 lines; 24.016s; 227.336MiB peakmem; Debug build; proj: C:\git\nimScripts\ExcelComTest.nim; out: C:\git\nimScripts\ExcelComTest.exe [SuccessX]
PS C:\git\nimScripts> .\ExcelComTest.exe Program 'ExcelComTest.exe' failed to run: Access is deniedAt line:1 char:1

  • .\ExcelComTest.exe

At line:1 char:1

  • .\ExcelComTest.exe
  •   + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
      + FullyQualifiedErrorId : NativeCommandFailed
    

EuroGoHebdo avatar Sep 10 '21 11:09 EuroGoHebdo