Ansys Learning Forum Forums Discuss Simulation Photonics Advanced material plugin: DLL generation Reply To: Advanced material plugin: DLL generation

Mohammad T
Subscriber

Many thanks for the reply. I tried this directory as well, and it didn't work. I put an original DLL, e.g., stepindex.dll (downloaded from this webpage), in the following directory, and it worked. However, if I rebuild it by myself via the files available on that webpage, i.e., "stepindex.h" and "stepindex.cpp", it wouldn't work.

The directory: C:\Program Files\Lumerical\v232\bin\plugins\materials

I guess the issue is related to the DLL generation process, for which I used Visual Studio 2022. Do I need an additional or specific setting for the DLL building (compiling)?