|
The thing was, in my case, that no user had all the instruments. Forcing them to load all the unused code would have been too taxing.
Pretty much the same case as an OS that needs drivers (DLLs) for different devices. Loading code for all wouldn’t be a solution.
Mircea
|
|
|
|
|
This is where I am struggling. Not using a DLL just won't work for this application as it allows independent applications to talk to our system.
The issue at hand (I think) is that I have Visual Studio / Microsoft rot. My laptop is over 4 years old, and I just don't pay attention to the ramifications of installing <insert version="" here=""> of visual studio that may in fact also install an SDK. The development environment is a hodge podge mix of this stuff. It's almost certainly why everything is confused at the moment. I'm trying to clean it up.
So, it's my understanding that all of these OS dlls come from the SDKs, am I correct? These SDKs tend to be generally related to OS releases. If I have a DLL, what's the best practice - make sure I always use the latest SDK? This also trails into the runtime libraries that are a necessary part of an installation package. Off to msdn...
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
charlieg wrote: The issue at hand ... . That certainly needs to be fixed.
charlieg wrote: So, it's my understanding that all of these OS dlls ... Windows itself contains all the standard run time libraries. If you want to develop your own applications then you need a compiler and its associated SDKs (.lib and .dll files), some of which may be newer versions than the Windows versions. Once you build your application then you need to ensure that the correct .dlls are installed on any system that installs the application. That is why you need installers, rather than just copying the .exe files.
Visual Studio has all the tools necessary to do this, although most people seem to prefer one of the non-Microsoft installers.
|
|
|
|
|
My understanding as well. I have some clean Windows 10 Professional VMs, so I'll start with those.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
oh the life of manufacturing systems.
If I build a dll on a Windows 10 machine, is there hope for it to run under Xp? Assuming I don't do anything silly and use post Windows Xp features?
I've just discovered with this inherited piece of code that the customer runs it under Xp. I'm thinking just use the Xp tools and stay there.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Judging by other reports I have seen the answer is: it depends. Microsoft has never tried to be backwards compatible in their systems but some applications will still work. The only way to find out would be exhaustive testing. But for a commercial product I would suggest that you should stick to XP for all development and testing.
|
|
|
|
|
By any slim chance, does anyone have the code for triangular plate bending finite elements? I'm looking first for the stiffness matrix. I can read C, Fortran, python, Java and probably figure out some others. Any help would be appreciated - Thanks, Ed
|
|
|
|
|
You seem to think there's only one way to write that kind of code.
And, no, nobody is just going to hand over there hard work writing that kind of code, unless they want to publish it on the web. In that case, Google is your best friend.
|
|
|
|
|
In earlier 70s I used one of such types of triangle thin bending elements (so called "incompatible elements").
The base knowledge about FEM I got from the O.C. Zienkiewicz book: it called somehow like "finite element method in engineering science" or similar. There were some ideas of to implement this type of element and a lot of Fortran code examples 9very simple but very useful!)
Not sure you will be able to find in Web something useful about it, but just try!
As for me, I have lost all my sources (punch cards desks and listings) many years ago.
|
|
|
|
|
Victor, I have that book and many others. I've written the code for quadrilateral plate elements (also when we used punch cards) but I have a client that wanted something quickly. I just thought I'd ask and try to save myself a couple of days. Thanks.
|
|
|
|
|
I create an application in C++(MFC) but I did not find a way to design a report in VS2019 toolbox;
please can anyone help with an example in how to create or generate a report in C++/MFC;
thanks in advance;
|
|
|
|
|
What kind of "report" do you mean?
|
|
|
|
|
a FMC program to calculate electricity bill then print out a report with a header and footer
|
|
|
|
|
Do you mean something similar to CR-report?
Or just a List Control (MFC CListCtrl) in report (Detail) style?
|
|
|
|
|
|
|
I find it easier to create an HTML file that I can format, and then open that file with the default browser. The user can then print at their discretion.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
How can I know the version of an console application executable ? (obviously, this exe is not made it by me)
|
|
|
|
|
Unless the executable contains version information you can't. It is possible to add version information in a resource definition file when building a console app, but few people do so. Right click the .exe and check the properties.
|
|
|
|
|
Yes, I have checked properties in Windows, Explorer, but show me nothing. I thought there is another way to find it.
|
|
|
|
|
In that case it does not contain 'standard' version information. There may be other information held in the program but only the creators will know where it is.
|
|
|
|
|
does it have by chance a "-v" or "-version" or "/version" command line parameter ?
I'd rather be phishing!
|
|
|
|
|
No, I don't have such option.
|
|
|
|
|
How do you know that such executable actually has a version?
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
That it is a good question. I don't know if it has a version.
|
|
|
|