Waitrud Weber’s blog

things and reminders for memories

2021-04-01から1ヶ月間の記事一覧

Analyzer: MinGw: How do we set code analyzer in html?

Very Thanks to: [1] Directory Listing: /pub/mozilla/ [1] firefox https://archive.mozilla.org/pub/mozilla/ * Download:archive.mozilla.org

windows-make: We solved memories-problem and could replace keywords in form-file.

We could replace keywords to in formfile.html to user string like "$02" to URL.We used csv file as input.m_trim works now. ---Csv:1,https://ebravo.jp/wp-content/uploads/2015/02/DS1_2076s.jpg," He is a nice person. Could you believe? his vo…

windows-make: m_trim: rewrite messages.

> .\winmain_001.exestart of main:notrim |"He is a briliant person. " |count 0 in front_trim.void print_memories () starts.dummy_ary[0]=|"He is a briliant person. " |void print_memories () ends.end of m_substring return string.front_trim |"…

windows-make: string function; m_trim works well, we recognised.

> .\winmain_001.exenotrim |"He is a briliant. " |count 0 in front_trim.void print_memories () starts.dummy_ary[0]=|"He is a briliant. " |void print_memories () ends.end of m_substring return string.front_trim |"He is a briliant. " |c | |32…

windows-make: thread: Not sounds: compilation and messages: about thread work, it can print its messages.

We skipped winmm and compiled it simply as windows-thread. It printed messages well. > c:\aaa\bin\make.exe allmingw32-g++ -Wall -O3 -I C:\MinGW\include\ -L C:\MinGW\lib -l gdi32 -lws2_32 -lwsock32 -o main.o -c main.cppmingw32-g++ main.o -W…

sounds: windows-make: Compilation and messages:

If you have winmm.dll and add the option, the compilation is well.But, after the exevution, the process could not print their messages like skip the api waveOutOpen. --- compilation and execution 001 --- > .\a.exemain starts.allocaton well…

windows-make: c++: about new array.

new itself is recognised on windows OS in mingw compilation. > mingw32-c++.exe main.cpp > .\a.exemain starts.main ends. main.cpp Sat Apr 17 13:04:15 2021 1 :#include 2 : 3 :char* m_data = NULL; 4 :int m_bufferSize = 0; 5 :int main() { 6 : …

sounds: windows-make: Freezed in initialization only of the Class SoundEffect.

Their working freezed it in the part of the below code, which might be solved by the way of a memories-allocation. winmain_001.cpp Fri Apr 16 12:32:08 2021 ... 671 : //20210416 672 : printf("initialize of SoundEffect starts.\r\n"); 673 : p…

sounds: windows-make: WAVEHDR

m_data is buffer array and we can use buffer on the windows code. so, we never avoid this way. .\sounds-011.h Tue Apr 06 10:42:14 2021 ... 110 : // Create the wave header for our sound buffer 111 : m_waveHeader.lpData = m_data; 112 : m_wav…

sounds: windows-make: Low Latency Audio

They are written in the microsoft documents. Low Latency Audio : https://docs.microsoft.com/en-us/windows-hardware/drivers/audio/low-latency-audio Low Latency Audio: sample. : https://docs.microsoft.com/ja-jp/windows/win32/multimedia/mci-w…

sounds: windowsapi: basic api in windows.

mciSendCommand can sound wave-files and we can use buffer alternatively for sounds. (20210412) buffer specification is not recognised today at 20210412. .\WindowsProject8.cpp Sat Apr 10 19:56:39 2021 1 :// WindowsProject8.cpp : Defines the…

sounds: windows-make: sounds program, which is primitive.

In C++, we could preare the sounds program sample well. The below link is very helpful. Thank you very much of it. main.cpp Tue Apr 06 10:44:16 2021 1 :#include "sounds-011.h" 2 :// Very Thanks to https://stackoverflow.com/questions/198943…

3d: windows-make: Code Block 001 trouble in the source text file.

There is a compilation error of one of Code Blocks, Code Block 001 below. Code Block 001: .\display_threeD.cpp Fri Apr 02 11:27:05 2021 ... 229 : // step base vector, cross_step is up of spining which doesn't change. 230 :// if ( croos_ste…

3d: windows-make: Architecture: Spinning.

Architecture: Spinning.When we set screen->eye in thread of animation displayed 3D-model from another angle even if we call to_screen first. 1. Reset screen->eye in animation thread. : int Animation_5times_thread_011 ( HDC *hdc ) ;2. Call …