21
General (but related to Code::Blocks) / Re: Problems getting my printer to work with codeblocks.
« Last post by Miguel Gimenez on May 09, 2024, 06:42:17 pm »It is not driver-related, just Scintilla failing to print outside MSW.
As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
C:\u\CodeBlock_C++\DLL\02_Console\bin\Debug>dir
Volume in drive C is OS
Volume Serial Number is 5484-444A
Directory of C:\u\CodeBlock_C++\DLL\02_Console\bin\Debug
09-May-24 02:47 PM <DIR> .
09-May-24 02:47 PM <DIR> ..
09-May-24 11:50 AM 74,745 Console.exe
09-May-24 11:01 AM 59,052 CreateUse.dll
09-May-24 02:47 PM <DIR> junk
09-May-24 11:04 AM <DIR> junk2
09-May-24 11:01 AM 2,384 libCreateUse.a
17-Oct-23 02:04 PM 112,640 libgcc_s_seh-1.dll
17-Oct-23 02:04 PM 2,282,496 libstdc++-6.dll
17-Oct-23 02:04 PM 54,784 libwinpthread-1.dll
6 File(s) 2,586,101 bytes
4 Dir(s) 148,848,451,584 bytes free
The build =======>
g++.exe -Wall -fexceptions -g -c C:\u\CodeBlock_C++\DLL\02_Console\main.cpp -o obj\Debug\main.o
g++.exe -o bin\Debug\Console.exe obj\Debug\main.o C:\u\CodeBlock_C++\DLL\02_Console\bin\Debug\libCreateUse.a
Output file is bin\Debug\Console.exe with size 72.99 KB
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
OK operation with green arrow (cb) =======>
a= 22
b= 11
the sum is 33
a= 44
b= 22
the difference is 22
NOK operation with Command Prompt ========>
C:\u\CodeBlock_C++\DLL\02_Console\bin\Debug>dir
Volume in drive C is OS
Volume Serial Number is 5484-444A
Directory of C:\u\CodeBlock_C++\DLL\02_Console\bin\Debug
08-May-24 02:59 PM <DIR> .
08-May-24 02:59 PM <DIR> ..
08-May-24 02:59 PM 74,745 Console.exe
08-May-24 02:15 PM 59,052 CreateUse.dll
08-May-24 02:15 PM 2,384 libCreateUse.a
3 File(s) 136,181 bytes
2 Dir(s) 148,093,124,608 bytes free
C:\u\CodeBlock_C++\DLL\02_Console\bin\Debug>console.exe
C:\u\CodeBlock_C++\DLL\02_Console\bin\Debug>console.exe