We recently upgraded from PB 12.5 Classic to PB 2017.
We currently have four applications. Two are less than 10 MB in size and two are greater than 50 MB in size.
There is no problem when we deploy the project for either of the two smaller applications.
We are able to do a full build of the larger application without any errors from the System Tree.
When we try to deploy the project for either large application, the build crashes right after the temp file is initially created in the output folder. We also tried the deployment using PBDs and the build crashed right after the PBDs were created.
We have tried both Windows 7 and Windows 10 with PB 2017 Build 1681.
We are connected to MS SQL Server using the Native Client Driver.
We have optimized the pbls before deployment attempt.
We currently don't use any 3rd party software.
Haven't fully tested all parts of the app, but they do appear to run fine in the IDE.
Warnings after full build:
---------- Compiler: Warnings (12:30:04 PM)
mcobj.pbl(w_toolbar).w_toolbar.ue_ok.1: Warning C0209: Function or event 'ue_ok' must be declared before it can be compiled.
mcobj.pbl(w_toolbar).w_toolbar.open.1: Warning C0209: Function or event 'ue_ok' must be declared before it can be compiled.
mcobj.pbl(w_toolbar).w_toolbar.ue_cancel.1: Warning C0209: Function or event 'ue_ok' must be declared before it can be compiled.
mcobj.pbl(w_toolbar).w_toolbar.ue_cancel.1: Warning C0209: Function or event 'ue_cancel' must be declared before it can be compiled.
mcobj.pbl(w_toolbar).w_toolbar.create.1: Warning C0209: Function or event 'ue_ok' must be declared before it can be compiled.
mcobj.pbl(w_toolbar).w_toolbar.create.1: Warning C0209: Function or event 'ue_cancel' must be declared before it can be compiled.
mcobj.pbl(w_toolbar).w_toolbar.destroy.1: Warning C0209: Function or event 'ue_ok' must be declared before it can be compiled.
mcobj.pbl(w_toolbar).w_toolbar.destroy.1: Warning C0209: Function or event 'ue_cancel' must be declared before it can be compiled.
pfcobjs.pbl(n_cst_dwsrv_resize).27: Warning C0190: Instance variables of local structure type ('os_resize') will be implicitly private in the next release.
pfcobjs.pbl(n_cst_resize).37: Warning C0190: Instance variables of local structure type ('os_resize') will be implicitly private in the next release.
However, these two exact same pbls are in the two small applications that deploy their projects without crashing.
Rod
The C0190 warnings are OK to ignore while the C-2019 warnings are not. However, the only trouble you should get into is after the compile if the User Events are trying to be executed.
Have you tried ...
Making sure that the main application folder and all sub -folders * files are not marked as "Read Only"
Running the IDE as ADMIN
Using a short TEMP path and with no spaces in it?
Regards ... Chris