Is there a way we can call some Pro/Toolkit function from a C dll in VB.Net application and have this Pro/Toolkit API perform some operation in Pro/Engineer.
Basically what i am trying to do is
Is this kind of interoperability between VB.Net and Pro/Toolkit is possible and are there any limitations?
I request someone to provide some guidance on this or an example if available.
Appreciate your support!
My requirement is to call Pro/Toolkit custom dll functionsfrom VB.Net application.
As per documentation, ProToolkitTaskExecute() and ProToolkitDLL*() are same Pro/Toolkit functions to call another Pro/Toolkit custom dlls.
Yes it is possible. A long time agoI wrote a Win32-Dll that exports functions to use in VB6.0.
I used that in Wildfire 3.0 cause I don't like the managed extension of VS2003.
Now using Wildfire 4.0 with VS2005 it is possible to write managed code for .NET 2.0.
You have to use C++/CLI and write wrapper classes for your toolkit funktions.
So you can use VB.NET or C#.
It's easy to execute toolkit functions from VB.
See chapter "
MCAD Services Pro/E & Pro/E customization
D-65439 Floersheim / Germany
phone: +49 6145 598296
Hello Lars and Andreas,
Thanks foryour reply. I will check the method you suggested.
Have a great day!