Normally this is a project option flag. But it can be put in source code probably in dllmain.c with #define _NO_VCL as one of the first lines To set the option in the project select Project|options|directories/conditions in the item conditionals open the editor (click on ...) and add _NO_VCL Normally the BCB Dll wizard should set this condition when Use Vcl is unchecked HTH -- Roger Aelbrecht http://web.wanadoo.be/driehoeksw ----- Original Message ----- From: <Eric.Engler@xxxxxxxxxxxxxx> To: <delphizip@xxxxxxxxxxxxx> Sent: Wednesday, April 03, 2002 7:31 PM Subject: [delphizip] Re: Memory allocation leak in UNZDLL.DLL > >3- The same Dll rebuild on my BCB5 with condition _NO_VCL > >does not have the memory leak. > > Can this option be put into the souce code? > Can you post instuctions on how to set that option? > > Eric > > >