Hi Wilfried, I'd try your patch and all worked fine, no need to modify anything in my sources. Already I was loading icons from file in my resource file and I'm referencing the manifest in the resource file using the following syntax: CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "<pathtomyappmanifestfile>"</pathtomyappmanifestfile> thus windres doesn't fail using 1 24 "<pathtomyappmanifestfile>"</pathtomyappmanifestfile> That's consistent with the absence of issues in gtwvt, gtwin, etc. based applications...
Hi Wilfried, I zipped the complete mingw64 folder of MSYS2 and tested it successfully building Harbour, HWGui and my app. Just unzip it and point to mingw64/bin as compiler path. No need to use MSYS at all. You can download the zip at: https://www.mlacecilia.com/dati/msys64.zip Best regards. Maurizio Il 28/09/2022 14:50, Wilfried Brunken ha scritto: Hello Maurizio, i tried to start an offline installation of MSys2, but i have some problems. The toolchain is not complete. See report (with list of...
Hi Wilfried, Il 26/09/2022 14:52, Wilfried Brunken ha scritto: Hello Maurizio, i downloaded the MSYS base package and tried to install the MingW64 environment with the "pacman" command. For me it seems, this is a simuation of a LINUX like environment (bash ,..) on Windows. Yes, similar to Cygwin. My problem is: All my Windows systems are forever "offline". The pacman command tries the get the package from the internet, and this is not possible. What i need is a "portable" revision of the MingW64...
Hi Wilfried, you can download MSYS2 at https://repo.msys2.org/distrib/x86_64/ then run the executable and using the command pacman -S mingw-w64-x86_64-toolchain the compiler will be installed. More informations at https://www.msys2.org/wiki/MSYS2-installation/ Please, try to rebuild Harbour, HWGui and your CLLOG project with gcc 12.2 (path: \msys64\mingw64\bin) to control if the same error is issued in your app. I'm expecting that you'll no have errors if your app doesn't use resource files. Thanks...
Hi Wilfried, I'd rebuild Harbour, HWGui and my app using your MinGW 8.1 distro and all gone fine. Thus my issue is due to compiler version (I'm using 12.2 from MSYS2). Probably the windres bin introduced some kind of incompatibility in newer versions, because only programs using resource files are hanging. I'll deeper investigate... Yes, this ticket can be closed also if it should be reopen with "64bit apps fails if compiled with gcc > 8.1 and are using resource files. Many thanks for your aid, it's...
Hi Wilfried, I'd forgot to say that the error happens with File->Open menu choice. That's the error, same as for my app: Called from HWG_DLGBOXINDIRECT(0) Called from HDIALOG:ACTIVATE(177) in C:\SVN\hbSys...\hwgui\source\winapi\hdialog.prg Called from OPENFILE(695) in C:\SVN\hbSys...\hwgui\utils\dbc\dbchw.prg Called from (b)MAIN(188) in C:\SVN\hbSys...\hwgui\utils\dbc\dbchw.prg Called from ONCOMMAND(660) in C:\SVN\hbSys...\hwgui\source\winapi\hwindow.prg Called from (b)HMAINWINDOW(317) in C:\SVN\hbSys...\hwgui\source\winapi\hwindow.prg...
Hi Wilfried, no need to modify sample programs. I think the problem is about resource files. Can you confirm that you aren't using resource file in your CLLOG app? What's the way you're compiling 64bit apps on Windows (hbmk2.exe, bldmingw64.bat, hwmake,exe, etc.)? I just tried to compile dbchw.exe without any change and the app, working fine in 32bit version, crashes in same way of mine. Can you test on your site, compiling dbchw.exe using your usual command? My console apps (based on gtwvt) runs...
Hi Wilfried, many thanks for your support. Unluckily my code is based on my development tool, a kind of homemaid CASE, and is very difficult to isolate a sample in a small source. Just to be more precise, my app runs flawlessly at 64bit but crashes only on activation of modal dialog windows. The controls are generated by code and not by resource descriptors. I'm compiling with updated MSYS2 gcc (12.2 AFAIR) and my system runs Win11. Are you sure that your app CLLOG uses modal dialogs? Did you have...