SolidWorks does not find the sub main() at .dll

Discussion created by Guilheme Azevedo on Mar 24, 2021
Latest reply on Mar 24, 2021 by Solid Air

Hi guys, I need help here.

 

When I try to use my .dll macro, SW can't find the method.

 

The code is running ok when started by Visual Basic 2015.

 

I`ve downloaded other .dll macros from the site below, and the method ( Public Sub main() ) was successfully found.

 

https://www.sdcpublications.com/Textbooks/Automating-SOLIDWORKS-2019-Using-Macros/ISBN/978-1-63057-213-6/

 

Thank you for your time!

 

 

Outcomes