Skip to main content
12-Amethyst
August 6, 2020
Question

Asyncronous application with otk.jar

  • August 6, 2020
  • 2 replies
  • 2334 views

Hello, I am trying to create an Asynchronous application I had one working using the pfcasync.jar Creo library but now i need the wfc package methods and those do not exist in pfcasync.jar. SO i transitioned to the otk.jar and this package is missing pfcAsynConnection which is what i had been using to create a connection to Creo. I was wondering if there was a way to create an Asynchronous connection with Creo using the otk.jar

Any help would be appreciated, 

Thanks,

Jack

2 replies

17-Peridot
August 6, 2020

You can look at the source for CREOSON to see how it did it... same approach.

 

Dave

jack1512-AmethystAuthor
12-Amethyst
August 6, 2020

Thanks for this source, I don't think this helps me though because this does not utilize Creo's wfc library. It looks like they only used the JLink free methods. I am able to do what they do but the issue pops up when I try to use wfc methods (which require additional licenses) with the AsyncConnection because the AsyncConnection class doesnt exist in the otk.jar

 

17-Peridot
August 6, 2020

Ah - yes - this is true.....  Sorry for the distraction... Was hoping it might be generically useful.

 

Dave

24-Ruby III
August 7, 2020

@jack15 wrote:

Hello, I am trying to create an Asynchronous application I had one working using the pfcasync.jar Creo library but now i need the wfc package methods and those do not exist in pfcasync.jar. SO i transitioned to the otk.jar and this package is missing pfcAsynConnection which is what i had been using to create a connection to Creo. I was wondering if there was a way to create an Asynchronous connection with Creo using the otk.jar

Any help would be appreciated, 

Thanks,

Jack


Hi,

please ask PTC Support directly.