• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

I/O Error when loading an ExternalObject (dll) in Extendscript

Community Beginner ,
Dec 19, 2019 Dec 19, 2019

Copy link to clipboard

Copied

I've been experimenting with the ExternalObject feature because I want to integrate a c++ library with my After Effects script. I started with the SampleLib found in the path:

C:\Program Files (x86)\Adobe\Adobe ExtendScript Toolkit CC\SDK\Samples\cpp\build\samplelib

I used VS 2019 to build the solution and got a dll file out of that. Then when I try to load it with:

var lib = new ExternalObject("lib:SampleLib.dll");

 What I get is:

I/O error

I'm not sure what to do at this point. The documentation does not even mention this as a possible error. I've looked everywhere on the internet but I can't seem to find anyone with a similar issue. It seems to work fine for everyone.

 

Any help would be appreciated!

Views

525

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 22, 2020 Feb 22, 2020

Copy link to clipboard

Copied

LATEST

Looks like you posted the same thing here... https://community.adobe.com/t5/after-effects/i-o-error-when-loading-an-externalobject-dll-in-extends...

 

Any luck with this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines