FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Copy/Paste
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Copy/Paste
Posted: Mon Oct 17, 2011 03:04 PM

Pete,

Already sent, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: Copy/Paste
Posted: Mon Oct 17, 2011 03:17 PM

Just tested and I still have the problem :(

Could this be a xHarbour.com compatibility issue?

Best regards,

Pete

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Copy/Paste
Posted: Mon Oct 17, 2011 03:25 PM

Pete,

Are you using this example ?

viewtopic.php?p=120786#p120786

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: Copy/Paste
Posted: Mon Oct 17, 2011 03:38 PM

I get the same problem with that example.

If i specify that library in the xharbour builder, I get the following:

xLINK: fatal error: Corrupt library: 'C:\FWH\lib\Fivehc.lib'.

Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Copy/Paste
Posted: Mon Oct 17, 2011 03:46 PM

I am using xHarbour builder and can use the modified tget.prg.
I just added tget.prg to project.
The fixes work ok for me.

Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: Copy/Paste
Posted: Mon Oct 17, 2011 03:56 PM

Can you sent me the modified tget?

Peterh at plsoft dot co dot uk

Thanks

Pete

p.s. what version of xHarbour builder are you using?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Copy/Paste
Posted: Mon Oct 17, 2011 04:06 PM
PeterHarmes wrote:I get the same problem with that example.

If i specify that library in the xharbour builder, I get the following:

xLINK: fatal error: Corrupt library: 'C:\FWH\lib\Fivehc.lib'.


I sent you the wrong libs, sorry. I am resending you the new ones
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Copy/Paste
Posted: Mon Oct 17, 2011 04:16 PM

I am using xHarbour Builder version: September 2010 Build 831
Fivewin version 11.08
I tried the xHarbour beta but had several bugs that I could not work around.

Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: Copy/Paste
Posted: Tue Oct 18, 2011 08:22 AM

Antonio,

When I recompile with the libs you sent, I get the following:

xLINK: error: Unresolved external symbol '_SendInput referenced from Fivehcm.lib(KEYBRD.obj)'.

Best regards,

Pete

Gale,

I'm using FW 11.09 & xHarbour Commercial June 2010 (Tried September release but customers complained that SQLRDD was slower)

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Copy/Paste
Posted: Tue Oct 18, 2011 08:58 AM
Pete,

Again there is a missing imported symbol is the PellesC used by xhb.com. We do recommend you to migrate to Borland C, Microsoft C or MinGW C:

viewtopic.php?p=119844#p119844

This time SendInput() is missing. SendInput() is declared inside Windows user32.dll, so I have created another export lib for it (cause PellesC):

impdef.exe user32.def user32.dll

then located SendInput() inside user32.def and created a def file for it:

send32.def
Code (fw): Select all Collapse
LIBRARY     USER32.DLL

EXPORTS
    SendInput                      @2143; SendInput


And created the import lib this way:

lib.exe /def:send32.def /out:send32.lib

Here you have the resulting send32.lib:
http://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=send32.lib&can=2&q=

You have to link it to build your app. All these is not needed if you use Borland, Microsoft or MinGW. As fas as I know, there is a SQLRDD version for Borland, so you can migrate to Borland...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: Copy/Paste
Posted: Tue Oct 18, 2011 09:11 AM

Antonio,

Excellent - cust/copy/paste now works :) - thank you for your time.

Re migrating to Borland, we will review this but at the moment we just dont have time to change all compiling scripts and check for any other changes there may be when changing.

Thanks once again

Pete

p.s. I assume the modification to these libraries will be part of future FW releases?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Copy/Paste
Posted: Tue Oct 18, 2011 09:24 AM

Pete,

yes, those changes will be published in next FWH 11.10. Anyhow please remember that you will have to keep using send32.lib

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: Copy/Paste
Posted: Tue Oct 18, 2011 09:41 AM

Thanks Antonio, thats no problem adding the lib

Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Copy/Paste
Posted: Tue Oct 18, 2011 10:48 AM
Antonio Linares wrote:Pete,

yes, those changes will be published in next FWH 11.10. Anyhow please remember that you will have to keep using send32.lib


Antonio,

You mean The users of FWH (after this version) that uses xHarbour Builder commercial must use send32.lib. Aren't you?

Thanks,
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Copy/Paste
Posted: Tue Oct 18, 2011 12:31 PM

Hakan,

Yes, as it is a xhb commercial limitation as it is based on PellesC.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion