Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Spawn mode is slow on Windows

madhannarayanan

New member
I have written a ProToolkit application that needs to traverse the surfaces and

edges of the model. I am using the ProToolkit visit functions and I am finding

that the code works very slow on windows compared to a unix platform.

I am running the code in the spawn mode.



Has anyone encountered this and found a way around this?
 
mad....,


Spawn mode is useful only when you are programmingyour application and debugging it. The reason it is slow is because each API call goes through a message passing executable called pro_comm_msg.exe. When you release your application to your users you should compile it for dll mode. This dll will get loaded into the xtop.exe process and then your program will scream. Trust me, the speed will greatly increase when you compile in dll mode. It's all documented in the API wizard.
 

Sponsor

Articles From 3DCAD World

Back
Top