# Generate classes

Click Generate to generate the source code for the classes you have defined. The source for the CGI-bin program (in the project CGI subdirectory) and Net.Data files (in the project DTW subdirectory) is generated.

After the tool has finished generating, click Close.

At this point, you need to build and distribute your CGI application. IMS Web generates a .mak file that has the same name as the CGI-BIN program and Net.Data transaction DLL. You need to run the generated .mak file. For example, to build the CGI-BIN executable file CGIproject_name.exe, you run the generated .mak file CGIproject_name.mak. To build the transaction DLL DTWproject_name.dll, you run the generated .mak file DTWproject_name.mak.