Mathcad Custom Functions - This plugin will help you to connect Mathcad custom functions - Сообщения
WroteThis function from Mathematical library for MathCad v1.2 (Giuseppe Borzì ) which is in the userefi/mathlib.dll file. You can delete mathlib.dll and function round() will disappear without plug-in switch-off. The example with function is given in the Mathlib.pdf (page 3).
Unfortunately, there will dissapear all the mentioned functions and not only round().
Regards,
Radovan

Yes, I tried WaterSteamPro, there are too much functions. I had no license to work with them closely. Functions loaded, but no more than that.
Wrote...Your plugin is great!
I agree. Uni made some great plugins - I mentioned that few times. They need some polishing, I think, and I hope it will happen ASAP.
Regards,
Radovan
You said that Mathcad EFI never supported units, but how Mathcad works with these functions using WaterSteamPro? Does it use another interface?
No, it was long ago, as I remember in case of function invocation there was a window with the message that there is no license. And the description on the picture is created by a plugin automatically. If we want to make a complete description is required an additional information which isn't available in wspmcad.dll (about units I mean).Цитатаuni, do you mean that functions with no description - it is because of the no license installed?
Yes, it read additional XML files with the description of functions (but I'm not sure, since didn't work with units). If you look at the function description in the MCADINCL.H file, will see that there is nothing about units.ЦитатаYou said that Mathcad EFI never supported units, but how Mathcad works with these functions using WaterSteamPro? Does it use another interface?
If execution of the program reached this line, it means that function returned an error. The plugin tries to show an error in that look in which it is described in the library. There is one uncertainty which I didn't complete. A problem with the table of error messages. In one libraries of an error begin with a zero, in others from one. I didn't understand why such confusion, but it can cause the situation specified by you.ЦитатаI've checked the code, but don't know how to fix it - the error appears in the file https://smath.info/svn/p...mcaduser/EFIManager.cpp in the line "throw gcnew Exception( "Error in mathcad efi function: ""
In any case function returned an error and the reason can be in other.
ЦитатаYou said that Mathcad EFI never supported units, but how Mathcad works with these functions using WaterSteamPro? Does it use another interface?
I looked at library once again. In order that functions worked with units it is necessary to include the special file (watersteampro.mcd) in which each function from library is redefined for work with units. There is no additional interface, just redefinition.
I used "Water Steam Pro 6.0.1.36" from rutracker. I think it works with plugin


Some docs (sm, pdf, rus): WaterSteamPro6.zip (mirror)
(my ftp works from time to time)

WroteHello,
I've noted that Mathcad EFI plugin has its own round(1) function. SMath has round(2). In spite of that the both functions have the same name but different numbers of arguments, when the EFI plugin is active then we can not use round(2). Here is a simple example:
EFI plufin enabled:
[MATH=eng]c←80/9[/MATH]
[MATH=eng]c=8.8889[/MATH]
[MATH=eng]round(c)=9[/MATH]
[MATH=eng]round(c,3)=9[/MATH]
EFI plugin disabled:
[MATH=eng]round(c,3)=8.889[/MATH]
Regards,
Radovan
I'd made some changes: mcadefi_20120411.zip (mirror)
Built-in Thermodynamic (and other) Tables - Internal function to return thermodynamic properties
I've just updated one of my posts on that thread with c# libraries :
http://en.smath.info/forum/yaf_postsm9354_Built-in-Thermodynamic--and-other--Tables.aspx#post9354
Details in the attached sheet...
Plugin EFI for SMath Studio.sm (45 КиБ) скачан 122 раз(а).
WroteI have problems installing EFI. Did install the mathlib.dll from userefi.zip in post #1
Details in the attached sheet...
Try to update and show me the log file (userefi\efi.txt).
Wrote
Try to update and show me the log file (userefi\efi.txt).
Different behaviour now. Installs cleanly, but then math regions cannot be edited any more (or more precise: just character by character intermixed with error messages.)
But, sorry, I did not find a file efi.txt in the plugin directory. Details again in the attachment.
Plugin EFI for SMath Studio.sm (23 КиБ) скачан 115 раз(а).
ЦитатаBut, sorry, I did not find a file efi.txt in the plugin directory.
Updated. Try again with new version. This file is deleted when you close the program.
Installs cleanly. Edit of math regions without problems now, after manually adding mathlib.dll to userefi (still required?) I see the file efi.txt. Contents: (says: not a valid Win32 application. Exception of HRESULT...
19.06.2013 00:32:26 [Error] ist keine zulässige Win32-Anwendung. (Ausnahme von HRESULT: 0x800700C1)
EDIT: Lesson 2. Support of 32-bit applications in the 64-bit Windows environment. Why cannot 32-bit DLL's be used in a 64-bit program?
ЦитатаIt is impossible to load a 32-bit DLL from a 64-bit process and execute its code. It is impossible due to the design of 64-bit systems. It is impossible fundamentally. And no tricks and undocumented means will help you. To do this you will have to load and initialize WoW64, not to speak of the kernel structures. Actually, it means that a 64-bit process must be made 32-bit "on the fly".
There is no easy way. You can't use user libraries that have been created for 32-bit systems.
-
Новые сообщения
-
Нет новых сообщений