Got error when try to compile a dll

G

Guest

I got the following error message when compiling a dll, after this dll has
been compiled with calling project:

"fatal error LNK1168: cannot open mylib.dll for writing"

Realized that the file is being locked by the invoking project , but not
sure why. Any thoughts?


Thanks,
J
 
W

William DePalo [MVP VC++]

Jay said:
I got the following error message when compiling a dll, after this dll has
been compiled with calling project:

"fatal error LNK1168: cannot open mylib.dll for writing"

At the risk of asking the obvious, are you sure that all instances of all
executables that load your DLL have exited?

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top