Hi,
In pure MDL, dls file specification (see below) allows to call functions in MDL program (used as Shared library) from another pure MDL program.How may this be done between two "native" MDL programs?
Thanks for help
Best regards,
Jean-Claude
/*----------------------------------------------------------------------+| || Function - || || MDL Shared Library Example Application Dynamic Link || Specification File || |+----------------------------------------------------------------------*//* Specify the version number. */
%Version 0x551
%InterfaceType Mdllib
%ModuleName pixdted
%Functions
GetPointAltitudeFromDtedUsingDisplayedRaster (dtTools_GetPointAltitudeFromDtedUsingDisplayedRaster) GetPointAltitudeFromDted (dtTools_GetPointAltitudeFromCurrentSousLotDted)
%EndFunctions
%Variables
%EndVariables
%End
Hi Jean-Cluade,
at first, PLEASE use Insert > Insert code tool to share any piece of code. It's annoying to see code formatted as plain text. Why to waste time to read such text?
MDL shared libraries were marked as obsolete long time ago and even in MDL documentation there is a recommendation to use DLL instead.
So the discussion moves to "how to create DLL library, that can be consumed by more application".
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point