Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
Options
Go to last post Go to first unread
Offline omorr  
#21 Posted : 18 August 2013 19:45:21(UTC)
omorr


Rank: Administration

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

Was thanked: 313 time(s) in 267 post(s)
Originally Posted by: mkraska Go to Quoted Post
Originally Posted by: uni Go to Quoted Post
Updated. Well, the last time. I compiled plugin in the release configuration. Maybe this version will work. And show me the log file.


Much better now, yet still problems. Part of the functions now work and no side effenct so far.
Thank you for keep fighting!

Just to join Martin and to thank uni for his efforts Good

Here is my log file. It seems it is the same like Martin's. Unfortunately, some functions do not work, they are present in the list (like Bessel, Hankel, Airy) but they do not work.

Regards,
Radovan
File Attachment(s):
log.txt (33kb) downloaded 42 time(s).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
thanks 1 user thanked omorr for this useful post.
on 18/08/2013(UTC)
Offline uni  
#22 Posted : 18 August 2013 20:53:53(UTC)
uni


Rank: Advanced Member

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

Was thanked: 936 time(s) in 533 post(s)
Thank you Martin, thank you Radovan.

It looks like the case was in the debug version of the plugin. Some functions do not work due to the fact that I have modified the code. Earlier, I used already compiled library. This is the first time I compiled it myself.

I will look for errors and make corrections. Please try 64bit version too.
Russia ☭ forever
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://money.yandex.ru/to/410013245578758/100
Offline mkraska  
#23 Posted : 18 August 2013 23:20:52(UTC)
mkraska


Rank: Advanced Member

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

Was thanked: 909 time(s) in 571 post(s)
Originally Posted by: uni Go to Quoted Post
Please try 64bit version too.


I had to remove the EFI plugin in order to run the 64bit version, here is the cephes log

18.08.2013 22:03:49 [ERROR] [Plugin.Initialize()] ist keine zulässige Win32-Anwendung. (Ausnahme von HRESULT: 0x800700C1)
18.08.2013 22:03:49 [INFO ] [Plugin.Initialize()] Successfully. 0 functions loaded.

This is what the error message says:

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.BadImageFormatException: Die Datei oder Assembly "file:///D:\Programme\SMath\SMathStudio_Desktop.exe" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
Dateiname: "file:///D:\Programme\SMath\SMathStudio_Desktop.exe"
bei System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
bei System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
bei System.Reflection.Assembly.LoadFrom(String assemblyFile)
bei ..(String , String )
bei ..(Object , EventArgs )
bei System.Windows.Forms.Timer.OnTick(EventArgs e)
bei System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Protokollierung der Assemblybindung ist AUS.
Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.
Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.
Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.



************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5472 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.

SMathStudio_Desktop
Assembly-Version: 0.96.4909.6806.
Win32-Version: 1.1.26.0.
CodeBase: file:///D:/Programme/SMath/SMathStudio_Desktop_64.exe.

System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.

System
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://en.smath.info/wi...th%20with%20Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 19/08/2013(UTC)
Offline uni  
#24 Posted : 19 August 2013 05:55:36(UTC)
uni


Rank: Advanced Member

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

Was thanked: 936 time(s) in 533 post(s)
Martin, try to remove mathlib.dll from the plugin folder. When the plugin is loading it tries to find the library. If not found, then it unloads library from the resources depending on the type of platform.
Russia ☭ forever
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://money.yandex.ru/to/410013245578758/100
thanks 1 user thanked uni for this useful post.
on 19/08/2013(UTC)
Offline mkraska  
#25 Posted : 19 August 2013 17:39:19(UTC)
mkraska


Rank: Advanced Member

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

Was thanked: 909 time(s) in 571 post(s)
Ok, I did this (and removed EFI).

Upon start of the 64bit version I get an error message.



and the log file has the contents:


I can recover from the error message with the button [continue].
Doing something simple like abs(i)= leads to german yellow error box saying something like "not a valid Win32 application, exception HRESULT: 0x800700C1"

Loading the cephes test sheet leads to a new error message, saying:

When I recover via [continue], then SMath tries to display the plugin loader, but fails to list what plugin would be required and then freezes (kill by Program manager required).

In order to go back to normal use of the 32bit version I have to remove the mathlib.dll again. Thus, for the normal user (unaware of plugin dirs and dlls) it is not safe to switch versions from time to time.
Also, you cannot run instances of SMath with different bitness at a time if they have the same settings directory.

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://en.smath.info/wi...th%20with%20Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 20/08/2013(UTC)
Offline uni  
#26 Posted : 11 September 2016 20:02:10(UTC)
uni


Rank: Advanced Member

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

Was thanked: 936 time(s) in 533 post(s)
Updated (project now can be build using Release Manager), but something wrong with Release Manager. Plugin can't load functions from the mathlib. Local version works fine.
Russia ☭ forever
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://money.yandex.ru/to/410013245578758/100
Offline uni  
#27 Posted : 12 September 2016 12:14:28(UTC)
uni


Rank: Advanced Member

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

Was thanked: 936 time(s) in 533 post(s)
Updated (Release Manager corrected, thanks to Andrey). Seems x64 version works.

Cephes Math Library. Functions.pdf (42kb) downloaded 110 time(s).

Edited by user 12 September 2016 12:16:45(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://money.yandex.ru/to/410013245578758/100
thanks 1 user thanked uni for this useful post.
on 12/09/2016(UTC)
Offline uni  
#28 Posted : 15 September 2016 15:54:01(UTC)
uni


Rank: Advanced Member

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

Was thanked: 936 time(s) in 533 post(s)
Updated. At last both versions (x32 and x64) work well.
Russia ☭ forever
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://money.yandex.ru/to/410013245578758/100
thanks 1 user thanked uni for this useful post.
on 15/09/2016(UTC)
Offline uni  
#29 Posted : 19 June 2020 09:47:30(UTC)
uni


Rank: Advanced Member

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

Was thanked: 936 time(s) in 533 post(s)
Updated.

Changes:

- fixed error when freeing resources;
- refactored.
Russia ☭ forever
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://money.yandex.ru/to/410013245578758/100
thanks 1 user thanked uni for this useful post.
on 19/06/2020(UTC)
Users browsing this topic
2 Pages<12
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.