Hi!
I was trying out different examples, looking for a solution to a problem, and I wanted to try some of the Windows-libraries.
Turns out that every example creates an error - sometimes not running or anything. (I tried even on a "clean" install, download, extract, run, paste, compile…)
The error output is:
"C++ Compilation failed (Check .\internal\temp\compilefile.txt"
When I click on it, Notepad opens with this text:
In file included from qbx.cpp:2171:
..\\temp\\main.txt: In function 'void QBMAIN(void*)':
..\\temp\\main.txt:16:124: error: cast from 'HWND' {aka 'HWND__*'} to 'int' loses precision [-fpermissive]
*__LONG_HWND=( int32 )FindWindow(NULL,(char*)(qbs_add(qbs_new_txt_len("Color Common Dialog demo",24),func_chr( 0 )))->chr);
^
compilation terminated due to -Wfatal-errors.
For the Color Dialog Box.
It's pretty much the same for rest.
I hope someone can fix that, because that how one learns to code in QB64.
Also - the IDE shows wrong characters for the last 3 Swedish letters åäö.
Thank you for your time and I hope it gets fixed.
I'd like to use the Open File Dialog, instead of writing my own - it would make it easier.
Cheers.
Cheers. ;)