Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

.dll wont load from menu modification

Creator
Creator

Hi all, 

 

I recently went through and learned how to compile all our .vb applications into .dll's.  We have a couple of "menu modifications" (not sure the official name for these, but they are the .men files in the \startup folder that launches actions before nx commands).

 

These work perfectly fine when the action being called is a .vb file.  However, they don't seem to work when they are calling .dll's.  The .men modification is being loaded properly in NX according to the log file, but the ACTIONS/PRE are not working unless it's calling a .vb action.

 

The dll's have been properly compiled and signed, and run fine if I call them explicitly (execute user action in NX).

 

Any ideas?

2 REPLIES 2

Re: .dll wont load from menu modification

Creator
Creator

Nevermind.  Apparently you can't have spaces in the path to the action.  My path for the .vb was different than the .dll path.

Re: .dll wont load from menu modification

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

If there are spaces in the path, try surrounding it with double quotes.

"C:\your\path with\spaces.dll"