Has anyone suceeded in usingSldWorks::CreatePropertyManagerPage from an exe addin?
I have used it in the past with dll addins, but now I'm trying tocreate a standalone exe and have run into a brick wall, I just getan invalid cast exception on the line that creates the PMP.
Attached is the solidworks sample macro for doing this, I convertedit to a VB.NET project and it demonstrates exactly the error I amgetting.
If anyone can help me get this to work I'd be jumping for joy!.
Thanks
Andy
SolidworksApi macros





I have used it in the past with dll addins, but now I'm trying tocreate a standalone exe and have run into a brick wall, I just getan invalid cast exception on the line that creates the PMP.
Attached is the solidworks sample macro for doing this, I convertedit to a VB.NET project and it demonstrates exactly the error I amgetting.
If anyone can help me get this to work I'd be jumping for joy!.
Thanks
Andy
SolidworksApi macros