CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: rafraf

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    6,471

    Re: I can not solve this ...LIBCMTD

    I have tryed also deleting the debug folder (I use Visual C 6.0)...

    This error also comes out.

    LINK : LNK6004: Debug/win32app_test4.exe not found or not built by the last incremental link;...
  2. Replies
    2
    Views
    6,471

    I can not solve this ...LIBCMTD

    I've been having this error messages. I have tryed changing all project settings but it does not work.

    It was working normally but suddely it stop I don't believe I change anything....boh!!??
    ...
  3. Thread: button color

    by rafraf
    Replies
    2
    Views
    1,104

    Re: button color

    But I believe those examples make use of MFC....

    and about WinAPI...

    This is what confuses me... those codes can be implemented to a winAPI application ?
  4. Thread: button color

    by rafraf
    Replies
    2
    Views
    1,104

    button color

    ok, I have seen a lot of threads about changing button color but.... (some using MFC, what confuses me...)

    I could not understand where I should put the notification...
    case WM_CTLCOLORDLG:
    and...
  5. Replies
    2
    Views
    699

    Re: return a FILE parameter

    yes!!! it works!!

    thanks!!!
  6. Replies
    2
    Views
    699

    return a FILE parameter

    Probably it is a stupid question but I couldnt figure it out...

    If I want to pass 2 FILE * parameters to a function_A, open it there and then use it in my main function...What I should do??
    ...
  7. Thread: CreateThread

    by rafraf
    Replies
    8
    Views
    1,170

    Re: CreateThread

    Yes...That the parent window gets disabled I knew but that it gets blocked is something new for me... :eek:

    Thanks for your help!!! :wave:
  8. Thread: CreateThread

    by rafraf
    Replies
    8
    Views
    1,170

    Re: CreateThread

    I have found that the problem comes out when I use this code (see below) inside my ThreadFunc.
    g_hElmbDialog = handle of the dialog I call the thread.
    If intead of calling CreateDialog using...
  9. Thread: CreateThread

    by rafraf
    Replies
    8
    Views
    1,170

    Re: CreateThread

    here it goes


    ...
    case ID_TH_SCAN_INJ:
    {
    ThreadClass thread;
    int node = GetDlgItemInt(hDlg, IDC_COMBO_ELMB, NULL, NULL);
    int time = GetDlgItemInt(hDlg, IDC_TH_SCAN_TIME, NULL,...
  10. Thread: CreateThread

    by rafraf
    Replies
    8
    Views
    1,170

    Re: CreateThread

    This is practically the whole thing I do to call this thread...from the main thread I call this funcion (funcA). Then I pass some parameters using Param.



    HANDLE ThreadClass::funcA(BYTE node,...
  11. Thread: CreateThread

    by rafraf
    Replies
    8
    Views
    1,170

    CreateThread

    I do not understand why my program blocks when processing a long routine eventhough I use CreateThread...any clue??

    m_hThread = CreateThread( 0,
    0,...
  12. Replies
    10
    Views
    2,754

    Re: Enable/Disable button

    SendDlgItemMessage(hDialog, IDC_PLAY, WM_ENABLE, (WPARAM) FALSE, 0);

    I have the same problem...if anyone knows why it does not work...???

    by now I solve this with the folllowing:
    ...
  13. Replies
    5
    Views
    7,903

    Re: Edit Box SetBkColor

    Actually I have tryed to put this code inside a "case WM_CTLCOLOREDIT", but I am not sure how to make it work!!

    I am trying to find something around...
  14. Replies
    5
    Views
    7,903

    Edit Box SetBkColor

    Anyone can tell me why this code does not work. The only thing that comes out is that the editbox becomes grey??
    I am missing something??

    {
    PAINTSTRUCT ps;
    HWND htest = GetDlgItem(hDlg,...
  15. Replies
    8
    Views
    4,694

    Re: when using multithread function - error

    I (I mean, you) have found the problem...I call the same routine from both threads...

    I have forgotten that I am constantly calling this function from the main thread in a pooling process...

    I...
  16. Replies
    8
    Views
    4,694

    Re: when using multithread function - error

    Yes, it could be...I am not using any protection but when I run this new thread I do not do nothing on the main thread, I just wait...(but pehaps it is not enough)

    now I send some files of the...
  17. Replies
    8
    Views
    4,694

    Re: when using multithread function - error

    That could be a problem with my class...

    When I get the routine inside the function I am calling (send_1000long_pulse) from the ThreadFunc and put it direct inside the ThreadFunc it works...
  18. Replies
    8
    Views
    4,694

    Re: when using multithread function - error

    I am new in multithread (I am using it for the first time) and I really believe that the error is something simpler that it seems...

    It could be that I am using a library that doesnt work well in...
  19. Replies
    8
    Views
    4,694

    Re: when using multithread function - error

    Ok, The program is very big then I will send part of it.

    The function with problem is (inside pulse_cpp):
    bool Sb_Actel::send_1000long_pulse(int node_id)
    which I programed to send actually 100...
  20. Replies
    8
    Views
    4,694

    when using multithread function - error

    It is happening something that I can not understand. When I run a function which injects 100 pulses (using external electronics...) from my main program it works properly but When I do the same using...
  21. Thread: multithread

    by rafraf
    Replies
    2
    Views
    638

    multithread

    Until here I have used only this rotine in order to make my program work properly

    while( ::PeekMessage( &msg, NULL, 0, 0, PM_REMOVE ) )
    {
    if( !::IsDialogMessage( g_hMDIClient, &msg ) )
    ...
  22. Replies
    7
    Views
    548

    Re: Problems with drawing.

    try to use it like this...and tell me if it works (I am also curious), I had a problem like this some time ago and I could solve in this way...I dont know why...if anyone knows please write us.
    ...
  23. Replies
    2
    Views
    860

    Re: picture control to use a a 2D graph

    Thanks,
    It was easy like this...shame on me....
  24. Replies
    2
    Views
    860

    picture control to use as a 2D graph

    Hi,
    I am trying to build a 2d graphic in my program. I started using the picture control, using it as rectangle.
    What I am not being able to do is to get the size of this window (picture frame)...
  25. Replies
    8
    Views
    718

    Re: open file window (open...)

    This discussion was very usefull
    Thank you all,
Results 1 to 25 of 39
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured