New FWH 11.09

New FWH 11.09

Postby Antonio Linares » Wed Sep 28, 2011 9:24 am

regards, saludos

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

Re: New FWH 11.09

Postby PeterHarmes » Wed Sep 28, 2011 11:00 am

Hi,

When I compile my app I get the following:

error: Unresolved external symbol '_GlobalMemoryStatusEx referenced from Fivehcm.lib(MEM.obj)'.

Any ideas?

Best regards,

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

Re: New FWH 11.09

Postby Antonio Linares » Wed Sep 28, 2011 12:59 pm

Pete,

Try to link this mem32.lib that we have created for xHarbour.com users:

http://code.google.com/p/fivewin-contributions/downloads/detail?name=mem32.lib&can=2&q=

It seems as PellesC (used by xHarbour.com) does not provide it. We have created it this way:

impdef.exe kernel32.def kernel32.dll

Then we created a mem32.def with this info from kernel32.def:
Code: Select all  Expand view
LIBRARY     KERNEL32.DLL

EXPORTS
    GlobalMemoryStatusEx           @707


And finally:
lib.exe /def:mem32.def /out:mem32.lib

lib.exe is the Microsoft library manager, we used the lib.exe that comes with VC98
regards, saludos

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

Re: New FWH 11.09

Postby PeterHarmes » Wed Sep 28, 2011 1:20 pm

Thanks Antonio, my app has compiled fine.

So is this what I need to do from now on or will future versions of FW support this without linking in the extra lib?

So far, FWH11.09 is looking very good :D

best regards,

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

Re: New FWH 11.09

Postby ukservice » Thu Sep 29, 2011 10:22 am

Antonio,

So in order to have WIN7 marquee styles as old behaviour y just set oBrw:lMultiSelect := .f.?.

Thanks
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: New FWH 11.09

Postby Antonio Linares » Thu Sep 29, 2011 1:18 pm

Pete,

Yes, that lib linking is required as it is missing from PellesC import libraries.

John,

Yes, that should do it
regards, saludos

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

Re: New FWH 11.09

Postby PeterHarmes » Tue Oct 04, 2011 3:24 pm

Hi Antonio,

Just testing the nExtMem() and found that when errsysw is called or you just call the function, my app hangs and after a while I get a windows error message (windows has encountered an error and closed app message)

I dont use the function in my app so i've removed the call from errsysw

Also, when compiling one of my apps with 11.09 I get the following error:

xLINK: error: Unresolved external symbol '_IF referenced from Fivehcm.lib(ODBC32X.obj)'.

Any ideas?

Best Regards,

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

Re: New FWH 11.09

Postby Antonio Linares » Tue Oct 04, 2011 6:57 pm

Pete,

Here nExtMem() is working fine with Windows 7 Ultimate, and using BCC, MSVC 32 and 64 bits. We need to find whats the problem with PellesC (used in xhb.com). What Windows version are you using ?

Solved the _IF() unresolved external. We email you the new lib, thanks! :-)
regards, saludos

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

Re: New FWH 11.09

Postby carlos vargas » Tue Oct 04, 2011 11:29 pm

antonio, can you put the new lib in the contribution web of fivetech please, i use xhb.com

salu2
carlos vargas
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1720
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: New FWH 11.09

Postby PeterHarmes » Wed Oct 05, 2011 8:00 am

Antonio,

Using XP, I will try it on vista & 7 here to see if the same problems arise.

Thanks

Pete

UPDATE

Just tested on 7 Ultimate and it crashes
Last edited by PeterHarmes on Wed Oct 05, 2011 8:19 am, edited 1 time in total.
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: New FWH 11.09

Postby PeterHarmes » Wed Oct 05, 2011 8:06 am

Antonio,

I can confirm that the _IF is solved with the new library

Thanks for your help

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

Re: New FWH 11.09

Postby Antonio Linares » Wed Oct 05, 2011 9:31 am

PeterHarmes wrote:Antonio,

Using XP, I will try it on vista & 7 here to see if the same problems arise.

Thanks

Pete

UPDATE

Just tested on 7 Ultimate and it crashes


Pete,

Are you using xHarbour commercial ? Could you try it with xharbour for Borland or Microsoft ? thanks
regards, saludos

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

Re: New FWH 11.09

Postby PeterHarmes » Wed Oct 05, 2011 9:40 am

Yes I'm using xHarbour commercial.

What do I need to use xHarbour for Borland/Microsoft? My apps uses a lot of SQLRDD functions so I would probably need to create a stand alone example to test this (I think my version of SQLRDD is tied down to xHarbour commercial only)
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: New FWH 11.09

Postby Antonio Linares » Wed Oct 05, 2011 10:07 am

Pete,

As far as I remember Patrick provides a SQLRDD version for Borland, so you can easily build your app with free xharbour and Borland. You can get xharbour from here:

http://code.google.com/p/harbour-and-xharbour-builds/downloads/list

And Borland 5.82 from here:
http://www.fivetechsoft.com/files/software/bcc582.zip

It s really easy to make the change :-)
regards, saludos

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

Re: New FWH 11.09

Postby PeterHarmes » Thu Oct 06, 2011 10:51 am

Antonio,

Tried it with xHarbour with borland and it now returns a value. So it looks like it is to do with compiling with Pelles C/Xharbour.com

Best Regards,

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 118 guests