New FWH 11.09

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 42508
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 30 times
Been thanked: 73 times
Contact:

New FWH 11.09

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: New FWH 11.09

Post by PeterHarmes »

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
User avatar
Antonio Linares
Site Admin
Posts: 42508
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 30 times
Been thanked: 73 times
Contact:

Re: New FWH 11.09

Post by Antonio Linares »

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

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

Re: New FWH 11.09

Post by PeterHarmes »

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
User avatar
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: New FWH 11.09

Post by ukservice »

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
Antonio Linares
Site Admin
Posts: 42508
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 30 times
Been thanked: 73 times
Contact:

Re: New FWH 11.09

Post by Antonio Linares »

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

Re: New FWH 11.09

Post by PeterHarmes »

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
User avatar
Antonio Linares
Site Admin
Posts: 42508
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 30 times
Been thanked: 73 times
Contact:

Re: New FWH 11.09

Post by Antonio Linares »

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
carlos vargas
Posts: 1721
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: New FWH 11.09

Post by carlos vargas »

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

Re: New FWH 11.09

Post by PeterHarmes »

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

Post by PeterHarmes »

Antonio,

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

Thanks for your help

Pete
User avatar
Antonio Linares
Site Admin
Posts: 42508
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 30 times
Been thanked: 73 times
Contact:

Re: New FWH 11.09

Post by Antonio Linares »

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

Re: New FWH 11.09

Post by PeterHarmes »

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)
User avatar
Antonio Linares
Site Admin
Posts: 42508
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 30 times
Been thanked: 73 times
Contact:

Re: New FWH 11.09

Post by Antonio Linares »

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

Re: New FWH 11.09

Post by PeterHarmes »

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
Post Reply