SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-11-19, 12:39 PM   #1
OldCoder
Sparky
 
Join Date: Mar 2016
Posts: 150
Downloads: 25
Uploads: 0
Default

Try searching google/MS for Microsoft Visual C++ 2015 Redistributable

That should sort it (I think).
OldCoder is offline   Reply With Quote
Old 02-11-19, 12:46 PM   #2
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

OldCoder answered quicker then me.
And you need VCRUNTIME140.dll not VCRUNTIME14D.dll
Get the full install as there may be other dll's you need.

https://www.microsoft.com/en-us/down....aspx?id=52685
Jeff-Groves is offline   Reply With Quote
Old 02-11-19, 01:01 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by OldCoder View Post
Try searching google/MS for Microsoft Visual C++ 2015 Redistributable

That should sort it (I think).
Quote:
Originally Posted by Jeff-Groves View Post
OldCoder answered quicker then me.
And you need VCRUNTIME140.dll not VCRUNTIME14D.dll
Get the full install as there may be other dll's you need.

https://www.microsoft.com/en-us/down....aspx?id=52685
The missing dll is actually VCRUNTIME140D.dll, sorry for mispelling its name, and unfortunately installing the Microsoft Visual C++ 2015 Redistributable didn't fix the problem



I am now trying to install the Microsoft Visual C++ 2015 Redistributable updates and to re-installe Microsoft Visual C++ 2017 Redistributables (I had to uninstall the latter in order to install the 2015 version)
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 02-11-19 at 01:29 PM.
gap is offline   Reply With Quote
Old 02-11-19, 01:01 PM   #4
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

OldCoder,

Can you send me your source code or could you add the needed code to do a area search function? Say something where we can search all heights for a given square?

I could add the code but it may be awhile. Real life business has me REAL busy just now.

Picture doing bids for 4 jobs all over the U.S.A. and trying to get motels and man power in line!
That runs the range from Down town Cleveland to Dallas, Texas.
Jeff-Groves is offline   Reply With Quote
Old 02-11-19, 01:25 PM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Jeff-Groves View Post
OldCoder,

Can you send me your source code or could you add the needed code to do a area search function? Say something where we can search all heights for a given square?
That would be awesome...

...if only I could get that code to work lol

So here are all the Visual C++ redistributables I have installed on my system (I suppose that VC++ 2015 red. and VC++ 2015 red. update 3 get overwritten by VC++ 2017 red, because I don't see them in the list even though I had installed them today:

 


...and this one was my last attempt to run the exe:

 
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 02-11-19, 06:59 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Okay, I have probably found the culprit:

I have VCRUNTIME140.dll in my windows\system32 folder. Nonetheless OldCoder's program throws a missing VCRUNTIME140D.dll error (see that litthe D?).

VCRUNTIME140D.dll is the debug version of VCRUNTIME140.dll, and it is not redistributable, that's why it is missing from my system.


Possible solutions:

@ OldCoder would it be possible for you to compile your executable with release settings?

If not, I will try and install a basic version of Visual Studio, to see if it registers on my computer the DLL(s) required by your exe.
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 02-12-19, 09:50 AM   #7
OldCoder
Sparky
 
Join Date: Mar 2016
Posts: 150
Downloads: 25
Uploads: 0
Default

Ok I just sent you both a link to the source code so you can adapt it to requirements, but also inside the zip is a recompiled Release cfg exe which you can try gap.
OldCoder is offline   Reply With Quote
Old 02-12-19, 12:29 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by OldCoder View Post
Ok I just sent you both a link to the source code so you can adapt it to requirements, but also inside the zip is a recompiled Release cfg exe which you can try gap.
Thank you very much!

I have received your files. The recompiled exe works now, though, whatever stepping value is used as its argument, the resulting .txt output contains 1,442.401 (i.e. 1,201 x 1,201) height points, which is equal to one third of the original resolution (stepping factor = 3).

For our purposes we need to apply a stepping factor of 1.5. Using that value I would expect an output containing 5,764,801 (i.e. 2,401 x 2,401) height points.

Any idea on why the stepping factor doesn't work and how to fix it? I have the source code that you sent me, but I know nothing about C++, and even if I started learning it today, I am afraid it would take long before I could figure out the problem by myself
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Reply

Tags
enviromental mod, environment, terrain, trees, vegetation

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:25 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.