Go Back   Winamp & Shoutcast Forums > Visualizations > MilkDrop > MilkDrop Presets

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 15th February 2021, 07:19   #24
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Quote:
Try the exe on a freshly installed windows, you'll see, it will be working fine, you must have a font problem
I don't have a fresh installation handy, but the scaling issue is (was !) the same on my office PC which is controlled by our IT department so it is VERY unlikely it has any issues with fonts or similar.

Quote:
Click again on the options button to leave!
Boff ! I'm stupid... That is rather non-standard but your call !

Quote:
Crash
The crash is absolutely reliable, tried on two machines with different Lazarus versions. Also when running the compiled exe standalone.
Problem:
This only becomes visible with range cheks ON but debugger disabled. When I enable the debugger, it crashes really hard. The task manager even insists that killing Lazarus is not a valid option. I have to restart.

So the only way to get closer to that is by injecting Showmessages at different places. I think the problem is in LabelGoClick here

code:
if not directoryexists(ChoixRepertoire2) then CreateDir(ChoixRepertoire2);
showmessage (inttostr(Length(ChoixRepertoire2)));
if ChoixRepertoire2[Length(ChoixRepertoire2)] <> '\' then ChoixRepertoire2 := ChoixRepertoire2 + '\';


Showmessage tells me that the length (choixrepertoire2) is zero. BTW I had not selected an input folder, just clicked go.

I can't see a mistake here, but...

code:
showmessage (inttostr(ptrint(ChoixRepertoire2)));

also prints zero. Looks like the string is not allocated. Check how Lazarus handles ansistrings, maybe they need to be created first...

Aha !
code:
showmessage (ChoixRepertoire2[0]);


causes a compilation error : "Element zero of an ansi/wide - or longstring cannot be accessed."

Last edited by Nitorami; 15th February 2021 at 08:30.
Nitorami is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Visualizations > MilkDrop > MilkDrop Presets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump