Error with Dll.

Post Reply
byron.hopp
Posts: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Error with Dll.

Post by byron.hopp »

I wrote a simple program to send texts based on a parameter I pass to the executable. ie. mcsqt.exe "Started Backup of Server". I have installed this on three servers, 2 2012 Windows Servers, and 1 2022 Windows Server. On the Windows 2022 server I get an error MSVCR122.Dll "The code execution cannot proceed because MSVCR120.dll was not found. Reinstalling the program my fix this problem". My program consist of an exe. dll, and ini file, there is no installation. Anybody run across this?
Thanks,
Byron Hopp
Matrix Computer Services
User avatar
Antonio Linares
Site Admin
Posts: 42548
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 78 times
Contact:

Re: Error with Dll.

Post by Antonio Linares »

Dear Byron,

Have you used MSVC to build the EXE ?

If so, how are you building it ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
byron.hopp
Posts: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Re: Error with Dll.

Post by byron.hopp »

Bcc
Thanks,
Byron Hopp
Matrix Computer Services
User avatar
Antonio Linares
Site Admin
Posts: 42548
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 78 times
Contact:

Re: Error with Dll.

Post by Antonio Linares »

What DLL do you use from your app ? Is it just a resources DLL ?

If not, then you may need to provide MSVCR120.dll as requested. Probably it is used from the DLL.
regards, saludos

Antonio Linares
www.fivetechsoft.com
byron.hopp
Posts: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Re: Error with Dll.

Post by byron.hopp »

Yes I am using libcurl.dll.
Thanks,
Byron Hopp
Matrix Computer Services
User avatar
Antonio Linares
Site Admin
Posts: 42548
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 78 times
Contact:

Re: Error with Dll.

Post by Antonio Linares »

ok, then probably libcurl.dll requires MSVCR120.dll
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

Re: Error with Dll.

Post by Jimmy »

hi,
byron.hopp wrote:I get an error MSVCR122.Dll "The code execution cannot proceed because MSVCR120.dll was not found.

if you need MSVCR120.dll (include in Visual C++ Redistributable Packages für Visual Studio 2013)
look here
https://www.microsoft.com/en-us/download/details.aspx?id=40784
greeting,
Jimmy
byron.hopp
Posts: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Re: Error with Dll.

Post by byron.hopp »

Thank you all, that did the trick. I installed the x86 version and all is good.
Thanks,
Byron Hopp
Matrix Computer Services
Post Reply