Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,654 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
|
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
I can't help, just guessing: try to change compatibility settings for SMath, right-click the exe icon, click Properties, and then click the Compatibility tab.
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
I found this page searching for is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) Quote: The problem had to with the 32bit and 64bit versions of Windows, but that was not to be blamed completely. In my Visual Studio I had the Solution Configuration set to “Debug” mode and Solution Platform set to “Any CPU”. Since the OS on the new machine was 64bit, it started executing it in 64bit mode while the 32bit C++ library was not ready to accept this, which created all the problem.t-0x800700c1.aspx#sthash.45Q9ApBu.dpuf
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
The message indicates that the 64-bit managed application is trying to load some 32-bit dll. As SMath is AnyCPU program, it works as 64-bit on 64-bit OS, and 32-bit on 32-bit OS. If some extension, or other required dll happens to be built as x32, then it will work just fine on 32-bit OS, and give this message on x64.
I could just advise to use somemthing like procmon to check which dll is being loaded when this error happens. |
Best regards, Mike Kaganski |
1 user thanked mikekaganski for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,495 Was thanked: 1275 time(s) in 746 post(s)
|
|
Russia ☭ forever Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,654 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
Originally Posted by: ioan92 Thanks. Yes. It works fine ancing: , but I wonder why it is not in the main release ? I hope not, this relase doesn't work for me, dies immediately... Davide Carpi attached the following image(s): |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,654 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
Originally Posted by: ioan92 (with the genuine installation ?); Genuine installation, and also genuine OS If may help, I attach the crash dump... Davide |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
Originally Posted by: kilele I don't know which are the advantages/disadvantages of running SMath like a 64-bit/32-bit process. Your problem could be due to having installed a wrong version of .NET, you might have installed .NET for 32-bit resulting in some .NET component being incompatible with some SMath process. As Uni had already explained, this problem is directly caused by his mcadefi plugin. No need to look for another cause. And the problem is clear and straight: the plugin is a wrapper around an ancient 32-bit dll. The plugin is loaded by Smath, and the dll is loaded by plugin. So, effectively, the SMath process (that is 64-bit on x64 OS) tries to load 32-bit dll. This is not permitted under .Net. No way. There are workarounds: one is simple and is implemented as "1-bit replacement cure". This means that SMath is explicitly marked as 32-bit, and runs in 32-bit .Net environment, thus being able to load 32-bit ancient dll. Another workaround, that is very difficult, prone to bugs and inefficient, but more universal, is to write another program that would be 32-bit, ant it would load the problematic dll, and the SMath plugin would then communicate to that external process using inter-process communication (something like sending requests and getting replies over network). Originally Posted by: ioan92 However, in my mind, 64 machines are no more exceptions this time and hence a tool "bugged" for this machines rise some problems . I say this especially because it seems being possible some very reasonable issues. Originally Posted by: ioan92 ... I wonder why it is not in the main release ? I spent some time to reach there... There are a number of advantages here. First, current extensive use of SMath as 64-bit program ensures that there will be no problems when 32-bit support will finally come to end. Second, the program may use the 64-bit CPU advantages (memory, arithmetics, etc...), which may be useful in math tasks. And even if the program itself still isn't coded to use this advantage, its 64-bitness (or, more precisely, it is AnyCPU process) enables the plugin writers to write extensions that can use this said advantage. Simply refusing to have these goodies just to enable using some exotic old and rarely used stuff that could be replaced by another contemporary free analogue, would be simply silly. |
Best regards, Mike Kaganski |
2 users thanked mikekaganski for this useful post.
|
on 26/06/2013(UTC), on 04/07/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
Good points, Mike. Not sure, though, that Ioan's issue is related with mcadefi plugin. Could you erase this plugin and check if the problem remains ?
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,654 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
Originally Posted by: ioan92 As uni suggested by disabling EFI pluging everything is ok, but so you have no more this pluging services that are very usefuls for me by instance.Regards, So here is the issue |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
Originally Posted by: ioan92 I noticed that on the same computer (64bits) running in 32bits slower the execution, but in my case this is not the critical parameter.
This is not good. By the way, it reminds me that when I tried animations on Linux OS, performance was noticeably slower.
|
1 user thanked kilele for this useful post.
|
|
|
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.