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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Translate the entire conversation x

Issues with Asynchronous and Multiprocess Application Methods in Creo Toolkit

AS_13847166
4-Participant

Issues with Asynchronous and Multiprocess Application Methods in Creo Toolkit

Hello Community,

I am working with Creo Toolkit and exploring three different methods of application creation:

  1. Asynchronous Method

    • I am using the API ProEngineerConnect() which refers to the library pt_asynchronous.lib.
    • Even though I have included this library under Linker → General → Additional Library Directories, I am getting the following compile-time error:
      identifier "ProEngineerConnect" is undefined
  2. Multiprocess Method

    • When I use the generated DLL in another C# WinForms application, I encounter this runtime error:
      Unable to load DLL "DLLNAME.dll" or one of its dependencies: The specified module could not be found. (0x8007007E)

Could anyone help me understand:

  • Why is ProEngineerConnect() not recognized even after linking the correct library?
  • What could be causing the DLL load failure in the C# application?
  • Are there any best practices or additional steps for setting up asynchronous and multiprocess methods in Creo Toolkit?

Any guidance or examples would be greatly appreciated.

1 REPLY 1
RPN
17-Peridot
17-Peridot
(To:AS_13847166)

Are you making sure that all required Creo DLL’s are in your path var prior to load? The obj machine path must be know. For the link error I guess the lib or the header file is still unknown.

Announcements

Top Tags