_dcgetbx.prg build error

This forum is for eXpress++ general support.
Message
Author
ampandya
Posts: 58
Joined: Tue Apr 19, 2016 4:48 am

_dcgetbx.prg build error

#1 Post by ampandya »

Hi
I have recently got exp20 version and trying to run the build20.bat file.

I am getting the following error.
Can you please help me build this?
--------------------------------------------------------------------------------------------------------
_DCGETBX.PRG(13028:0): error XBT0200: Syntax Error
_DCGETBX.PRG(13483:0): error XBT0206: Invalid use of @ (pass by reference) operator
_DCGETBX.PRG(13498:0): error XBT0200: Syntax Error
_DCGETBX.PRG(13604:0): error XBT0206: Invalid use of @ (pass by reference) operator
_DCGETBX.PRG(13604:0): error XBT0204: Statement not allowed outside procedure or function
_DCGETBX.PRG(2:0): error XBT0204: Statement not allowed outside procedure or function

6 error(s) found in file _DCGETBX.PRG!

'xpp /q /n /w /m /b /ga /dEXPRESS18 /dll:DYNAMIC /COFF /b /dDEBUG /dll /o..\..\
obj20 @C:\Users\pandya\AppData\Local\Temp\04281879.tmp' returned error 6
Processing time: 0.34 secs.
--------------------------------------------------------------------------------------------------------

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: _dcgetbx.prg build error

#2 Post by Auge_Ohr »

ampandya wrote:I have recently got exp20 version and trying to run the build20.bat file.
this File is for Xbase++ v2.0x
greetings by OHR
Jimmy

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: _dcgetbx.prg build error

#3 Post by rdonnay »

What version of Xbase++ are you using?
The eXpress train is coming - and it has more cars.

ampandya
Posts: 58
Joined: Tue Apr 19, 2016 4:48 am

Re: _dcgetbx.prg build error

#4 Post by ampandya »

Xbase++ Version 1.82

Jimmy said i need to use XBase++ 2.0x.

I had been given XB folder by the previous developer, i am in process of updating this becase i have recently bought support for express++ 2.

Do you think it would be easy to update xbase++?

Many Thanks

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: _dcgetbx.prg build error

#5 Post by rdonnay »

I will need to make some changes to the code to make it compile in 1.82.

Let me see what I can do for you.
The eXpress train is coming - and it has more cars.

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: _dcgetbx.prg build error

#6 Post by rdonnay »

I needed to make a few source code changes to make eXpress++ compile in 1.82.

Please confirm that the attached files work for you and if they do, I will also give you the updated source files.

There are features that are documented in eXpress++ 1.9 and above that will not work in 1.82 due to the fact that these features depended on features of Xbase++ 1.9 or 2.0.

Create a folder named \exp20\bin182 and extract all the files to that folder.
Change your path to point to the \exp20\bin182 folder when running your applications.
Attachments
exp182_264.zip
(7.76 MiB) Downloaded 780 times
The eXpress train is coming - and it has more cars.

ampandya
Posts: 58
Joined: Tue Apr 19, 2016 4:48 am

Re: _dcgetbx.prg build error

#7 Post by ampandya »

Hi
using these file, my program compile correctly and exe was generated but when run it
the error related to XPPRT1.DLL came up.

Thanks

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: _dcgetbx.prg build error

#8 Post by rdonnay »

I don't understand this error.

I have to try to reproduce the error.
The eXpress train is coming - and it has more cars.

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: _dcgetbx.prg build error

#9 Post by rdonnay »

I think your problem may be your .LIB files.

Those in your eXpress++ installation were built with Xbase++ 2.0.

Here are some .LIB files that were built with 1.82.
Attachments
lib_812.zip
(101.55 KiB) Downloaded 774 times
The eXpress train is coming - and it has more cars.

ampandya
Posts: 58
Joined: Tue Apr 19, 2016 4:48 am

Re: _dcgetbx.prg build error

#10 Post by ampandya »

Hi,
-----------------------------------------------------------------
the program works when used the following path:
-----------------------------------------------------------------
@echo off
rem Environment for Xbase++ 1.82
rem created by Xbase++ 1.82 installation 10-11-2003
SET LIB=C:\xb\LIB;C:\exp18\lib
SET PATH=C:\xb\BIN;C:\xb\LIB;C:\exp18\BIN182;C:\exp18\BIN;c:\windows;c:\windows\system32
SET INCLUDE=C:\xb\INCLUDE;C:\exp18\include
SET XPPRESOURCE=C:\xb\RESOURCE\BITMAP;%XPPRESOURCE%
SET XPPRESOURCE=C:\xb\RESOURCE\ICON;%XPPRESOURCE%
SET XPPRESOURCE=C:\xb\RESOURCE\FONT;%XPPRESOURCE%
SET XPPRESOURCE=C:\xb\RESOURCE\POINTER;%XPPRESOURCE%

-----------------------------------------------------------------
When used this path and dclipx.dll from bin20, the attached error occurred
-----------------------------------------------------------------

@echo off
rem Environment for Xbase++ 1.82
rem created by Xbase++ 1.82 installation 10-11-2003
SET LIB=C:\xb\LIB;C:\exp20\lib
SET PATH=C:\xb\BIN;C:\xb\LIB;C:\exp20\BIN182;c:\windows;c:\windows\system32
SET INCLUDE=C:\xb\INCLUDE;C:\exp20\include
SET XPPRESOURCE=C:\xb\RESOURCE\BITMAP;%XPPRESOURCE%
SET XPPRESOURCE=C:\xb\RESOURCE\ICON;%XPPRESOURCE%
SET XPPRESOURCE=C:\xb\RESOURCE\FONT;%XPPRESOURCE%
SET XPPRESOURCE=C:\xb\RESOURCE\POINTER;%XPPRESOURCE%
Attachments
Capture.JPG
Capture.JPG (13.65 KiB) Viewed 17657 times

Post Reply