|
Hi All,
I don't understand when i need\can use the function select in TCP\IP develop
( winsock use) i understand how to use it - but when to do it i don't know.
If there is some example - i will happy to have the link.
Thanks for any help.
|
|
|
|
|
AFAIK you need the select "to pump" the TCP/IP traffic. So you got to call select in a timed loop. You should do the winsock stuff in a separate thread.
Thats the most I know about this.
Greetings from Germany
|
|
|
|
|
I need to distinguish between the windows shutdown and restart commands given by the user ,using VC++ code. Can anyone help me with that? To identify which event is taking place.
Thanks for ur help and time !!!
|
|
|
|
|
I think the WM_ENDSESSION message will help you. Another interesting WM ist WM_POWERBROADCAST for power events.
Greetings from Germany
|
|
|
|
|
sir,
we are not able to access part-ii and part-iii.
we didt get any link to access above mentioned.
please suggests to do the necessary
Geetha.P
|
|
|
|
|
WTF are you talking about ?
|
|
|
|
|
p.geetha wrote: we are not able to access part-ii and part-iii.
What about part-i?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
DavidCrow wrote: What about part-i
part-i has been deprecated. Users developing new applications should use part-ii and part-iii
Mark
|
|
|
|
|
Hi all,
I am working with backup application and i am new with this.I have little bit idea about storage domain.
now I have to implement differential and increamental backup policies.
that is why i want to study with that.
can any body provide me links for these algorithm document.
Thanks & Regards
Bankey khandelwal
|
|
|
|
|
The "standard" way when you do a full backup is to clear (reset) the Archive flag for every file backed up.
Then, when you do an incremental backup, you just backup the files who has got its Archive flag set (because those files has changed since the archive flag was cleared by the last backup).
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
thanks for quick reply,
is there any application which is allready implemented these policies.
so i can implement these policies with the help of this application.
Thanks & Rgards
Bankey Khandelwal.
|
|
|
|
|
As far as I know: All of the existing backup programs!
Backup policies is the reason for the sheer existance of the Archive flag.
The OS always sets the archive flag when writing to a file (of any kind).
The reason for that is to signal that the file is altered/created and in need of a backup, incremental or not.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
I am trying to create text using OpenGL in a VC++ project, but i am not able to do it.I created text using device context,but it is not relevant.So if anybody can provide me some important link or code for that,please forward it as soon as possible.
My ID: pankaj_theangel@yahoo.com
|
|
|
|
|
|
what is wrong ? what is wrong with my code ? is not working !! Please help me !!!!!
pBun->Edit();
sTemp = m_list.GetItemText(i,21);
sTemp.TrimLeft();
sTemp.TrimRight();
pBun->m_rcd12 = sTemp;
pBun->Update();
pBun->Move(AFX_MOVE_REFRESH);
m_log2.SetWindowText(pBun->m_rcd12);
pBun->Close();
delete pBun;
is not working !!!!please help me , all i whant is to edit a field in my column->table!!!!!
Bravoone
|
|
|
|
|
What does 'not working' mean ? This is full of MFC calls, without knowing what the objects are, it's very hard to comment. Even harder when we don't know what's going wrong.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
CDatabase_Mydatabase *pBun = new CDatabase_Mydatabase;
CRecordset !!!!
its call from my CDialog !
where i have 1 CEdit and 1 CListCtrl ;
Bravoone
|
|
|
|
|
Why this:
pBun->Move(AFX_MOVE_REFRESH);
Have you stepped through in debugger?
Is sTemp valid before copying it to the field variable?
Any exceptions thrown from database classes?
Is the recordset cursor on a valid record when you call Edit()?
What is happening or not happening that makes you think it's not working?
|
|
|
|
|
yes is on Cur record but no changes on record field after i finish!
lets say forget about pBun->Move...
its still not working no exceptions , no errors,nothing but my records are the same !
Bravoone
|
|
|
|
|
i have an error from my database :
SQL statement too long ! what is that ?
Bravoone
|
|
|
|
|
There is nobody who can help me , please !!!!!!!!!!!
Bravoone
|
|
|
|
|
hey, can't you wait a little ???
most people here are either t work, or still sleeping, so wait at least one day to be sure that nobody can answer.
since then, ask yourself WHY people didn't answer your question. it can be because no one is able to, but also because the question is badly formulated...
in any case, wait dude !! 2 hours is really a too small time span for a forum
|
|
|
|
|
ok !
i have another question !
what is that mean ?
SGL : Statement too long !
this is what i have when i access the database !
this is my code :
CDatabase_Mydatabase pBun;
...............................
//this i found the field
//now all i wanth is to replace a field from my database with sTemp + the field !
pBun.Edit();
m_city.GetWindowText(sTemp);
pBun.m_rcd12.Replace(pBun.m_rcd12,pBun.m_rcd12 + sTemp);
pBun.Update();
pBun.MoveNext();
pBun.Close();
but is not working i have this error:
SQL : Statement too long;
Bravoone
|
|
|
|
|
You shouldn't be calling Edit()/Update on a CDatabase object. Should be a CRecordset.
You haven't shown yet perhaps the most important part - the query (and/or recordset open).
I'll try and help as fast as I can but I had to sleep
|
|
|
|
|
The database is open and after that close.
but what is wrong ?
i have this message: "SQL : statement too long"
Bravoone
|
|
|
|