Fivewin 2012 to Fivewin 2015 for a xharbour application

Fivewin 2012 to Fivewin 2015 for a xharbour application

Postby pieter » Thu Feb 05, 2015 12:55 pm

Hello,

Goal: I want to use Fivewin 2015 for a large XHarbour application. At the moment this application uses fivewin 2012.

Technologies I want to use.
-Windows 8.1 (64 bit) on a virtual machine
-Fivewin 2015 (at the moment it is Fivewin 2012)
-xHarbour 1.2.3 Intl. (SimpLex) (Build 20141106) (At the moment the application uses an older xHarbour compiler/directory, which has a directory name xHarbour121)
-Borland 5.82 compiler (The application at this moment uses also Borland 5.82 compiler)

The first error I get is (when using all the new technologies):

Fatal: Unable to open file 'TIPMT.LIB'

This file tipmt.lib should be in the directory C:\xHarbour\lib\ (I saw this from the linker file).

I noticed that there is a file tip.lib. From the linker file I saw that there were more of such cases. It looks like, that the names are almost the same. Only that mt is added on the end.

examples

ctmt.lib and ct.lib
rtlmt.lib and rtl.lib
etc.

In the older C:\Xharbour121\lib directory, there are file names such as tipmt.lib, ctmt.lib and rtlmt.lib.

My Questions are:
-Why is there in xHarbour 1.2.3 Intl. (SimpLex) (Build 20141106) tip.lib and in the older Xhabour directory tipmt.lib etc?, what does mt means?
-Should I change the names in my linker file (removing the mt at the end), or should I change the names in the xharbour directory or is it maybe an idea to copy the old Xharbour files to the new Xharbour directory.

Best regards,

Pieter
User avatar
pieter
 
Posts: 117
Joined: Thu Jan 08, 2015 9:27 am

Re: Fivewin 2012 to Fivewin 2015 for a xharbour application

Postby Antonio Linares » Sat Feb 07, 2015 2:55 am

Pieter,

mt stands for "Multi threading" and you should not use those libs, unless you have a reason for it and you know what you are doing.

So, remove all references to libs ended with mt.

My advise is that you migrate to Harbour. It is much more powerfull and advanced than xHarbour.

You can download our published versions from here:

https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fivewin 2012 to Fivewin 2015 for a xharbour application

Postby pieter » Mon Feb 09, 2015 10:40 am

Hi Antonio, thank you.

Oké, I removed the mt from the references (that ended with mt) in the linker file, I think that those references are not that important for the application, I probably can also remove them completely.

I think a migration from xharbour to harbour for the application that I am working on, should be investigated.

I got a following challenge.

It is about the rddads.lib and Ace32.lib.

I have download and installed a version 11.10.0.22 of advantage database server (ADS) about twelve days ago. http://devzone.advantagedatabase.com/dz ... Product=25. I chose the Windows x86 64-bit version.

I found information from the topic: viewtopic.php?f=3&t=29987&p=171368&hilit=ace32#p171368.

I understand from the posts of member reinaldocrespo, that I can build my own Ace32.lib with implib.exe(which can be found in \bin directory of the BCC compiler) from Ace32.dll. (I found a file called ace64.dll in my directory C:\Program Files\Advantage 11.10\Server)

Questions I have now are:
-Is it better to use ADS Windows x86 64-bit version or the ADS Windows x86 32-bit version? (I now have installed a 64-bit version)
-How can I get rddads.lib?

Kind regards,

Pieter
User avatar
pieter
 
Posts: 117
Joined: Thu Jan 08, 2015 9:27 am

Re: Fivewin 2012 to Fivewin 2015 for a xharbour application

Postby Antonio Linares » Mon Feb 09, 2015 2:29 pm

Pieter,

I chose the Windows x86 64-bit version


As you are building an application using Harbour/xHarbour 32 bits and FWH 32 bits then you have to choose the Windows x86 32-bit version
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fivewin 2012 to Fivewin 2015 for a xharbour application

Postby Antonio Linares » Mon Feb 09, 2015 2:31 pm

Pieter,

Here you have the files to build rddads.lib for xHarbour:

http://sourceforge.net/p/xharbour/code/HEAD/tree/trunk/xharbour/contrib/rdd_ads/
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fivewin 2012 to Fivewin 2015 for a xharbour application

Postby pieter » Mon Feb 09, 2015 2:55 pm

Antonio,

Thanks :)

I already downloaded and installed the 32-bit ADS 11 version. I will now try to get it work with the information you have given.
User avatar
pieter
 
Posts: 117
Joined: Thu Jan 08, 2015 9:27 am

Re: Fivewin 2012 to Fivewin 2015 for a xharbour application

Postby pieter » Tue Feb 10, 2015 12:19 pm

I read the "read me" of the directory which Antonio gave me. (http://sourceforge.net/p/xharbour/code/ ... b/rdd_ads/)

I think I am missing some understanding to acomplish the goal of this topic.

The problems at this moment, have most to do with the Xharbour directory and ADS files(like rddads.lib) I think. (not so much with fivewin, as the title of this topic suggest)

-Is it neccesary that I have to build rddads.lib with make_b32.bat (which I found in http://xharbour.org/index.asp?page=down ... naries_win, xHarbour Contributions Libraries in source code) for ADS version 11.
-Do I need something like "gnuwin32 make" to run make_b32.bat. When I installed "gnuwin32 make", I got an error, "ontbrekend scheidingsteken" which means "missing separator" (http://gnuwin32.sourceforge.net/packages/make.htm)

Code: Select all  Expand view
:BUILD

    make -fmakefile.bc %1 %2 %3 > make_b32.log
    if errorlevel 1 goto BUILD_ERR


As I already said I think I am missing some understanding of the problem. Maybe anybody can help me further, for example somebody can tell me whether I am searching in the right direction(with using "gnuwin32 make").
User avatar
pieter
 
Posts: 117
Joined: Thu Jan 08, 2015 9:27 am

Re: Fivewin 2012 to Fivewin 2015 for a xharbour application

Postby Antonio Linares » Tue Feb 10, 2015 2:37 pm

Pieter,

When I needed to build this lib for a FWH user, I usually build it compiling each file this way:

c:\xharbour\contrib\rdd_ads>c:\bcc582\bin\bcc32 -c -Ic:\xharbour\include -Ipath_for_ads_headers ace32.c
etc...

Once you have all the OBJs, you can easily use Bcc582 tlib.exe to build the library:

tlib.exe rddads.lib -+ace32.obj

and do the same for the other C files and generated OBJs
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fivewin 2012 to Fivewin 2015 for a xharbour application

Postby pieter » Wed Feb 11, 2015 7:51 am

Hi Antonio,

Thanks for the information.

Best regards,

Pieter
User avatar
pieter
 
Posts: 117
Joined: Thu Jan 08, 2015 9:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 80 guests