Type: Posts; User: rafraf
Search took 0.01 seconds.
April 27th, 2006, 04:29 PM
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;...
April 27th, 2006, 03:06 PM
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!!??
October 24th, 2005, 08:38 AM
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 ?
October 24th, 2005, 08:11 AM
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...
October 21st, 2005, 10:46 AM
yes!!! it works!!
October 21st, 2005, 09:54 AM
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??
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:
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...
here it goes
int node = GetDlgItemInt(hDlg, IDC_COMBO_ELMB, NULL, NULL);
int time = GetDlgItemInt(hDlg, IDC_TH_SCAN_TIME, NULL,...
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,...
I do not understand why my program blocks when processing a long routine eventhough I use CreateThread...any clue??
m_hThread = CreateThread( 0,
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:
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...
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??
HWND htest = GetDlgItem(hDlg,...
February 23rd, 2005, 09:08 AM
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...
February 23rd, 2005, 07:59 AM
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...
February 22nd, 2005, 09:39 AM
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...
February 22nd, 2005, 04:31 AM
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...
February 21st, 2005, 01:58 PM
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...
February 21st, 2005, 01:19 PM
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...
February 21st, 2005, 06:17 AM
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 ) )
February 16th, 2005, 06:24 AM
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.
February 16th, 2005, 06:15 AM
It was easy like this...shame on me....
February 14th, 2005, 11:35 AM
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)...
February 8th, 2005, 04:41 AM
This discussion was very usefull
Thank you all,
Click Here to Expand Forum to Full Width