Exact same situation here, I am using Soliworks 2017
When solidworks is loading up and comes to the "initializing VBA engine" part I first get a message saying:
"Failed to initialize Visual Basic for Apps, equations and macros will not work. Are you low on disc space?"
After this I press ok on the message and then I get a Microsoft visual C++ Runtime library error saying:
Program: C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\sldworks.exe
- pure virtual function call"
I uninstalled all of the c++ packages and reinstalled them,
reinstalled solidworks couple of times,
I even completely cleaned my disc, but nothing seems to help.
I googled the error many many times but can't seem to find any up-to-date answer or method that works.
I am running everything in Admin mode
Seems I had an issue last year like this and I'm trying to remember what it was, If you go under your computers administrative tools and select services then scroll down to Solidworks Licensing Service and if the startup type in set to manual try setting it to automatic and try again. I think this is the service that was causing an issue with mine, if not then I can dig through my archives in my email and see if I can find my correspondence with my VAR about the issue and see what it was.
I tried your idea but it didn't work sadly enough.
Just as with Charles the problem with solidworks started after the newest windows 10 updates that came about a week ago or so.
If you could look up what fixed your solidworks I would really appreciate it!
Turn off windows update if that is option, I have and don't have to deal with Windows updates continually screwing up SolidWorks.....
I had the same issue with SWX2017 and and Win10 update procedure. The following steps helped me solve the problem:
- Right click on the SWX icon and choose "properties"
- Choose folder "compatibility"
- Uncheck the compatibiltiy with "windows 8" (don't know the right terms in english)
All the best from switzerland,
This worked for me! Thank you, Niko!
I was running Solidworks 2017 and Windows 10 Pro version 1709. Like the people above, everything was running fine in the morning one day, then when I came back to my computer Solidworks wouldn't load.
FYI, before doing what Niko mentioned above I was able to run Solidworks from Solidworks Rx by clicking "Click here to launch SOLIDWORKS while bypassing the Tools/Options settings." This just reset all of my customizations but operated normal otherwise.
Your suggestion worked for me - quick and easy
Thanks for sharing - you made my day brighter!
The issue is indeed Windows 10 related.
We had this issue on several machines running SW2017 SP5.0 and SW2018 SP5.0 on Windows10 1809:
The solution: set the 'Regional format' to the correct setting depending on your installed language of VBA (1033 is english).
Windows Settings>Time & Language>Region:
In our specific situation, English (United States).