The JSON library is created as a .NET component using .NET version 4.5.

 

It is also dependent on the Newtonsoft.JSON.dll

 

The component uses COM Interop to communicate with DataFlex

 

The component can be registered using the REGASM tool from Microsoft. REGASM is found in the .NET Framework folder under

 

%SystemRoot%\Microsoft.NET\Framework

 

and then the Version Number. In this case 4 so the full folder should be

 

%SystemRoot%\Microsoft.NET\Framework\v4.0.30319

 

to call REGASM you have two choices.

 

1) Using the /codebase switch

 

This will register the component in the folder it is installed similar to a standard ActiveX component

 

%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm szJSONParser.dll /tlb /codebase

 

2) Putting the component into the GAC

 

%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm szJSONParser.dll /tlb 

 

and then the szJSONParser.dll as well as the Newtonsoft.JSON.dll have to be copied into the GAC