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.

ProMdlfileCopy not working - Pro/Toolkit

rnd_doss

New member
Hi everyone,<?:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" />


Please find the attachment is a code snippet of my program. The program is working fine when i compile in dll mode. But while compile in spawn (exe) mode, the program is running without copying the respective models.


Can you someone suggest the root cause for my issue?2007-03-05_061656_code.zip
 
Dear MurugaDas,


I saw your issue, i cross check at my end.Your issue is reproducable, it is very strange.Do you log a call in PTC Technical Support regrding this issue.


Infact i could not able get any clue,why it is behaving especially in "exe" mode of the application.I too investigating the issue,mean while it you get the solution to this issue let me know? It seems to be you been working on Pro-Toolkit quite a log time.


With regards,


Kishore V
 
Dear MurugaDas,


I was investigated the issue there might be issue withyour code in which you made some strcat() adding the Path also(\\). I couldn't able to pin point where it went wrog because there are some UI code involved in it.


I am sendign the sample code...Plz execute at your end.


Plz copy the work space or .C file into your work sapce.Create folder name"XYZ" in your "C" direcory. copy the a.prt into that.


Run the application it will copy a b.prt and c.prt using the function ProMdlfileCopy() and ProMdlCopy() i tested using the both the functions. It is working in DLL and EXE mode.


With regards,


Kishore V( 9900562990) Plz feel free if you any further Q's on it.


2007-05-02_061154_Test_part.zip
 
Hi Kishore,


I was in vacation and i could not check my prvious post. Just now checked your reply. ProMdlfilecopy is working fine after compiling your code. Thanks for your gr8 support.


smiley32.gif



Regards,


Murugadoss
 

Sponsor

Back
Top