Last Modified October 1, 2026

DNA_SetBuildNo() API

DNA_SetBuildNo(Build_No) - (Deprecated)

Parameters Description
<Build_No>

A 10-character string identifying the Build No of this Application

For list of Error Codes and descriptions, see DNA Error Codes    .

The DNA_SetBuildNo will set the "Build_No" used by all subsequent API Calls. This call should the first API call if you intend to use the "Build No" option.

The Build No option allows you to manage multiple versions of your software within the same Product while sharing all the same configuration and protection settings.

This option is used during the development phase for large software projects to manage and protect internal test releases, pre-releases and media releases of your software before the commercial launch of the product, when you want to stop any leakage of your software before commercial launch.

See Using Build No"s    .

 

Declarations and Examples

                      	
                        
							FUNCTION DNA_SETBUILDNO(BUILD_NO:PANSICHAR):INTEGER; STDCALL;
                  		
                  
                      
                        
                        DECLARE FUNCTION DNA_SETBUILDNO LIB "DNA.DLL" (BYVAL BUILD_NO AS STRING) AS INTEGER
                      
                  
                      
                        
                        INT __STDCALL DNA_SETBUILDNO(CHAR *BUILD_NO);
                      
                  
                      
                        
                        INT __STDCALL DNA_SETBUILDNO(CHAR *BUILD_NO);
                      
                  
                      
                        
                        INT __STDCALL DNA_SETBUILDNO(CHAR *BUILD_NO);
                      
                  
                      
                        
                        PUBLIC NATIVE INT DNASETBUILDNO(STRING BUILD_NO);
                      
                  
                      
                        
                        DECLARE FUNCTION DNA_SETBUILDNO LIB "DNA.DLL" (BYVAL BUILD_NO AS STRING) AS SHORT
                      
                  
                      
                        
                        PUBLIC STATIC EXTERN INT DNA_SETBUILDNO(STRING BUILD_NO);