FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour hbmk2 errors
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hbmk2 errors
Posted: Thu Apr 18, 2013 06:18 AM

Don,

I guess there is a little typo in your error description, is it this one ?

"ordinal 2143 not found in user32.dll"

Please notice 32 instead of 23

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 63
Joined: Mon Aug 02, 2010 05:38 PM
Re: hbmk2 errors
Posted: Thu Apr 18, 2013 07:47 AM

Antonio,
Yes, that certainly is a typo. I'm afraid that I often transpose numbers and letter like that.

Posts: 63
Joined: Mon Aug 02, 2010 05:38 PM
Re: hbmk2 errors
Posted: Thu Apr 18, 2013 09:04 AM

If my reading is correct, ordinal 2143 is for name DefDlgProcA in user32.dll on my Vista system. DefDlgProcA in user32.dll on my XP system, which is the system where I'm having this problem, corresponds with ordinal 87. My very uneducated guess is that something within my VC or FWH or Harbour libs is assuming that my operating system is something other than XP.

What you suppose is calling User32.dll functions by ordinal rather than name?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hbmk2 errors
Posted: Thu Apr 18, 2013 10:45 AM

Don,

Could you please email me your EXE ? (please zip it and rename as zop instead of zip)

alinares@fivetechsoft.com

You are using Visual Studio 2010 Express, right ? Are you using Harbour or xHarbour ?

Are you linking any third party libraries besides FWH ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 63
Joined: Mon Aug 02, 2010 05:38 PM
Re: hbmk2 errors
Posted: Thu Apr 18, 2013 11:09 AM

Yes, I'm using Visual Studio 2010 express. I switched back to Harbour, as you suggested.

No, I am not using any third-party libs.

VMH.zop should now be in your inbox.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hbmk2 errors
Posted: Thu Apr 18, 2013 11:19 AM

Don,

I have not received your file yet. Could you please send it again or upload to minus, or 4shared or similar ? thanks

I am going to build in a few minutes, the same EXE like you using the same tools and will comment it here

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hbmk2 errors
Posted: Thu Apr 18, 2013 01:36 PM
Don,

Your EXE is corrupt. I have built it here using MS VS2010 and gets properly built and works fine.

Are you using this Harbour ?
https://harbour-and-xharbour-builds.googlecode.com/files/harbour_msvc_20130328_2.zip

Are you building your EXE using FWH\samples\buildh32.bat ? In example:

buildh32 vmh

this will produce a correct vmh.exe
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion