×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Unable to run NXOpen C++ applications in NX7.5

Unable to run NXOpen C++ applications in NX7.5

Unable to run NXOpen C++ applications in NX7.5

(OP)
I have developed an application using VS2008 for NX7.5. The application has been developed using C++. When I try to run the dll file in my computer it works perfectly fine. But when I try to run the application in other computers, I get an error message "Failed to load image-see log file for details Function name-ufusr".

I have signed my application & other computers are also having valid CPP author license. Still I am unable to run the application.

Any help would be appreciated.

RE: Unable to run NXOpen C++ applications in NX7.5

It looks like the signing did work and that the issue is related to dependent dll (not) loading after the check for signing.

Was the VS project built as Release or Debug? MS Visual studio would have the debug libraries on your machine that the end user likely would not have.

HTH, Joe

RE: Unable to run NXOpen C++ applications in NX7.5

(OP)
Hi Joe,

VS project was built as Release. Also, the dll file is saved on common server. The dll is being taken from the server so the other machines will be having access to debug libraries.

Any other idea on how to fix it?

RE: Unable to run NXOpen C++ applications in NX7.5

Yadvdinesh,

Ok, good. "One possibility eliminated."

My top suspicion is still that the production users computers are missing one or more libraries that are available on the development computer.

1) On your development computer does the dll work from that same network location (unc (ip address) in the screen shot)?

2) Was the NX installation on the production computers done using the setup.exe on the NX distribution media or was some other "copy the files" approach used? (The NX installation from setup.exe also (among other things) installs MS VC runtime libraries to Windows directories so copying an existing NX installation is an illegitimate/incomplete NX.

3) Is dotNet framework is installed on the non-developer computer?

4) Is libugopenint.dll etc. available on the production computers?

Next dumpbin.exe /dependents (or depends.exe from an old version of visual studio) to determine the dependencies of the nxapi dll. Then check to see that these dlls are available on the end user computer (as the end user).

HTH,

Joe

RE: Unable to run NXOpen C++ applications in NX7.5

(OP)
Joe,

Finally I am able to run the applications on production computers. I had developed the application using VS2008. Today I uninstalled VS2008, & reinstalled the Full VS2008. After reinstalling I compiled my application again. And it started working on the other computers as well.

I am still wondering why it was not running earlier.

RE: Unable to run NXOpen C++ applications in NX7.5

Yadvdinesh,

A syslog from when it worked before the VS reinstalltion might shed some light but that is optimistic.

Was the original installation and Express version or just a subset of the full version?

Joe,

RE: Unable to run NXOpen C++ applications in NX7.5

(OP)
I guess, it was a subset of Visual studio

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources