KongHL wrote:
Is it possible to open and access/process information in cemapi.vol? or is there any other way to read sms that is already received in phone?
i am not sure, but i get the feeling that u have asked the question in wrong forum. :)
vijay.
KongHL wrote:
I do not know how to start
Start Here[^]. There are tutorials, starter kits, etc.
Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா
KongHL wrote:
The problem is i created the browser in a dll (in a thread).. when i tried to terminate the thread, the browser is not closed via the quit() function. Hence I am trying to close in in the main program.. but this way, i dun have the instance of it.. I need to find it and close it right?
Why Not have that Variable of Webbrowser as Class member and pass the current instance of class object to thread, and using that Variable so that you can manipulate the browser from teh Main program.. don't forget to add CoInitialize(NULL)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You
Yes you are right:-), Its a bad idea, depending on the situation. But the programmer know what he wants, and aware of the conditions. if the condition is according to you then we can use thread instead. But I think still I can make it to work.
void OnShowWindow(){
// here I set timer
SetTimer(....);
// Then the database connection
// Its long enough 1 sec
// problem .....
return;
}
second case
void OnShowWindow(){
// Then the database connection
// Its long enough 1 sec
// here I set timer
SetTimer(....); // less chance of problem
return;
}
It depends on when you set the timer. But I still agree with you that its a bad idea. But is one of the solution depending on the situation. Regards Anil -- modified at 5:25 Friday 2nd June, 2006
Depends on what you mean by "loading". The OS loader is going to load a DLL so fast you don't need to show progress. Now if you initialization stuff in the DLL (like running database queries) that you want to show progress for you have to supply an interface for obtaining that progress information. There is no magical way to show progress because, progress of "what". You have to account for the knowledge of the "what". That is your job as a programmer. It is sometimes referred to as "the domain". Check it out[^]
KongHL wrote:
how am i going to use the AfxBeginThread??
Like this: AfxBeginThread(CRuntimeClass* pThreadClass, int nPriority, UINT nStackSize, DWORD dwCreateFlags, LPSECURITY_ATTRIBUTES lpSecurityAttrs) :rolleyes:
--[V]--
[My Current Status]
In GDI+ Graphics class there is a function called MeasureString() which could compute the bounding rect The DrawText function GDI can also do the same nave
CImage m_Image; m_Image.Load("d:\\picture.bmp"); in the function OnPaint(event WM_PAINT) CPaintDC dc(this); // device context for painting BitBlt(dc.m_hDC,0,0,800,600,hdc,0,0,SRCCOPY); dc.TextOut(40,40,"test",5);
Without using Word, you'll need to know the format of a .doc file. See http://www.wotsit.org/[^] for this.
"The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli