Discussions tagged Compiler
How to specify filename for SMS log during compile
- Resolved
- How-to
- Last updated 1 month ago
- Chris Pollach @Appeon replied 1 month ago
When performing a compile using the autocompiler for PB 2019 R2, it seems to generate a log file but the filename seems to change depending on when and where I do the compile.
Here is an example of my compile using pbc190.exe:
C:\temp_git\Powerbuil...
Did new versions of PowerBuilder change access to network drives?
- Resolved
- Issue
- Last updated 4 months ago
- Daniel Johnson replied 4 months ago
We're currently working to migrate a bunch of apps to PowerBuilder 2019R2 from 12.5.2.
We have resource files that reference a network drive, which references a file share mapped to each developers' machine as a drive letter. When deploying apps...
project build options - rebuild - incremental greyed out
- Resolved
- How-to
- Last updated 5 months ago
- Chris Pollach @Appeon replied 5 months ago
Hi can anyone help
On one of my applications the project build options, incremental is greyed out, i can select the prompt for overwrite and classic style but not the incremental
On other applications I can tick this.
regards and thanks in adva...
I have been playing with SnapDevelop. I have a dll I wrote in C# .NET Framework Standard which fails to compile after opening the solution in SnapDevelop, even though it works just fine in Visual Studio 2017 and 2019. The error is gives is:
Please c...
compilation errors does not display
- Issue
- Last updated 6 months ago
- Chris Pollach @Appeon replied 6 months ago
Hi,
I'm using PB 2017. starting from few days ego,when compiling an object, I am not getting a display errors of the compilation. the save icon continue being blue ( does not become grey).
The help message on the bottom left says "saving user obje...
Application compiled with PB2019 R2 is (much) slower than with PB2017
- Resolved
- Issue
- Last updated 7 months ago
- Arnaud Bailly replied 6 months ago
Hello,
We have an application that we have migrated from PB2017 to PB2019R2. Our users are complaining the application has become painfully slow. To quote one user:
> Even the most friendly, patient colleagues that have used XXX for many years a...
Compiling and CPU usage
- Resolved
- How-to
- Last updated 7 months ago
- Chris Pollach @Appeon replied 7 months ago
Hi.
We have recently purchased a new build server.
It has an AMD Ryzen 9 3950X CPU with 16 cores @ 3,5 GHz.
We feel that it doesn't take full advantage of all the resources when compiling.
I've tried both the GUI in PB and pbc190.exe.
I still on...
Speeding up continuous integration and build time
- Resolved
- Advice
- Last updated 9 months ago
- Armeen Mazda @Appeon replied 9 months ago
Hello,
We are currently building a large-ish PowerBuilder (2017 but we are in the process of migrating to 2019) application using Microsoft's DevOps pipelines. Our current build script takes quite a lot of time as we:
cleanup everything
copy all...
Project Painter & PBC with 3pass option?
- Issue
- Last updated 9 months ago
- mike S replied 9 months ago
Hi All
ORCA and ORCAScript both support a "3pass" option, which is "performs a full rebuild of the application. It should be used instead of full when there are complex inherited relationships."
But the IDE and PBC don't offer this option. In o...
PB 2019 crashes while trying to migrate library
- Resolved
- Issue
- Last updated 10 months ago
- Chris Pollach @Appeon replied 10 months ago
I am working on a large-ish codebase containing about 20 libraries. This codebase is currently in PB2017 but we want to migrate it to PB2019R2 in order to benefit from enhanced REST/HTTP support. I have successfully migrated it 2 months ago and start...
Folder for compiler's C++ files?
- How-to
- Last updated 10 months ago
- Roland Smith replied 10 months ago
Environment variable defines TEMP file folder for PB's machine code compiler. I forgot its name.
UPDATE => Found it! It is config parameter in PB.INI, section = [PB], name = CODEGENTEMP.I used ProcMon from Sysinternals to investigate the PB compi...
How to detect possible Integer overflow
- Advice
- Last updated 10 months ago
- David Peace replied 10 months ago
Hello,
I have a simple problem and we get this bug once/twice in a year but the impact of this bug is always huge. The problem is the following.
When we create a new function in PowerBuilder, it automatically sets the return value as integer, which...
when doing a full build is there a way to log output to a file? i have 2 apps with common objects. i compile APP1 and move PBD's to a common folder. when i compile APP2, which has PBD's in the common folder, the pbl's compile as expected. when PB...
Hello everyone,
we are currently in the process of evaluating, if patching is a viable way of updating our product (PowerBuilder application).
Recently I found a way to create and apply patches using the "diffUtils" and "patch" tool from the "GnuWi...
IDE Setup
PowerBuilder 2017 R3 Standard Edition, build 1858.
Connected to MSSQL 2012 (SP4) using ADO.NET.
System Options as follows:
[ ON ] Free Database Driver Libraries on Disconnect
[ OFF ] Disable database connection when compiling and...
Compiler PBC170.exe does not include resources ?
- Issue
- Last updated 1 year ago
- René Ullrich replied 1 year ago
Hi All, We wrote a script to compile our apps with PBC170.exe which is working good except for resources (bmp,png,ico). Each PBL of the apps have their own PBD for resources. We notice that resources contained in the main PBR are the only one inclu...
Documentation of pbc170 parameters
- How-to
- Last updated 1 year ago
- Adrian Hernandez replied 1 year ago
Hi.
Is there any documentation of the parameters for the stand alone compiler pbc170?
Thanks.
Rolf...
GetContextService Crash on dll Deployment
- Resolved
- Issue
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
I have a user function object used to open a web browser that causes a crash when deploying the project but only when the option to create machine code and a .dll library is selected. Deployment with Pcode as well as machine code without a .dll libr...
PB 2017 R3/ W10/build 1858
I have been using PB Classic from 10.5, all versions up to 12.6, when finally migrating to 2017 R3.
Alle versions have had exactly the same annoying problem. PB frequently crashes when manually closing the debugger, an...
I am trying to execute a command line build :
pbc170.exe /d "C:\Build\PBTit-CCH-17\PBL\ge_imed\imed.pbt" /o "C:\Build\PBTit-CCH-17\PBL\ge_imed\imed.exe" /r "C:\Build\PBTit-CCH-17\PBL\ge_bitmaps\imedicons.pbr" /w n /f /m y /tr n /in n /op 0 /x 32 /bg...
- Page :
- 1