cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Working with ProToolkit DLL and LOG4CXX

mbadgujar
1-Newbie

Working with ProToolkit DLL and LOG4CXX

Hello All,

I have downloaded LOG4CXX source build it and tried to use it in ProToolkit application. I was able to do a succesfull project setup. My application even built succesfully. But DLL fails to load inside ProE session. I tried with API ProToolkitDLLLoad() and manually as well. In both the cases failure continues. If I remove LOG4CXX reference DLL loads and works fine. ProToolkit DLL is created using no /clr flag.

So question I ahve here is Can ProToolkit work with static libraries?

Thanks in Advance.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2
LarsZiegler
5-Regular Member
(To:mbadgujar)

Hello!

I work with my static link libraries and that works fine.

These libs don't need other dlls.

For libs which loads dlls, the path to the dll must be known by Pro/ENGINEER.

Pro/ENGINEER do not load other dlls from the application source directory!

You have to extend the %PATH% environment variable or put the dll on an know path.

I hope this answer will help!

Greetings Lars

Thanks Lars , Letting ProE know the path of DLL was the solution for it. Added my DLL path in %PATH%.

Thanks Again.

Top Tags