Hi!
Any one know about how to execute multi thread dll protoolkit program.
main function never work. only work user_initialize() and user_terminate()
how can executemain function.
int main(int argc, char**argv)
{
FILE*fp; fp = fopen("work test", "w+");
// Never work... in main function.
fprintf(fp, "Welcome to PRO/TOOLKIT -the \"pt_example\" program\n");
fflush(fp);
ProToolkitMain(argc, argv);
fclose(fp);
<A name=anchor-77></A> return (0);
}
int user_initialize(
int argc, /** Number of arguments **/
char *argv[], /** Pro/E arguments **/
char *proe_vsn, /** Pro/E version **/
<A name=anchor-79></A> char *build, /** Pro/E build **/
wchar_t err_buff[]) /** Error buffer **/
{
// "It's work".....
}
void user_terminate()
{
ProTestErrlogClose();
}
Any one know about how to execute multi thread dll protoolkit program.
main function never work. only work user_initialize() and user_terminate()
how can executemain function.
int main(int argc, char**argv)
{
FILE*fp; fp = fopen("work test", "w+");
// Never work... in main function.
fprintf(fp, "Welcome to PRO/TOOLKIT -the \"pt_example\" program\n");
fflush(fp);
ProToolkitMain(argc, argv);
fclose(fp);
<A name=anchor-77></A> return (0);
}
int user_initialize(
int argc, /** Number of arguments **/
char *argv[], /** Pro/E arguments **/
char *proe_vsn, /** Pro/E version **/
<A name=anchor-79></A> char *build, /** Pro/E build **/
wchar_t err_buff[]) /** Error buffer **/
{
// "It's work".....
}
void user_terminate()
{
ProTestErrlogClose();
}