Register

 

The "Register()" function must be present!  It register the DLL with sliceOmatic. The function returns the name of your module.

 

 

Syntax

 

extern "C" __declspec(dllexport) char  *Register(

          unsigned int val

)

 

 

Parameters

 

val

This variable is used only by TomoVision in its modules.

 

 

Return value

 

The function returns the name of your module.

 

 

Remarks

 

This function is NOT optional.

 

 

Requirements

 

Header:

          sliceO_include.hpp

 

 

Library:

          sliceO_Structures.lib

 

 

Example

 

...

 

// ----------------------------------------------------------------------------

//

//          Function:          Register

//

//          Parameters:          val (unsigned int)          always NULL

//          Returns:          (char *)                    The name of this module

//

//          This function will tell sliceOmatic that you are registering a module

//

// ----------------------------------------------------------------------------

extern "C" __declspec(dllexport) char          *Register( unsigned int val )

{

          return( "Demo Module" ) ;

}

 

...

 

See also