Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Poco lib in Visual Studio 2010 project

Featured Replies

Posted

I have a project which includes barswf_cpu - in this one there is no POCO_STATIC; 
in Preprocessor Definitions
in two other subprojects barswf_brook and barswf_cuda there is POCO_STATIC; 
in Preprocessor Definitions:
in those subprojects when it tries to execute:
    g->log->information("------------------------------");
    g->log->information("BarsWF started");

it crushes when tries to allocate memory!
     msvcr100.dll!operator new(unsigned int size)  Line 63 + 0x1a bytes    C++
     barswf_brook.exe!std::allocator<char>::allocate(unsigned int _Count)  Line 187 + 0x12 bytes    C++
>    barswf_brook.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize, unsigned int _Oldlen)  Line 1937 + 0x12 bytes    C++
     barswf_brook.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right, unsigned int _Roff, unsigned int _Count)  Line 902 + 0x23 bytes    C++
     barswf_brook.exe!Poco::Message::Message()  + 0x58 bytes    C++
     barswf_brook.exe!main(int argc, char * * argv)  Line 584 + 0x18 bytes    C++
     msvcr100.dll!_initterm(void (void)* * pfbegin, void (void)* * pfend)  Line 873    C
     kernel32.dll!7c817077()     
     [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]

    void _Copy(size_type _Newsize, size_type _Oldlen)  // _Newsize = 2880154539, _Oldlen = 0

According to:
https://pocoproject.org/docs/99150-WindowsPlatformNotes.html

- The default is to link the POCO C++ Libraries dynamically (DLL).
- To link statically, the code using the POCO C++ Libraries must be compiled with the preprocessor symbol POCO_STATIC defined.

The question is: will the dynamically linking (dlls) slow down the bruteforce process: the speed of executing program?

I am still confused regarding Poco dll name convention:
https://stackoverflow.com/questions/12063582/what-are-the-lib-files-in-poco-c

 

  • Author

Hi. Some good news: I've used include files directory (.h files) from an very old Poco and I've used libs from a newer Poco
I've set POCO_STATIC in Preprocessor Definitions of all projects;
now this thing works fine on all builds!
 

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.