What are the possible causes of “Unexpected error occurred in code generator or linker” when using VB6?

时光毁灭记忆、已成空白 提交于 2019-12-25 02:43:24

问题


I am trying to compile a Visual Basic 6 project at the command line using the following command:

vb6.exe /make Project.vbp

I'm getting an error that states

"Unexpected error occurred in code generator or linker

What are the possible causes of this error?

if you want to read my past issue here's the link: VB6 compiling via console (vb.exe) compatibility issue on 64bit (works on 32bit?)

Really would appreciate all help, would even donate/pay for actual remote assistance not sure if that's allowed on stackoverflow though.


回答1:


  1. This can happen if your .exp or .lib files are read only. See PRB: Visual Basic Read-only .exp/.lib Files Cause Compile Error.

  2. This can happen if you are compiling a project upgraded from VB6. See PRB: Unexpected Error Occurs in Code Generator or Linker.



来源:https://stackoverflow.com/questions/20687662/what-are-the-possible-causes-of-unexpected-error-occurred-in-code-generator-or

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!