Author Topic: Fresh Install Error  (Read 306 times)

BillHudson

  • Regular Member
  • *
  • Posts: 3
Fresh Install Error
« on: November 20, 2017, 09:13:03 AM »
I just installed EasyCode, Started a new Project, and when I build it I get this Linker Error???

Assembling: frmMain
Linking...
LINK : fatal error LNK2023: bad DLL or entry point 'msobj140.dll'

I have searched all over online and cannot find the problem.

It is just the default form with a button on it. I tried Including User32.dll to no avail?

I loaded and successfully built the EC Clock Application

I have this system
...
iBuyPower Gaming System 64bit
8 Cores
Windows 10 Home 10.0.15063

Thank you in advance, I am at my end here...

 

rsala

  • Moderator
  • Member
  • *****
  • Posts: 246
    • Easy Code
Re: Fresh Install Error
« Reply #1 on: November 20, 2017, 09:52:10 PM »
Hi,

A default form with a single button should not need the msobj140.dll' file, so please could you attach (or send to me) the project which fails? Thanks in advance.

I am a t work now, but I will try to find the problem this afternoon at home.

Regards!
EC coder

rsala

  • Moderator
  • Member
  • *****
  • Posts: 246
    • Easy Code
Re: Fresh Install Error
« Reply #2 on: November 21, 2017, 08:14:25 AM »
Hi again,

Well, it seems that you are using one of the newest versions of "link.exe" (Visual Studio 2015 or later?). If it is from a Visual Studio version, make sure it is properly installed since it seems that the "msobj140.dll" dll is not the one that "link.exe" needs.

What version of "link.exe" and Visual Studio are you using? I am sorry but at the moment I cannot say anything else from the distance.

Regards.
EC coder

BillHudson

  • Regular Member
  • *
  • Posts: 3
Re: Fresh Install Error
« Reply #3 on: November 21, 2017, 03:08:17 PM »
I have Visual Studio 2017, The Free version. Also if it helps I have in Masm32/bin ml ml64 and link all versions 14.0.23506.0

jj2007

  • Member
  • *****
  • Posts: 7737
  • Assembler is fun ;-)
    • MasmBasic
Re: Fresh Install Error
« Reply #4 on: November 21, 2017, 07:02:06 PM »
I have in Masm32/bin ml ml64 and link all versions 14.0.23506.0

You probably need a bunch of related DLLs in the same folder. Copy them from the folder where you got link.exe:
\Masm32\bin\mspdb140.dll
\Masm32\bin\msvcp140.dll
\Masm32\bin\vcruntime140.dll
\Masm32\bin\msobj140.dll

rsala

  • Moderator
  • Member
  • *****
  • Posts: 246
    • Easy Code
Re: Fresh Install Error
« Reply #5 on: November 21, 2017, 11:10:55 PM »
Yes please, do what jj2007 suggests.
EC coder

BillHudson

  • Regular Member
  • *
  • Posts: 3
Re: Fresh Install Error
« Reply #6 on: November 22, 2017, 04:50:00 AM »
Awesome! That did the trick! I could only find msobj140.dll and then I already had the mspdb140.dll in there. The other two were not to be found, but the msobj140.dll did the trick! Thank you so much!

rsala

  • Moderator
  • Member
  • *****
  • Posts: 246
    • Easy Code
Re: Fresh Install Error
« Reply #7 on: November 22, 2017, 04:57:07 AM »
Great! I am glad to hear that!  :t
EC coder