Skip to main content
1-Visitor
May 10, 2017
Solved

Creo Toolkit using C#

  • May 10, 2017
  • 1 reply
  • 14729 views

Hi all,

I have some basic idea on creating application using VB API, now I am trying to create a application using C#. Can somebody help me regarding procedure to start with like adding reference in visual studio, and connecting to the active creo session. I have gone through tkuse but I am no where.

Regards

Manjunath.S

Best answer by TomasLoun

Yes, of course. You can even combine VB.NET and C# ...

1 reply

16-Pearl
May 12, 2017

Hello Manjunath S

Creo API does not directly support C# but you can do by using dynamic libraries. You need to create your own dynamic library using Native language.

If you want to create a Creo Toolkit library, you need to create dll in C Program and import at runtime with your C# Project.

See this thread, how to import C++ dll in C# program

https://stackoverflow.com/questions/7232259/c-sharp-importing-c-dll

ms-61-VisitorAuthor
1-Visitor
May 12, 2017

Parthiban Kannan‌ how to add reference in Visual studio while using a c program. Also I need to have develop an application with user interface. Please provide if training material if available, except TKUSE.

16-Pearl
May 24, 2017

Hello Manjunath S,

  You cannot add reference like C# or Vb.net program. You've to use interop services & refer the dll at runtime