Copy/Paste

Re: Copy/Paste

Postby Antonio Linares » Mon Oct 17, 2011 3:04 pm

Pete,

Already sent, thanks :-)
regards, saludos

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

Re: Copy/Paste

Postby PeterHarmes » Mon Oct 17, 2011 3:17 pm

Just tested and I still have the problem :(

Could this be a xHarbour.com compatibility issue?

Best regards,

Pete
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Postby Antonio Linares » Mon Oct 17, 2011 3:25 pm

Pete,

Are you using this example ?

viewtopic.php?p=120786#p120786
regards, saludos

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

Re: Copy/Paste

Postby PeterHarmes » Mon Oct 17, 2011 3: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'.
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Postby Gale FORd » Mon Oct 17, 2011 3: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.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: Copy/Paste

Postby PeterHarmes » Mon Oct 17, 2011 3: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?
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Postby Antonio Linares » Mon Oct 17, 2011 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41439
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Copy/Paste

Postby Gale FORd » Mon Oct 17, 2011 4: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.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: Copy/Paste

Postby PeterHarmes » Tue Oct 18, 2011 8: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)
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Postby Antonio Linares » Tue Oct 18, 2011 8: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: Select all  Expand view
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
User avatar
Antonio Linares
Site Admin
 
Posts: 41439
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Copy/Paste

Postby PeterHarmes » Tue Oct 18, 2011 9: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?
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Postby Antonio Linares » Tue Oct 18, 2011 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41439
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Copy/Paste

Postby PeterHarmes » Tue Oct 18, 2011 9:41 am

Thanks Antonio, thats no problem adding the lib
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Copy/Paste

Postby Horizon » 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.04
Horizon
 
Posts: 1297
Joined: Fri May 23, 2008 1:33 pm

Re: Copy/Paste

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

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 36 guests