Page 3 of 3

Re: hbmk2 errors

PostPosted: Thu Apr 18, 2013 6:18 am
by Antonio Linares
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

Re: hbmk2 errors

PostPosted: Thu Apr 18, 2013 7:47 am
by DonDrew
Antonio,
Yes, that certainly is a typo. I'm afraid that I often transpose numbers and letter like that.

Re: hbmk2 errors

PostPosted: Thu Apr 18, 2013 9:04 am
by DonDrew
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?

Re: hbmk2 errors

PostPosted: Thu Apr 18, 2013 10:45 am
by Antonio Linares
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

Re: hbmk2 errors

PostPosted: Thu Apr 18, 2013 11:09 am
by DonDrew
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.

Re: hbmk2 errors

PostPosted: Thu Apr 18, 2013 11:19 am
by Antonio Linares
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

Re: hbmk2 errors

PostPosted: Thu Apr 18, 2013 1:36 pm
by Antonio Linares
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