Miniwood and compress files problems
- Juan Carlos
- Posts: 951
- Joined: Mon Sep 06, 2010 1:02 pm
Miniwood and compress files problems
I tryed to use the Miniwood system and compress an executable for Windows but when I click on it, the program crashes, even using the @OPTIONS {Compress=True}, I tested this program under Wine on Linux and also crashed, in the documentation It explains that this is possible to reduce the size of the executables by two-thirds, but in my case it causes problems. Even without put @OPTIONS {Compress=True}.
Thanks for the ideas.
Thanks for the ideas.
Re: Miniwood and compress files problems
You did add all the required libraries, like the example below?
the commands you use in your script use a library, so make sure all are included
the commands you use in your script use a library, so make sure all are included
Code: Select all
@IF #HW_MINI
@USING "brush"
@USING "dos"
@USING "display"
@USING "draw"
@USING "error"
@USING "event"
@USING "filters"
@USING "graphics"
@USING "icon"
@USING "imageio"
@USING "math"
@USING "object"
@USING "offscreen"
@USING "palette"
@USING "pointer"
@USING "requester"
@USING "sprite"
@USING "string"
@USING "system"
@USING "text"
@USING "time"
@ENDIFRe: Miniwood and compress files problems
have you try to create it under windows ?or another os ?
what libraries you are @USING ?
the following simplified example do not crash here win11/64
does it crash for you ?
what libraries you are @USING ?
the following simplified example do not crash here win11/64
does it crash for you ?
Code: Select all
@OPTIONS {compress=True}
@USING "requester"
SystemRequest("title","body","ok")
Christos
- Juan Carlos
- Posts: 951
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Miniwood and compress files problems
I included the libraries neccesary and the program without compresas works fine, I tested under Windows 7 64 bits and with Winn under Linux LiteOS and both cases the ejecutable crashed.
Re: Miniwood and compress files problems
Because my simple example do not crash we should find out what is causing that to you
First, does my simple example crash to you ?
Then can you tell us ALL libraies you are @USING?
Ideal would be to create a small example that crash, so we can also tesr
First, does my simple example crash to you ?
Then can you tell us ALL libraies you are @USING?
Ideal would be to create a small example that crash, so we can also tesr
Christos
- Juan Carlos
- Posts: 951
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Miniwood and compress files problems
Well I tested my program under AmigaOS3.9, with the same parameters, the MiniWood, the libraries and the @OPTIONS {Compress=True} and compress the executable and not for this system the program doesn't crash, I'll make other test on MorphOS, but under Windows 7, the program crashed, make a little example why? when the problem is only with Windows 7, even testing the program with Linux running inside the Wine.
Re: Miniwood and compress files problems
Rhe idea is only to track down the problem
Have you tey with windows 11 ? Does it crash?
Have you try a minimum example like the one i post which is tested under windows 11, does it crash?
Step by step to find out what exaclty is problematic !
P.s. all test i do was under windows 11/64 and do not crash .
Have you tey with windows 11 ? Does it crash?
Have you try a minimum example like the one i post which is tested under windows 11, does it crash?
Step by step to find out what exaclty is problematic !
P.s. all test i do was under windows 11/64 and do not crash .
Christos
Re: Miniwood and compress files problems
I just tested my own program (PolarPaint) and compiled executable with Hollywood and another with Miniwood. Both run without crashes on Windows 7 64 bit (in virtualbox).
When there are missing libraries causing crashes for Miniwood there should be an error message telling which function call that failed. I asume you get no error messages since you not mentioned any?
When there are missing libraries causing crashes for Miniwood there should be an error message telling which function call that failed. I asume you get no error messages since you not mentioned any?
- Juan Carlos
- Posts: 951
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Miniwood and compress files problems
No when ir crashed the program doesn't errores only that Windows is trying find a solution, I have the same under MorphOS and it works fine, but the Windows version under Windows 10 also Crash, I have the doubt if when you make the ejecutable the Hollywood IDE uses some Windows 7 dll, will be a strange problem with my Windows 7, because it isn't update.
- Juan Carlos
- Posts: 951
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Miniwood and compress files problems
After testing with some of my other programs, I found that the problem occurs when I enable the file compression option for Windows. Without compression, my programs work perfectly. It's a strange problem; I don't know if it's because my Windows 7 isn't updated and the Hollywood IDE needs a more recent DLL file.
When the target is for other systems, even using Miniwood, the program works fine, but for Windows using Miniwood or Hollywood, the compressed program fails.
When the target is for other systems, even using Miniwood, the program works fine, but for Windows using Miniwood or Hollywood, the compressed program fails.