Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Aqueel

@Aqueel
About
Posts
223
Topics
83
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Help regarding Dialogic card
    A Aqueel

    Hi I want to buy a Dialogic card. Can you please suggest me that which type of card is the best suitable in order to handle around 40000 customers at a time? How many slots on a card do i need to easily support this much load? I would really appreciate if you can please help me in this regard. Thank you

    We Believe in Excellence www.aqueelmirza.cjb.net

    IT & Infrastructure csharp help question

  • Help regarding inserting trademark symbol in MS Access DB
    A Aqueel

    Hi I am trying to store some text in MS Access DB which contains trademark symbol and few other latin and greek symbols but when i try to paste the text in the field whose datatype is Memo, i get an error message "the text is too long to be edited". Can anyone please tell me why i am getting this error message how to resolve this issue?

    We Believe in Excellence www.aqueelmirza.cjb.net

    IT & Infrastructure help csharp database tutorial question

  • Declare string array in heap
    A Aqueel

    Hi Can anyone plz tell me how to declare a string array in heap? I also dont want to specify its size at the time of declaration. Thanks

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC csharp data-structures tutorial question

  • Authentication mechanism for Windows
    A Aqueel

    If we disables anonymous access, windows launch an alert box of user name and password for authentication. Can anyone plz tell me that 1- Which mechanism is used by windows to launch this alert or message box 2- Which dll file is called by windows operating system during this authentication mechanism? Please help me...

    We Believe in Excellence www.aqueelmirza.cjb.net

    System Admin csharp security help question

  • i need help
    A Aqueel

    Dont get worried. ;) Try to learn MFC. Its not that difficult.

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC help

  • N-Queen Puzzle
    A Aqueel

    Do your homework yourself buddy... :->

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC c++

  • Segmentation fault while working with C
    A Aqueel

    Yeah. :) . At last i got it. I was getting error when i tried to call pthread_attr_init(). Thanks

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC csharp help

  • Segmentation fault while working with C
    A Aqueel

    Hi I have written following code but when i execute it, i get an error "segmentation fault". Can anyone plz tell me why i am getting the error. I have surfed the internet for 2 days but still could not get any idea. Code is #include //#include #include #include #include void* increment(void *msg); int count = 0; int num[1]; pthread_mutex_t mutex;// = PTHREAD_MUTEX_INITIALIZER; int main() { //int num [1]; FILE *f; f=fopen("data.txt","w"); num[0]=0; fwrite(num,sizeof(num),1,f); fclose(f); pthread_t t1, t2, t3, t4, t5; pthread_mutex_init(&mutex,NULL); int tid1, tid2, tid3, tid4, tid5; char msg1[] = "Thread 1"; char msg2[] = "Thread 2"; char msg3[] = "Thread 3"; char msg4[] = "Thread 4"; char msg5[] = "Thread 5"; pthread_attr_t *attr; pthread_attr_init(attr); tid1 = pthread_create( &t1, NULL, increment, (void*)msg1); tid2 = pthread_create( &t2, NULL, increment, (void*)msg2); tid3 = pthread_create( &t3, NULL, increment, (void*)msg3); tid4 = pthread_create( &t4, NULL, increment, (void*)msg4); tid5 = pthread_create( &t5, NULL, increment, (void*)msg5); printf("Threads are created!\n"); pthread_join(t1, NULL); pthread_join(t2, NULL); pthread_join(t3, NULL); pthread_join(t4, NULL); pthread_join(t5, NULL); return 0; } void *increment(void* msg) { char *message = (char*)msg; printf("%s starts: ", message); for (int i=0;i<20;i++) { pthread_mutex_lock( &mutex ); FILE* fh = fopen("data.txt", "r+"); fread(num, sizeof(num), 1, fh); num[0] = num[0]+1; printf("%d\n", num[0]); fseek(fh,0,SEEK_SET); fwrite(num, sizeof(num), 1, fh); fclose(fh); pthread_mutex_unlock( &mutex ); } pthread_exit(NULL); }

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC csharp help

  • Pop Up loading message
    A Aqueel

    There is one more way to do it. Make a dialog box with desired message. Create a thread, call DoModal() in this thread to display that dialog box. When u need to kill dialog, kill the thread. How's that??

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC question

  • Need MFC Combo Box Help [modified]
    A Aqueel

    Use events associated with the combo box.

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC tutorial c++ help question announcement

  • some trouble when I use Createprocess
    A Aqueel

    Write CreateProcess(...) Note that 'C' and 'P' are capital.

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC question help

  • Accessing private Member
    A Aqueel

    Hi Baerten Thank you. That's great to know.

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC help tutorial question

  • Accessing private Member
    A Aqueel

    Oh thanks Christian. I am working with Visual C++ since 4 years and now i have been informed that C2248 is an error code. :sigh:

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC help tutorial question

  • Accessing private Member
    A Aqueel

    C2248 isnt an error. Can you plz tell what is the error??

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC help tutorial question

  • pointer and reference
    A Aqueel

    It seems he is posting and posting the new questions instead of reading replies. :mad:

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC

  • Threads in C++
    A Aqueel

    Here is a tip for you. Open your internet explorer. Type "Threads C++" and press "Google Search". You would get a lot of wonderful material on this topic. Good luck

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC c++ help

  • Creating a PDF file
    A Aqueel

    humm i think that link is quite good. This tutorial can help baerten. As i think he is afraid of those libraries. So this link helps.

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC c++

  • Threads
    A Aqueel

    I am afraid, i can not accommodate 100000000000. :sigh:

    We Believe in Excellence www.aqueelmirza.cjb.net

    C / C++ / MFC question

  • How to get column names of a table
    A Aqueel

    Hi How can i get column names of a given table from a MS Access DB? Is there any query to do it?? Please help.

    We Believe in Excellence www.aqueelmirza.cjb.net

    Database database question csharp help tutorial

  • SQL Query: get table names
    A Aqueel

    Hi How can i names of all the tables from a Microsoft Access Database? Is there any query to do it?

    We Believe in Excellence www.aqueelmirza.cjb.net

    Database database question csharp
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups