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

VB API: IpfcAsyncConnection.End() crashes Creo.

Newbie

VB API: IpfcAsyncConnection.End() crashes Creo.

Good day.

I am working with the VB API in C# with Visual Studio 2015 and so far I have been successful in starting a new AsyncConnection, loading some models, adding a couple Action Listeners, etc.

However, I have never been able to properly end a connection:

Every time I call IpfcAsyncConnection.End() . the Creo Parametric session simply crashes, and I have to force close it.

This seems so simple but I can't get it to work. I have tried closing windows, disconecting first, etc.

Has anyone experienced the same? Any sugestions?

Thanks,

Pedro.

Tags (1)
2 REPLIES 2

Re: VB API: IpfcAsyncConnection.End() crashes Creo.

Hi,

  IpfcAsyncConnectiion.End() - Command will force close all the process related to the Creo.

Use the following commands for Asynchronous application with COM connection


1. To start Creo

    CCpfcAsyncConnection.Start()

2. To Connect with existing session

    CCpfcAsyncConnection.Connect()

3. To continue with Connected session

    CCpfcAsyncConnection.GetActiveConnection()

4. To Stop / Disconnect the Current session

   IpfcAsyncConnection.Disconnect()

5. To End the Creo session

   IpfcAsyncConnection.End()

Moved:

Re: VB API: IpfcAsyncConnection.End() crashes Creo.