gert de nul
Usenet Archive
- Joined
- Jul 20, 2001
- Messages
- 13
- Reaction score
- 0
Hi,
I'm writing mdl code for MS version 8 (guess same for version 7). And I want to call a function
StatusInt mdlMesh_convertToShapes
( MSElementDescr* pMeshDescr , MSElementDescr*
* Descr );
This function is defined in "msmdlmesh.fdf", wich I include as follows :
MdlPublic StatusInt mdlMesh_convertToShapes
(const MSElementDescr
*pMeshDescr,MSElementDescr **ppShapeDescr);
and MdlPublic is defined in "basedefs.h" as
#define MdlPublic
But when I compile I get the following error :
error: using undeclared function mdlMesh_convertToShapes
I suspect that the function is set to Protected instead off Public when I compile, but what is the Phylosofy behind this MdlPublic then.
If I include "msmesh.h" istead of "msmdlmesh.fdf" I get the following error ### C:\BentleyV8\Program\MicroStation\mdl\library\toolsubs.dlo:
Unrecoverable errors detected.
output file not created.
In Version 7 they use also MdlPublic but not that often (see ditemlib.fdf), but never used this one.
Thanks,
Gert.
I'm writing mdl code for MS version 8 (guess same for version 7). And I want to call a function
StatusInt mdlMesh_convertToShapes
( MSElementDescr* pMeshDescr , MSElementDescr*
* Descr );
This function is defined in "msmdlmesh.fdf", wich I include as follows :
MdlPublic StatusInt mdlMesh_convertToShapes
(const MSElementDescr
*pMeshDescr,MSElementDescr **ppShapeDescr);
and MdlPublic is defined in "basedefs.h" as
#define MdlPublic
But when I compile I get the following error :
error: using undeclared function mdlMesh_convertToShapes
I suspect that the function is set to Protected instead off Public when I compile, but what is the Phylosofy behind this MdlPublic then.
If I include "msmesh.h" istead of "msmdlmesh.fdf" I get the following error ### C:\BentleyV8\Program\MicroStation\mdl\library\toolsubs.dlo:
Unrecoverable errors detected.
output file not created.
In Version 7 they use also MdlPublic but not that often (see ditemlib.fdf), but never used this one.
Thanks,
Gert.