Problem with MPR.lib/MFC90.DLL
-
Hi Guru's, I am having a service where i am using "WNetAddConnection2" method to use network resource like shared drive. I would like to know if there is any other way where i can avoid using MPR.lib as additional dependencies , when i try to install the service it gives error saying MFC90.DLL not found reinstalling may fix the problem. I have removed MPR.LIB related code and compiled the service it works fine for me,but i need to have those code as part of service.so is there any other way by which i can make it working. if i dont use MPR.lib,it gives me linker error: 1>Linking... 1>Net.obj : error LNK2019: unresolved external symbol _WNetAddConnection2A@16 ................................... Please let me know your inputs. Thanks Vikas
vikas da
-
Hi Guru's, I am having a service where i am using "WNetAddConnection2" method to use network resource like shared drive. I would like to know if there is any other way where i can avoid using MPR.lib as additional dependencies , when i try to install the service it gives error saying MFC90.DLL not found reinstalling may fix the problem. I have removed MPR.LIB related code and compiled the service it works fine for me,but i need to have those code as part of service.so is there any other way by which i can make it working. if i dont use MPR.lib,it gives me linker error: 1>Linking... 1>Net.obj : error LNK2019: unresolved external symbol _WNetAddConnection2A@16 ................................... Please let me know your inputs. Thanks Vikas
vikas da
I have never used this feature but there may be some clues in the documentation[^]. You can also find some help about MFC90.DLL here[^].
Unrequited desire is character building. OriginalGriff
-
I have never used this feature but there may be some clues in the documentation[^]. You can also find some help about MFC90.DLL here[^].
Unrequited desire is character building. OriginalGriff
Thank you so much for the reply. I had read the documentation..but this is not something coding problem i guess, i missing some configuration may be redistribution pack or some DLL... why i am guessing this this code was working fine with Visual Studio 2005,now i have upgrated to 2008 +some enhancement.
vikas da
-
Thank you so much for the reply. I had read the documentation..but this is not something coding problem i guess, i missing some configuration may be redistribution pack or some DLL... why i am guessing this this code was working fine with Visual Studio 2005,now i have upgrated to 2008 +some enhancement.
vikas da
Well the error messages you are seeing seem fairly clear. If you do not include MPR.lib you get a linker undefined issue, so you must include that library. With that library included you have a dependency on MFC90.dll, so you must get a copy of that dll installed on your system.
Unrequited desire is character building. OriginalGriff
-
Hi Guru's, I am having a service where i am using "WNetAddConnection2" method to use network resource like shared drive. I would like to know if there is any other way where i can avoid using MPR.lib as additional dependencies , when i try to install the service it gives error saying MFC90.DLL not found reinstalling may fix the problem. I have removed MPR.LIB related code and compiled the service it works fine for me,but i need to have those code as part of service.so is there any other way by which i can make it working. if i dont use MPR.lib,it gives me linker error: 1>Linking... 1>Net.obj : error LNK2019: unresolved external symbol _WNetAddConnection2A@16 ................................... Please let me know your inputs. Thanks Vikas
vikas da
get help here
-
Well the error messages you are seeing seem fairly clear. If you do not include MPR.lib you get a linker undefined issue, so you must include that library. With that library included you have a dependency on MFC90.dll, so you must get a copy of that dll installed on your system.
Unrequited desire is character building. OriginalGriff
-
Thank you so much guys..i have fixed the linker error by editing project setting where Menifest was not included..now i am getting side by side asseble error for Microsoft.VC80.CRT...
vikas da
A similar issue, you need to check your settings: directories, libraries etc.
Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman