Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


6 Pages<1234>»
Options
Go to last post Go to first unread
Offline omorr  
#21 Posted : 29 March 2012 15:48:20(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello uni,
uni wrote:
This 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

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline kmihaylovich  
#22 Posted : 29 March 2012 16:43:01(UTC)
kmihaylovich


Rank: Member

Groups: Registered
Joined: 22/06/2010(UTC)
Posts: 13
Location: Питер

Was thanked: 5 time(s) in 4 post(s)
uni, welcome back! Is it possible to add support for the units in your library? It will be really great! Very desirable feature! Unfortunately most of the functions returns error instead of the result :'(
Offline kmihaylovich  
#23 Posted : 29 March 2012 16:51:53(UTC)
kmihaylovich


Rank: Member

Groups: Registered
Joined: 22/06/2010(UTC)
Posts: 13
Location: Питер

Was thanked: 5 time(s) in 4 post(s)
uni, I'm talking about errors when trying to use the dll from http://www.wsp.ru/ru/download.asp with your plugin... Please, could you support it? 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: "". If you have no time for this, could you please advise how to fix it? Please! Your plugin is great!
Offline uni  
#24 Posted : 29 March 2012 17:03:25(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Unfortunately no. Mathcad EFI never supported units. I made a maximum that is possible. I do not recommend to use this interface since it became outdated. As far as I know in new versions of Mathcad PTC forgot about it. There can be you mean something another.

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.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline omorr  
#25 Posted : 29 March 2012 17:04:15(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
kmihaylovich 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

Edited by user 29 March 2012 17:05:53(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline kmihaylovich  
#26 Posted : 29 March 2012 17:11:14(UTC)
kmihaylovich


Rank: Member

Groups: Registered
Joined: 22/06/2010(UTC)
Posts: 13
Location: Питер

Was thanked: 5 time(s) in 4 post(s)
uni, do you mean that functions with no description - it is because of the no license installed?

You said that Mathcad EFI never supported units, but how Mathcad works with these functions using WaterSteamPro? Does it use another interface?
Offline uni  
#27 Posted : 29 March 2012 17:34:44(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Quote:
uni, do you mean that functions with no description - it is because of the no license installed?
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).

Quote:
You said that Mathcad EFI never supported units, but how Mathcad works with these functions using WaterSteamPro? Does it use another interface?
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.

Quote:
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: ""
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.
In any case function returned an error and the reason can be in other.

Edited by user 29 March 2012 18:00:23(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline kmihaylovich  
#28 Posted : 29 March 2012 17:53:20(UTC)
kmihaylovich


Rank: Member

Groups: Registered
Joined: 22/06/2010(UTC)
Posts: 13
Location: Питер

Was thanked: 5 time(s) in 4 post(s)
Thank you, uni!
Offline uni  
#29 Posted : 31 March 2012 04:00:56(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Quote:
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 Good .



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

Edited by moderator 31 March 2012 07:45:33(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 2 users thanked uni for this useful post.
on 31/03/2012(UTC),  on 02/04/2012(UTC)
Offline kmihaylovich  
#30 Posted : 02 April 2012 20:26:45(UTC)
kmihaylovich


Rank: Member

Groups: Registered
Joined: 22/06/2010(UTC)
Posts: 13
Location: Питер

Was thanked: 5 time(s) in 4 post(s)
Thank you! I will use it. Clap
Offline uni  
#31 Posted : 11 April 2012 12:57:19(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
omorr wrote:
Hello,

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:
c←80/9
c=8.8889
round(c)=9
round(c,3)=9

EFI plugin disabled:
round(c,3)=8.889

Regards,
Radovan

I'd made some changes: mcadefi_20120411.zip (mirror)

Edited by moderator 11 April 2012 18:54:58(UTC)  | Reason: mirror added

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 3 users thanked uni for this useful post.
on 11/04/2012(UTC),  on 11/04/2012(UTC),  on 11/04/2012(UTC)
Offline uni  
#32 Posted : 03 May 2013 14:20:27(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Updated. Small fixes, but doesn't work in SMathStudio 0.96.4868 (Andrey will fix this in the next build).
Russia ☭ forever
Viacheslav N. Mezentsev
Offline kilele  
#33 Posted : 03 May 2013 18:27:54(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Great! I overlooked what this plugin was about. It seems to be like the plugin requested in
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/for...er--Tables.aspx#post9354
Offline uni  
#34 Posted : 11 June 2013 19:07:37(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Updated.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline mkraska  
#35 Posted : 18 June 2013 01:14:42(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,985
Germany

Was thanked: 1124 time(s) in 721 post(s)
I have problems installing EFI. Did install the mathlib.dll from userefi.zip in post #1

Details in the attached sheet...
File Attachment(s):
Plugin EFI for SMath Studio.sm (46kb) downloaded 73 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 2 users thanked mkraska for this useful post.
on 18/06/2013(UTC),  on 18/06/2013(UTC)
Offline uni  
#36 Posted : 18 June 2013 15:56:31(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: mkraska Go to Quoted Post
I 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).

Russia ☭ forever
Viacheslav N. Mezentsev
Offline mkraska  
#37 Posted : 19 June 2013 00:41:15(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,985
Germany

Was thanked: 1124 time(s) in 721 post(s)
Originally Posted by: uni Go to Quoted Post

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.
File Attachment(s):
Plugin EFI for SMath Studio.sm (24kb) downloaded 58 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline uni  
#38 Posted : 19 June 2013 01:13:14(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
This means that plugin can't load mcaduser.dll library. I don't know why.

Quote:
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.

Edited by user 19 June 2013 01:14:52(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline mkraska  
#39 Posted : 19 June 2013 01:40:33(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,985
Germany

Was thanked: 1124 time(s) in 721 post(s)
Better now, no more crashes, but no function as well.

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)
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline uni  
#40 Posted : 19 June 2013 02:19:42(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
I think the problem is that you are using a 64-bit system. This is an old problem and I don't know how to solve it. Also, I don't know if this is possible at all (load 32-bit libraries on 64-bit system).

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?
Quote:
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.

Edited by user 19 June 2013 02:26:45(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 19/06/2013(UTC)
Users browsing this topic
6 Pages<1234>»
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.