Jump to content

misfit382

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by misfit382

  1. I would like to move borderless desktop application with mouse. Could you please provide me a solution?
  2. Hi there, I can't find widget for table ( i mean rows + headers + ability to select proper row). Could you please provide a sourcecode for that?
  3. Sure, here u go with main.cpp file - should be enough to show the problem. I can't afford to use static functions in this case. #include "UltraEngine.h" using namespace UltraEngine; class testclass { private: void test2(const int start, const int size); void test(); }; void testclass::test2(const int start, const int size) { int i; for (int num = start; num <= start + size; num++) { //something here } } void testclass::test() { int thread_count = 40; int range = 65535; vector<shared_ptr<Thread> > threads(thread_count); for (int n = 0; n < thread_count; ++n) { threads[n] = CreateThread(bind((test2), range / thread_count * n, range / thread_count), true); } for (int n = 0; n < 40; ++n) { threads[n]->Wait(); } } int main(int argc, const char* argv[]) { return 0; }
  4. Hi, I have encountered a problem using threads with the help of classes. I have been using sample codes so far as well as browsing the forum, but unfortunately I cannot find an answer to this problem. Following the guide about threads I got something like this Unfortunately I don't understand why a function of void type not belonging to a class passes in the compilation without any problem, but in the other direction it doesn't. I apologize for bothering you with probably simple problems and for my poor English Thanks
×
×
  • Create New...