microcsl.ml

Status
Not open for further replies.

Vidyadhar

Usenet Archive
Joined
Dec 6, 2001
Messages
10
Reaction score
0
Dear mdl experts,

We have a software programmed in mdl (Microstation SE) which is using following functions and type definations from microcsl.ml library and microcsl.h include file.

functions :

1) eldfp3 (ggroup,level,specs,dtop_rad,top_center,&status,NULL,rot);
2) rdtcbasc("DGNNAM",&namlen,dgnname,&status)
3) dfrset(uvar_bl_adr,levels,types,NULL,NULL,NULL,NULL,dgnname,&status,NULL);
4) reqele(&(uvar_block->s),&buflen,&status,NULL,NULL,NULL,NULL,NULL,
5) wtdfpi(&(uvar_bl_adr[0]),&(uvar_bl_adr[1]),&wds,&(uvar_block->s),&status);
6) finodf;

Type defs :

1) Ggroup
2) Specs

We want to upgrade to Microstation J. But microcsl.ml library is not available in MSTN J.

Bentley advised us to reprogram these microcsl functions in mdl and microcsl library is not longer supported.

Also the programmer who originally programmed the software has left the company.

Now the task of converting mdl equivalent of above microcsl functions is with me (bad luck).

I do not have faintest idea as to what above microcsl functions do !! Can somebody expain me what above microcsl functions do and what mdl process should I use to achieve the result ?

Regards,

V.S. Jangale
 
(Vidyadhar) wrote:
Dear mdl experts,

We have a software programmed in mdl (Microstation SE) which is using following functions and type definations from microcsl.ml library and microcsl.h include file.

functions :

1) eldfp3 (ggroup,level,specs,dtop_rad,top_center,&status,NULL,rot);
2) rdtcbasc("DGNNAM",&namlen,dgnname,&status)
3) dfrset(uvar_bl_adr,levels,types,NULL,NULL,NULL,NULL,dgnname,&status,NULL);
4) reqele(&(uvar_block->s),&buflen,&status,NULL,NULL,NULL,NULL,NULL, ...

You should get a handbook of microcsl to search these function's description. I have this handbook 7 years ago, but I can not find it now.

Obviously, the 2) rdtcbasc("DGNNAM",&namlen,dgnname,&status) function is to read tcb variable by ascii. you can replace it with one or two assign statements as follows:
strcpy (dgnname, tcb->dgnfilenm);
namlen = strlen (dgnname); // if you use 'namlen' varialbe

Good Luck.

Foo.
 
Status
Not open for further replies.

Latest threads

Back
Top