| MIL 10 Reference
| Customize Help
| Save Settings

MappFree



See also
Availability
Available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
3dmodelheightdefect.cpp
3dplanefit.cpp
addconstant.cpp
advancedmeasurement.cpp
aimdpmgrading.cpp
ampouleandpackageinspection.cpp
autodetect.cpp
binarybasedcircledetection.cpp
blisterpackinspection.cpp
blobmerge.cpp
bottlecapandcontentinspection.cpp
bottlecapandlabelinspection.cpp
bottlecapinspection.cpp
calibratedruler.cpp
calibrationfromlist.cpp
cameraonrobotarmcalibration.cpp
caninspection.cpp
centeredlabelinspection.cpp
chromasens3dpixa.cpp
circlemeasurement.cpp
codegrading.cpp
colorbasedproductidentification.cpp
colorrelativecalibration.cpp
cookiedetection.cpp
deadpixelcorrection.cpp
defectdetectionexample.cpp
detectfpgaconfig.cpp
dmiladdconstantmain.cpp
dmilbasic.cpp
dmilmdigprocesssharedmemory.cpp
dmilmultisystem.cpp
dmilobjecttracking.cpp
dmilremap.cpp
dmilsyncasyncmain.cpp
dotspacing.cpp
exampleinterface.cpp
extendeddepthoffield.cpp
fdkaddconstantmain.cpp
fdkhistogrammain.cpp
fixturedcoderead.cpp
fixturingusingblob.cpp
flatfieldcorrection.cpp
foodinspection_cereal.cpp
foodinspection_mango.cpp
foodinspectioncereal.cpp
foodinspectionmango.cpp
form1.cs
form1.vb
kinect.cpp
lmigocator2000.cpp
matroxgatoreye.cpp
mcolorwarp.cpp
mdigcrossbar.cpp
mdiggrabmultiple.cpp
mdigprocess16vd.cpp
mdigprocessmultiple.cpp
mdispgtk.cpp
mdispmfc.cpp
mdispqtapp.cpp
mdispwindow.cpp
mdispwindowgtk.cpp
mdispwindowqt.cpp
meas2stepoverview.cpp
measoverviewexample.cpp
mechanicalpartscan.cpp
microsoftkinect.cpp
milapplication.cs
milapplication.vb
morphischannelswitchingdlg.cpp
morphology.cpp
msysio.cpp
muart.cpp
multicamera.cpp
multipledatamatrixcoderead.cpp
multiprocessing.cpp
multiviewannotations.cpp
objectlocalization3d.cpp
pcbmodelmatching.cpp
pfocus.cpp
productidentificationoasis.cpp
registeredgoldentemplate.cpp
semiocr.cpp
sickrangerc.cpp
sickrangere.cpp
stereocalibration.cpp
superresolution.cpp
tirestringread.cpp
variouscodereadings.cpp
viofeaturesdemo.cpp
vioplayback.cpp
Synopsis
Free a MIL application.
Syntax
void MappFree(
MIL_ID ContextAppId //in
)
Description

This function deallocates a MIL application previously allocated with MappAlloc().

When freeing a MIL application, you must free it in the thread in which it was allocated. Also, in a given thread, MappFree() must be the last MIL function called; no other MIL function can be executed in a thread after a call to this function. Prior to freeing a MIL application, ensure that all systems, buffers, displays, and digitizers allocated in the thread are freed.

Note, if you use MappAllocDefault() to allocate the default MIL application, you must use MappFreeDefault() to free the application.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameter
ContextAppId

Specifies the application to free.

Remark
Compilation information
Header Include mil.h.
Library Use mil.lib.
DLL Requires mil.dll.