Error LNK2026 module unsafe for SAFESEH image.
Right-click on your project ->
Properties ->
Configuration Properties ->
Linker ->
Advanced and changed "Image Has Safe Exception Handlers" to "No (/SAFESEH:NO)"
LNK1104: cannot open file libc.lib
Project Property -> Configuation Properties -> Linker -> Input -> Ignore Specific Library
Ignore the LIBC.LIB...
22 Ocak 2019 Salı
21 Ocak 2019 Pazartesi
Komut Satırında Diskpart kullanımı , Harddisk formatlama (How to format Hard Drive Command Line)
1) Komut satırı açılır
2)list disk
3)select disk 1
4)clean
5)create partition primary
6)format fs=ntfs
7)ass...
20 Ocak 2019 Pazar
15 Ocak 2019 Salı
access gpio and sys class in c++
#include < iostream >
#include < stdio.h >
#include
using namespace std;
#define MAX 64
int flashGPIOLED(int,int);
int readButton(int);
int main()
{
//readButton(7);
flashGPIOLED(7,5);
}
int flashGPIOLED(int GPIOPin,int times)
{
cout < < "GPIO LED Flash Pin: "<
...
14 Ocak 2019 Pazartesi
Emit Signal from static function
class MainWindow : public QMainWindow
{
...
private:
static MainWindow* m_psMainWindow;
void emit_signal_TrameRecu(StructureSupervision::T_StructureSupervision* ptr)
{
emit signal_TrameRecup(ptr);
}
};
// Implementation
// init static ptr
MainWindow* MainWindow::m_psMainWindow = nullptr; // C++ 11 nullptr
MainWindow::MainWindow(QWidget* parent)
...