|
If your apps data isn't huge, it's probably easier to just do a full backup, than to track changes. Otherwise, you need to attach a date to any change, and the date that you last did a backup, for comparison.
|
|
|
|
|
thanks for quick reply.
data may be huge so first time i have to take full backup and next time i have to take increamental or differential backup.
so i think i have to implement these three policies if you have any other idea for that please share with me.
is there any application with source in which these three policies are applid to take backup.
thanks and regards
bankey
|
|
|
|
|
*sigh* it's depressing to me how many people say stuff like 'is there any app with full source'. I told you what you need to do, you need to track the date of each change, so you know which date to update.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
I beleive the old fashion way is to reset the Archive flag for every file that has been backed up.
The file system sets this flag whenever a file is opened for write/update.
So an incremental backup just checks the archive flags, and skips the files with cleared archive flags.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
Hi All
I used Dependency Viewer to view all the Exports of the DLLs but found that :
1. It returns only 4 Export functions for each and every ActiveX DLL.
2. It returns all the Export functions for Regular DLLs with argument list and reurn type code(I then decoded it).
3. It only shows the Export function names for all the WIN32 APIs(e.g. msgina.dll) but no coded argument list or return type
Wat I wanna know is that how can i know all the functions of WIN32 DLLs it exports and r they also written in VC++.
Hope somebody reply soon
If this is not the right board for the question do notify
Bye
pitchu
|
|
|
|
|
1. This is usually correct, ActiveX (or more generally, COM) DLLs only need to export a few functions for tasks such as component registration and creation/activation.
2. C++ DLLs normally export including name mangling (also known as decoration) which includes the function signature, so that you (and the linker) can tell one function from another.
3. C DLLs don't use this decoration scheme, so the information is not available. That's why they publish documentation instead , although it is sometimes not as helpful as we'd like it to be.
DEPENDS will do what it can (and won't, as a rule, miss out anything). If you can't see it, it's because the DLL author didn't want you to, or you don't need it/shouldn't have it.
Most of the WIN32 DLLs are written using C, not C++, I believe.
Steve S
Developer for hire
|
|
|
|
|
1. Assuming you mean DllGetClassObject() , DllRegisterServer() , etc. - those are the standard exports you need in a DLL COM server.
2. That's how exports written in C++ look, you're seeing the decorated names
3. That's how exports written as extern "C" look - no decoration so they can be called from plain C code.
|
|
|
|
|
Thnks Steve And Micheal
I was wondering about how to create a DLL (not ActiveX/COM) whose exports are not visible to others.
Once more Thanks
bye
pitchu
|
|
|
|
|
Hi
When we share a DLL among 2 or more applications I think following rules hold true:
1. Only memory for Data part of DLL is Created i.e. new variables for each application and in case of Classes only data
2. Functions of classes or code is kept common and when a call to particular function is made it uses a particular set of data
I will be happy if somebody will say 'NO' and will give reason along with his/her argument
hope to get some reply soon
bye
pitchu
|
|
|
|
|
I want to get the chunk-size in a http1.1 message, who can tell me how to do?
|
|
|
|
|
Hi,
I've implemented a window with 3 different listviews in plain WIN32. Between those 3 there's a little gap. The user can resize these listviews by dragging the gap. I handle this dragging in the WM_MOUSEMOVE message and everything works fine as long as I don't drag too fast.
I think I loose the focus to one of the listviews if I drag too fast. All messages are then sent to the listview instead of the main window.
Someone any idea how I can solve this?
Thanks...
|
|
|
|
|
You can call the SetFocus API to keep focus in your main window.
|
|
|
|
|
You can call the SetCapture API to keep focus in your main window.
|
|
|
|
|
Hey Guys,
I'm working on an SDI project that uses some gif import files. This comes from artwork done with Adobe Illustrator. I am wondering is it possible to import vector graphics into an MFC project and illustrate them?
Best Regards
Danny Nowlan
|
|
|
|
|
If they are vector graphics, they are not gifs.
Yes, they are called Metafiles. Good luck getting them to work.
|
|
|
|
|
If the vector part is where you're confused, if you have raster images that are gifs, read my articles on how to use GDI+.
|
|
|
|
|
I'm Confused, are you importing GIF files or Illustrator native files ( vector )?
if they are GIF, there are tons of code that can be found here or with google that will do this.
if they are Illustrator file, then you will have to do a bit more coding to support vector display in your application, and vector file import; I don't know if Adobe has a SDK to read those files.
|
|
|
|
|
hi
i have two buttons on my dialog and an edit box. i need the buttons to move the cursor in the edit box left and right. how do i do it.its just like the left and right arrow keys of the keyboard. without using WM_KEYDOWN.
thanks
|
|
|
|
|
Preeti Mishra wrote: without using WM_KEYDOWN.
You can use WM_KEYUP or WM_CHAR, if you have an aversion to WM_KEYDOWN.
|
|
|
|
|
Ooops - I misread. The edit box has a property which specifies the cursor pos, I think it's selectionstart, but I could be wrong. That's what you need to change.
|
|
|
|
|
i'm not gettin it.
can you give me the code?
|
|
|
|
|
The other guy is right, I was thinking of .NET. You call GetCaretPos to find out where it is, change the number and call SetCaretPos to move it.
|
|
|
|
|
Preeti Mishra wrote: need the buttons to move the cursor in the edit box left and right.
Take a look at the following functions...
SetCaretPos, GetCaretPos, HideCaret, ShowCaret
|
|
|
|
|
If you really want it to work like left and right arrows, I don't think your want to use the caret functions.
Instead, use EM_GETSEL to find the current position, increment or decrement the postion variable, and use EM_SETSEL to set the new position.
int nStart, nEnd;<br />
::SendMessage( hwndEdit, EM_GETSEL, (WPARAM) &nStart, (LPARAM) &nEnd);<br />
<br />
nStart--;<br />
<br />
or...<br />
<br />
nStart++;<br />
<br />
::SendMessage( hwndEdit, EM_SETSEL, (WPARAM) nStart, (LPARAM) nStart );<br />
If you're using MFC, use GetSel and SetSel.
- S
50 cups of coffee and you know it's on!
|
|
|
|