My probleme is simple...
I Run my Appli, No pb!
But when I terminate It, Either by close the Main window or by sending the WM_QUIT signal or by calling the
Application->Terminate() function
My appli calls a function Application.Free (in Controls.pas)
And in this function the GetHandle function...
I've got a PageControl in my main form with 5 TabSheets!
One of these is there to acquit errors...
Errors are controled by a thread that waits an event.
When The event is set The active sheet is errors and messages appear in a Memo, buttons are enabled by the event
When an error occurs, all is...
Here is a little code:
HANDLE hThread;
...
hThread=CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)ThreadFunc,(LPVOID) Param,0,ThreadID);
...
void ThreadFunc(LPVOID Param)
HANDLE hEvent;
hEvent=CreateEvent(NULL,FALSE,FALSE,NULL);
ResetEvent(hEvent);
WaitForSingleObject(hEvent,INFINITE);
...
I never...
What I would like to do is to execute an appli on a Computer and to debug It on another.. of course the two Computers communicate by TCP/IP.
It is very important because this appli can execute only on this computer!and I can't install Builder on it.
Is there a way to do that?
When I make a project the logical internal errors of the compiler appears, When I Build my project, It disappear (for twice ...)
How Can I avoid it? where does it come from?
I've created a chained list class, and I use it like a fifo.
In it, I put a class with an int inside. But if I push a value in the stack and immediatly I Pop It, the int value has changed (from '3' to '-12..... (don't remember the exact value but I think in Hexa it looks like FFFFFFFF)) why?
When I Compile my appli, It works... the first time I execute it. If I Quit my appli, and I restart it, it doesn't work anymore... (Semaphores don't work correctly, drawing functions are called twice instead of once, pointer values change when it wants (not when i decide it), Constant values...
How Should I do to change a ControlStyle property in a CheckBox ( it is a pascal property and in C++ it is not TcontrolStyle type but Controls_8 or smthg like that)
I Use objects in VCL , and there are places in the code where I call the OnClick Event. I d'on't want the object to respond to the mouse click but It must respond to my calls.
I want the object to be displayed as if it was enabled.
Is there a way to do that?
Please answer quick
I've got a real problem with the Sleep command:
The Sleep performs before the trts that are written before in the Same Bloc
if (Condition)
{
trt 1...
Sleep(xxxx);
trt2....
}
The Sleep command performs before 'trt1'
What does it come from?
What can I do to prevent from...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.