Copy/Paste

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Copy/Paste

Post by Antonio Linares »

Pete,

Already sent, thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
PeterHarmes
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Post by PeterHarmes »

Just tested and I still have the problem :(

Could this be a xHarbour.com compatibility issue?

Best regards,

Pete
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Copy/Paste

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
PeterHarmes
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Post by PeterHarmes »

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'.
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Re: Copy/Paste

Post by Gale FORd »

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.
PeterHarmes
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Post by PeterHarmes »

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?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Copy/Paste

Post by Antonio Linares »

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
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Re: Copy/Paste

Post by Gale FORd »

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.
PeterHarmes
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Post by PeterHarmes »

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)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Copy/Paste

Post by Antonio Linares »

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:

http://forums.fivetechsupport.com/viewt ... 44#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: Select all

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-xh ... b&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
PeterHarmes
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Post by PeterHarmes »

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?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Copy/Paste

Post by Antonio Linares »

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
PeterHarmes
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Post by PeterHarmes »

Thanks Antonio, thats no problem adding the lib
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: Copy/Paste

Post by Horizon »

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 & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Copy/Paste

Post by Antonio Linares »

Hakan,

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

Antonio Linares
www.fivetechsoft.com
Post Reply