Results 1 to 7 of 7

Thread: [RESOLVED] LINK : fatal error LNK1158: cannot run "cvtres.exe"

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Location
    Southeast Michigan
    Posts
    155

    Resolved [RESOLVED] LINK : fatal error LNK1158: cannot run "cvtres.exe"

    Received the following LINK : fatal error LNK1158: cannot run "cvtres.exe".

    Working on a VB6 project and suddenly am getting this when trying to create an installation package, or File>Make. Not sure what happened and doesn't seem to be anything new that was done on the Windows XP VM I'm running the development software on. A search for cvtres.exe resulted in finding 2 copies, both located in then Microsoft.NET\Framework directories under different versions.
    Dave

    Helpful information I've found here so far : The Definitive "Passing Data Between Forms" : Restrict TextBox to only certain characters, numeric or symbolic :
    .NET Regex Syntax (scripting) : .NET Regex Language Element : .NET Regex Class : Regular-Expressions.info
    Stuff I've learned here so far : Bing and Google are your friend. Trying to help others solve their problems is a great learning experience

  2. #2
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: LINK : fatal error LNK1158: cannot run "cvtres.exe"

    I'm not sure but it would seem that file should not be called at all from VB6. It appears to only apply to .net
    I did a quick scan on my system and found 14 copies of it, most of them under the Windows/winsxs tree.

    I am pretty sure that all the files used by VB6 for compiling and linking are in the C:\Program Files (x86)\Microsoft Visual Studio\VB98 folder or in the case of xp C:\Program Files\Microsoft Visual Studio\VB98

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Location
    Southeast Michigan
    Posts
    155

    Re: LINK : fatal error LNK1158: cannot run "cvtres.exe"

    Any idea what would suddenly make it call cvtres.exe and how I can stop it? Thinking that I damaged something I recopied my VM from a back up and it does the same thing. Wondering if it is VMWare related. Not sure but need to find a way to resolve it.
    Dave

    Helpful information I've found here so far : The Definitive "Passing Data Between Forms" : Restrict TextBox to only certain characters, numeric or symbolic :
    .NET Regex Syntax (scripting) : .NET Regex Language Element : .NET Regex Class : Regular-Expressions.info
    Stuff I've learned here so far : Bing and Google are your friend. Trying to help others solve their problems is a great learning experience

  4. #4
    Frenzied Member
    Join Date
    Mar 2008
    Posts
    1,210

    Re: LINK : fatal error LNK1158: cannot run "cvtres.exe"

    >a VB6 project
    So is the fault happening on other projects too? or just this one.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Location
    Southeast Michigan
    Posts
    155

    Re: LINK : fatal error LNK1158: cannot run "cvtres.exe"

    Just tried several other projects and get same result.

    Microsoft (R) Incremental Linker Version 6.00.8168
    Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

    LINK : fatal error LNK1158: cannot run "cvtres.exe"
    Dave

    Helpful information I've found here so far : The Definitive "Passing Data Between Forms" : Restrict TextBox to only certain characters, numeric or symbolic :
    .NET Regex Syntax (scripting) : .NET Regex Language Element : .NET Regex Class : Regular-Expressions.info
    Stuff I've learned here so far : Bing and Google are your friend. Trying to help others solve their problems is a great learning experience

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Location
    Southeast Michigan
    Posts
    155

    Re: LINK : fatal error LNK1158: cannot run "cvtres.exe"

    UPDATE:

    After several hours of trial and error, reinstalling soft and searching for answers, I copied my project from the hosts drive that is shared to my VM to the VM drive and everything works as expected. Not sure if there was a VMWare update that occurred since I last created an installation package or not. But, it seems to be related to the VMWare software and sharing drives with the host system.
    Dave

    Helpful information I've found here so far : The Definitive "Passing Data Between Forms" : Restrict TextBox to only certain characters, numeric or symbolic :
    .NET Regex Syntax (scripting) : .NET Regex Language Element : .NET Regex Class : Regular-Expressions.info
    Stuff I've learned here so far : Bing and Google are your friend. Trying to help others solve their problems is a great learning experience

  7. #7
    New Member
    Join Date
    Jan 2013
    Posts
    2

    Re: LINK : fatal error LNK1158: cannot run "cvtres.exe"

    Quote Originally Posted by dlscott56 View Post
    UPDATE:

    After several hours of trial and error, reinstalling soft and searching for answers, I copied my project from the hosts drive that is shared to my VM to the VM drive and everything works as expected. Not sure if there was a VMWare update that occurred since I last created an installation package or not. But, it seems to be related to the VMWare software and sharing drives with the host system.
    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width