Search found 215 matches

by dkaip
Wed Jan 02, 2019 9:42 am
Forum: C++ Development
Topic: Paste / copy png to clipboard
Replies: 6
Views: 313

Re: Paste / copy png to clipboard

Ok, but what other way exist to connect two exe files for transform data between exept clip and write and open files in disk(too slow process..)?
Thank you
Jim
by dkaip
Tue Jan 01, 2019 5:11 pm
Forum: C++ Development
Topic: Paste / copy png to clipboard
Replies: 6
Views: 313

Re: Paste / copy png to clipboard

All that is because i can not connect pdfium in windows with GCC, because of MSVC libraries.
So i bypass the pdfium lib with clipboard use, and there is no other way.
So i need the clipboard to make the transformation.
Than you.
Jim
by dkaip
Tue Jan 01, 2019 5:06 pm
Forum: wxCode
Topic: Linking wxPDFView error
Replies: 3
Views: 481

Re: Linking wxPDFView error

Yes, that is exactly, i use MSVC libraries with GCC... I always use CodeBlocks and GCC. In Linux i connect pdfium with gcc easy. But in windows compilation process use MSVC, that is i hate, the using of vs and ms tools. But there is need to have a pdfiewer in windows, so i just build wxPDFView follo...
by dkaip
Tue Jan 01, 2019 2:06 pm
Forum: C++ Development
Topic: Paste / copy png to clipboard
Replies: 6
Views: 313

Paste / copy png to clipboard

Hello. I have a png image as string .. std::string str(png_encoding.begin(), png_encoding.end()); Then copy to clipboard with ... void toClipboard(const std::string& s) { CloseClipboard(); OpenClipboard(0); EmptyClipboard(); HGLOBAL hg = GlobalAlloc(GMEM_MOVEABLE, s.size()); if (!hg) { CloseClipboar...
by dkaip
Tue Jan 01, 2019 12:14 pm
Forum: wxCode
Topic: Linking wxPDFView error
Replies: 3
Views: 481

Linking wxPDFView error

Hello. After so time finaly i made wxPDFView lib at C:\wxPDFView\build\Debug folder(files wxPDFView.lib and wxPDFView.pdb) following the instruction exactly. Now i am try to build Simple.cpp sample. mingw32-g++.exe -w -std=c++14 -g -D__WXDEBUG__ -std=c++14 -IC:\wxWidgets-3.0.4\include -IC:\wxWidgets...
by dkaip
Tue Dec 25, 2018 6:01 am
Forum: C++ Development
Topic: How to take a press button event
Replies: 7
Views: 617

Re: How to take a press button event

Very good example...
Thank you.
Jim
by dkaip
Mon Dec 24, 2018 6:45 pm
Forum: C++ Development
Topic: How to take a press button event
Replies: 7
Views: 617

Re: How to take a press button event

Sorry, with button i mean key of keyboard.(Not good in English).
The scenario is when the process run, if i press Q, W, and E, give me a message. That is for learning.
Thank you.
Jim
by dkaip
Mon Dec 24, 2018 3:32 pm
Forum: C++ Development
Topic: How to take a press button event
Replies: 7
Views: 617

Re: How to take a press button event

My program runs as a backgroud process and it must inspect if a certain group of buttons are press in keyboard.
There is no mater if buttons press in certain program or not.
Thank you.
Jim
by dkaip
Mon Dec 24, 2018 9:43 am
Forum: C++ Development
Topic: How to take a press button event
Replies: 7
Views: 617

How to take a press button event

Hello. I have made a litle process program that runs at windows 10 background.
I dont know how to take an even, a press button, how must make the program to inspect OS events, a press button for example. There is a link to study some code?
Thanks
Jim.
by dkaip
Sat Dec 15, 2018 7:41 pm
Forum: wxCode
Topic: wxSQLIte3 from sources...
Replies: 13
Views: 2575

Re: wxSQLIte3 from sources...

Yes, as i see i have the C:\Program Files (x86)\CodeBlocks\MinGW compiler from CodeBlocks installation, the TDM-GCC. I will try newer compiler and i will upload the source cbp file soon i have some time.
Thank you.
Jim
by dkaip
Sat Dec 15, 2018 8:30 am
Forum: wxCode
Topic: wxSQLIte3 from sources...
Replies: 13
Views: 2575

Re: wxSQLIte3 from sources...

Hello. This time i am trying to compile minimal last download version from sources in windows 10. But i am taking error ... C:\wxsqlite3\sqlite3secure\src\chacha20poly1305.c|347|undefined reference to `[email protected]'| defines are ... __GNUWIN32__ __WXMSW__ wxUSE_UNICODE _WIN32 THREADSAFE=1 SQL...
by dkaip
Fri Dec 14, 2018 9:40 pm
Forum: wxCode
Topic: Compile from sources the wxPDFView error
Replies: 7
Views: 871

Re: Compile from sources the wxPDFView error

sorry my fault..
by dkaip
Sat Oct 27, 2018 4:36 am
Forum: wxCode
Topic: Compile from sources the wxPDFView error
Replies: 7
Views: 871

Re: Compile from sources the wxPDFView error

Ok i solved it, must put (FPDF_DOCUMENT) before.
Thank you
Jim.
by dkaip
Fri Oct 26, 2018 8:23 pm
Forum: wxCode
Topic: Compile from sources the wxPDFView error
Replies: 7
Views: 871

Re: Compile from sources the wxPDFView error

How did you configure the pdfview? args.gn --------- # Build arguments go here. # See "gn args <out_dir> --list" for available build arguments. is_debug = true pdf_is_standalone = true pdf_use_skia = false pdf_use_skia_paths = false pdf_enable_xfa = false pdf_enable_v8 = false is_component_build = f...