|
-
Mar 15th, 2001, 08:25 AM
#1
Thread Starter
Fanatic Member
I get the above message when attempting to re-compile an ActiveX DLL and overwriting the file that I am also maintaining binary compatability with.
I do exactly the same thing with many other ActiveX components without any problem so it onl affects this DLL.
When I click on 'View error messages', it displays the following error:
LINK : fatal error LNK1104: cannot open file
"\\EX1\LANROOT\Compiled\Components\ecsPostCodeLookup.dll"
Has anyone encountered this before?
-
Mar 21st, 2001, 05:13 AM
#2
Fanatic Member
seems to me that there is a problem in the project. Create a new project cut and paste your code from the existing project and that should do it. Else if you can it may be worth unregistering and deleting the existing DLL (if you can), set the current project back to 'No compatiability' and compile.
-
Mar 21st, 2001, 05:47 AM
#3
Thread Starter
Fanatic Member
OK.
I will try what you have suggested but it is a new project and this started happening the first time I attempted to re-compile it.
I looked through the Microsoft knowlege base for related articles and found one article that said Microsoft were aware of this problem but did not know why it occurred but were looking into it.
The knowlege base article can be found at:
http://support.microsoft.com/support...-GB&SD=gn&FR=0
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
Nov 28th, 2005, 11:34 PM
#4
Addicted Member
Re: Unexpected error occurred in code generator or linker
it's so Old Subject . LOL but i also Face the same problem:
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
LINK : fatal error LNK1181: cannot open input file "E:\Program Files\Microsoft Visual Studio\VB98\VBAEXE6.LIB"
and i went to Microsoft there is no SOLUTION
But i Check my File VBAEXE6.LIB it was not there
So i just search the CD and found the File Finally copied it in the Dir ... Fixed the Problem
Sorry for my Bad English
-
Nov 29th, 2005, 11:07 PM
#5
Re: Unexpected error occurred in code generator or linker
Looks like the DLL was compiled/registered on a LAN share. In order to preserver binary compatibility, the IDE must locate and interrogate the original file. If the file was registered on a LAN share that no longer exists, I could see this happenning.
Do a REGSVR32.EXE -U on the DLL, then register it again in the %systemroot% and then try it.
lol love those 4-year-old posts that pop up.
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Dec 8th, 2005, 05:44 AM
#6
Frenzied Member
Re: Unexpected error occurred in code generator or linker
I've had the same problem numerous times. I think it has something to do with the ODL reflection inside the VB IDE!
Although MS method works well most of the time, there will be a time where you're going to need to turn of binary compatibility and regenerate all those CLSIDS,GUIDS etc.
. . . and recompile every dependent project.
Yuk!
"As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein
It's turtles! And it's all the way down
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|