Re: no function definition
: WD_ARX_FOR MAT_PATH
If I didn't know any better, that looks like what happens when launching the program with the Desktop shortcut for plain AutoCAD (the shortcut gets created when Electrical is installed).
I'd try logging into a newly-created local administrative Windows profile, and see if you get the same result. Post back here what happens in that test scenario.