Template for custom Exit DLL Program

 

 

 

 

 

 

 

 

 

 

 

 

Template for custom Exit DLL Program

For ITK Customization,please see below Custom Exit DLL Program Template.

#include<stdio.h>

#include<tc\tc.h>

#include<tccore\custom.h>

int iFail=0;

#define DLLAPI_declspec(dllexport)

extern DLLAPI int custom_dll_register_callbacks();

extern DLLAPI int GLOBALPLM_execute_callbacks1(int *decision,va_list argc);

extern DLLAPI int GLOBALPLM_execute_callbacks2(int *decision,va_list argc);

 

extern DLLAPI int ustom_dll_register_callbacks()

{

iFail=custom_register_exit(“custom_dll”,”USER_init_module”,(CUSTOM_EXIT_ftn_t)GLOBALPLM_execute_callbacks1);

iFail=custom_register_exit(“custom_dll”,”USER_exit_module”,(CUSTOM_EXIT_ftn_t)GLOBALPLM_execute_callbacks2);

}

extern DLLAPI int GLOBALPLM_execute_callbacks1(int *decision,va_list argc)

{

*decision=ALL_CUSTOMIZATIONS;

printf(“WELCOME TO TEAMCENTER PLM”);

return iFail;

}

extern DLLAPI int GLOBALPLM_execute_callbacks2(int *decision,va_list argc)

{

*decision=ALL_CUSTOMIZATIONS;

printf(“GOOD BYE”);

return iFail;

}


                  Popular Teamcenter Article published

Template for Batch ITK Program

Basic ITK Customization Concept Part-02

Basic ITK Customization Concept Part-01

Teamcenter Customize Error Messages

User Service Mechanism in Teamcenter Customization

Explanation of ITK Login Program

POM Queries in Teamcenter

Teamcenter Workflow Handlers

Microsoft Visual Studio Project configuration for Teamcenter Unified ITK

Teamcenter Unified Customization Basics

Teamcenter Unified Data Model Concept


 


Four Easy Steps to Get Subscribed

Step1:-Enter your Email address and Hit SUBSCRIBE Button.

Step2:-Please check inbox and open the email with the subject lineConfirm your subscription for Global PLM“.

Step3:-Please click “Confirm Follow” and you got the email with the subject” Confirmed subscription to posts on Global PLM”.

Step4:-Voila, You are subscribed.Happy Learning


 

We will more post on  PLM Tutorial–>Teamcenter Customization in upcoming days.

Kindly provide your valuable comment on the below Comment section and We will try to provide the best workaround.

Kindly subscribe to your Email-Id at (https://globalplm.com/) and drop any suggestions/queries to ([email protected]).

Leave a Reply

Your email address will not be published. Required fields are marked *