MMB compatibility problems in Windows 7/8/10 x64 - Solution

Multimedia Builder

Re: MMB compatibility problems in Windows 7/8/10 x64 - Solut

Postby dgilmour » Mon Oct 30, 2017 7:34 pm

THilaire wrote:Great !

Thanks for the feedback!

Another build is up:
‒ Improved document appearance (rulers are displaying correctly right after document open).
‒ Now launcher should work better in Windows 10. (It seems that MMB itself does not work correctly with "Only one instance of designer" option in Windows 10 (at least in my copy of Windows 10) - as result there are situations when only one designer window is displayed, but there are several "ghost" MMBuilder.exe instances running in the list of processes. This happens even if you do not use MMB64, but use reduced color mode. To fix it MMB 64 terminates all MMBuilder.exe processes on exit.)

Let me know if there is any problem.
dgilmour
 
Posts: 523
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko

Re: MMB compatibility problems in Windows 7/8/10 x64 - Solut

Postby THilaire » Thu Nov 02, 2017 3:04 pm

Hi everybody,
Sorry to come again for programming questions.
I'm very pleased that MMB64 works well now but I have still a big problem : none of my old programs (builded with MMB in XP 32 environnement) are working well with the 64 versions of Windows.
I'd like explain my method of programming :
.
First I built a launcher (launch.exe) without interface but with the best properties at the compilation : Full/DirectX/Stand alone file...
Code: Select all
** Script Page1 :
InitTTS()
** Slow TTS Speed
x=150
For i=1 To 100
  x=x-1
  SpeedTTS("x")
Next i
** Medium TTS Pitch
x=0
For i=1 To 100
  x=x+1
  PitchTTS("x")
Next i
***************
x$='Hello,'
Say("x$")
RunMBD(".\Menu.mbd","") -> runs the program interface (lighter than an exe one)
Exit()                              -> and closes launch.exe


The new "launcher" (Menu.mbd) inherits all the launch.exe properties and is going to be able to run other programs in the same way, with the RunMBD () function
Example : RunMBD("<SrcDir>\Prog1.mbd","THIS_WINDOW")
It's just like an arborescence of small light programs that can run other ones
................................->Prog1.mbd ------->Prog11.mbd --->Prog111.mbd --->Prog1111.mbd...
Launch.exe -> Menu.mbd->Prog2.mbd......................... --->Prog112.mbd
...............................->Prog3.mbd.........................--->Prog113.mbd

That system works very well with Windows XP.
But with the 64 bit environnements (seven, ten) the programs are instable and freeze rather quickly having worked correctly at the beginning.

Now that MMB works well with MMB64, I still have the same problem when I run each program individually in the MMB environnement (ex. Prog1.mbd).
The same when I compil Prog1.mbd in Prog1.exe...
It’s frustrating :x .
I have no more the patience nor the desire to learn a new informatic language to adapt my programs in 64 bits :roll:
Have an advice other than "go play guitar" or "be interested in something else" (as says my wife) ?
THilaire
 
Posts: 22
Joined: Mon May 21, 2012 11:48 am
Location: Avignon, FRANCE

Re: MMB compatibility problems in Windows 7/8/10 x64 - Solut

Postby dgilmour » Fri Nov 03, 2017 6:42 am

It's hard to say what's wrong and what could be done without sample project.
dgilmour
 
Posts: 523
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko

Re: MMB compatibility problems in Windows 7/8/10 x64 - Solut

Postby THilaire » Sun Nov 05, 2017 1:32 pm

Squares.zip
(668.67 KiB) Downloaded 168 times
My bad.
The compressed folder could not contain the TTS engine that I use in French (3 files >1MO : Spchapi.exe, msttss22L.exe and lhttsfrf_fr.exe).
DsnyPrnt.ttf has to be installed in the fonts folder otherwise the interface will be a bit hasardeous.
The "Carrés" ("Squares") program is one of the simplest utilities I made for pupils of a primary school.
It's a simple exercise of memorization of the squares of the Pythagorean table.
To success the exercise, it's necessary to obtain 20 right consecutive answers.
Some indication of vocabulary :
- REU or réussite = success
- gomme =eraser
- départ = start
- LanceDé = TrowDice
.
I run MMB64 as administrator in Windows XP (Pack 3) compatibility mode.
The program "Squares" (but also all the others) systematically freeze, after running correctly just for a little bit, with all Windows 64 bits (Vista, 7, 8, 10)...
Thanks for your concern dgilmour.
THilaire
THilaire
 
Posts: 22
Joined: Mon May 21, 2012 11:48 am
Location: Avignon, FRANCE

Re: MMB compatibility problems in Windows 7/8/10 x64 - Solut

Postby THilaire » Sat Nov 11, 2017 10:00 am

I got it !
It’s not a MMB programming problem, but a problem connected to the Windows security system...
When I copy any MMB program on the Windows desktop and run it, it works perfectly (MMB64.exe is also on Desktop).
Usually (with XP) I install all my programs in a folder in the root C:\, and the exe shortcuts on the desktop.
It’s a way to avoid the pupils acceding the programs (and have them erased by accident...)
The programs freeze with Win10 only when I use the shortcuts ! ! !
*
My problem now is resolute : I have to copy my programs folder somewhere else that on the desktop, but also in a place where the Windows security system does not interfere (example in "C:%HOMEPATH%\").
*
An other observation with MMB64, it works well now on my computer (Win 10) only that, often the main graphic area is replaced by a grey screen without possibility of interaction (like seeing the interface under construction or to add an object...)
But when MMB64 runs well, it works well!
Thanks again dgilmour.
THilaire
 
Posts: 22
Joined: Mon May 21, 2012 11:48 am
Location: Avignon, FRANCE

Re: MMB compatibility problems in Windows 7/8/10 x64 - Solut

Postby dgilmour » Sat Nov 11, 2017 12:21 pm

Nice to know it, thanks for update.
dgilmour
 
Posts: 523
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko

Re: MMB compatibility problems in Windows 7/8/10 x64 - Solut

Postby dgilmour » Sat Nov 11, 2017 5:57 pm

THilaire wrote:I got it !
It’s not a MMB programming problem, but a problem connected to the Windows security system

This problem also might be similar to this (not resolved) viewtopic.php?f=17&t=192
dgilmour
 
Posts: 523
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko

Re: MMB compatibility problems in Windows 7/8/10 x64 - Solut

Postby Nigg » Sat Oct 06, 2018 8:34 pm

The solution is not working anymore with Windows 10 Release 1809
Nigg
 
Posts: 54
Joined: Thu Apr 14, 2011 2:10 pm

Re: MMB compatibility problems in Windows 7/8/10 x64 - Solut

Postby dgilmour » Sun Nov 18, 2018 7:47 pm

Nigg wrote:Windows 10 Release 1809

Windows 10 Pro 1809 - still works fine.
dgilmour
 
Posts: 523
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko

Re: MMB compatibility problems in Windows 7/8/10 x64 - Solut

Postby dgilmour » Mon Nov 19, 2018 2:29 pm

Nigg wrote:I'm using a script to start MMB:

Nigg wrote:The solution is not working anymore with Windows 10 Release 1809

Maybe your script is the problem? MMB64 alone runs smooth and 100 % without hangs here.
dgilmour
 
Posts: 523
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko

PreviousNext

Return to MMB

Who is online

Users browsing this forum: No registered users and 1 guest