Forum > Operating Systems

problems loading file with crosscompiled code

<< < (3/3)

CorBee:
Not to difficult to replace the writelns. I am going to catch this maybe with debugLn but I also want my testers to directly have a look at a debug-log so Ill provide a space where the debug can be followed.

cheers
Cor

howardpc:

--- Quote from: dbannon on October 29, 2022, 12:08:03 pm ---Yeah, Lazarus apps normally don't have a console, writeln writes to the console.  There is some way to declare a lazarus app as having a console but I cannot remember ...
--- End quote ---

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---{$apptype console}

CorBee:
Thanks for that  8-)

Bart:

--- Quote from: howardpc on October 29, 2022, 12:53:48 pm ---
--- Quote from: dbannon on October 29, 2022, 12:08:03 pm ---Yeah, Lazarus apps normally don't have a console, writeln writes to the console.  There is some way to declare a lazarus app as having a console but I cannot remember ...
--- End quote ---

--- End quote ---
Menu->Project-Project Options->Compiler options->Config and Target->unselect the "Win32 gui application (-WG)" checkbox.
(On the main toolbar there is a button to directly acces Compiler Options, and Ctrl+Shift+F11 should also open Project Options, so no need to go through the main menu)

Bart

Navigation

[0] Message Index

[*] Previous page

Go to full version