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.

ProMsgDisplay

sujayt

New member
hi


can anyone plz tell me how to use ProMsgDisplay function in proToolkit.its very urgent and i will be very thankful if u could get me out of this problem.


sujay
 
#include <ProToolkit.h>
#include <ProMessage.h>
#include <ProObjects.h>
#include <ProFeature.h>
#include <ProDimension.h>
#include <ProMdl.h>
#include <ProUtil.h>
#include <TestError.h>
#include "prodevdim.h"
#include <ProFeature.h>


#include "proentype.h"



#include <ProSelection.h>
#include <ProWchar.h>





ProError status;
ProSection section;
wchar_t wname;
int windowid;
ProFileName msgfil;
ProError err;
ProMdl model;
ProError status;
ProSelection *sel = NULL;
int n_sel;
ProModelitem item;


int user_initialize()
{


windowid = 0;

ProStringToWstring(msgfil, "selection.txt") ;


ProMessageDisplay(msgfil,"**************************** *****************\n");
ProMessageDisplay(msgfil,"------Welcome To Microscan Technologies------\n");
ProMessageDisplay(msgfil,"**************************** *****************\n");

return 0;
}


void user_terminate()
{
printf("Terminated");

}


in Message File


USER %0s *********************************************
*********************************************
#
#
USER %0s ------Welcome To Microscan Technologies------
------Welcome To Microscan Technologies------
#
#
USER %0s *********************************************
*********************************************
#
#
 

Sponsor

Articles From 3DCAD World

Back
Top