|
It's a goog question and it have been discussed a few times, here on CP, over the years.
I guess people just do it as they want to. As far as I remember most people agree'd that the first is major version, and the second is minor version and the last is build. The third I cant remember...
Like 1.2.0.77
version 1.2 build 77
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
i don't know if there's a standard. but, i do it like this:
A.B.C.D
for applications:
A = major revision. there's a good chance that most of the interface and/or internals will be new
B = update . a new major feature has been added. this is the kind of feature that i would list on the product's web page.
C = minor update . a minor feature was added. this might be just a new check box or option in a drop down somewhere.
D = bug fix.
-c
Image tools: ThumbNailer, Bobber, TIFFAssembler
|
|
|
|
|
thanx, i was also looking for the same stuff
|
|
|
|
|
Thanks everyone, It looks like I've got my answer! no standard
I suppose I might as well throw in my own usage.
In the past I've only used three fields, and here's how they've been defined...
Ver A.B.C
Where
A = Major "Generic"... a generic is a set of defined features.
Not all features of a Generic have to be present in the initial release.
B = A subset of the generic that pulls in more of the defined features.
C = Bug Fixes
Example...
The initial release of a product would be 1.0.0, and might include 6 of 10 major features that are targeted for that Generic. 1.1.0 might include 8 of 10 features, and 1.2.0 all features.
Along the way, you would have bug fix releases that would increment the third field.
Just my two cents.
|
|
|
|
|
The linux kernel uses this standard:
A.B.C.(D)
A - Major revision number
B - Minor revision number, where:
Even numbers indicate "stable" releases
Odd numbers indicate "development" or "beta" releases
C - Major patch level
D - Minor patch level
This convention has been adopted by most of the linux community, and is used by many other developers as well.
/moliate
The corners of my eyes catch hasty, bloodless motion -
a mouse?
Well, certainly a peripheral of some kind.
Neil Gaiman - Cold Colours
|
|
|
|
|
I use DiectX 8.1 SDK, I don't know how to load an image with a transparent color. Please help me.
Thank you very much.
|
|
|
|
|
Isn't there a sample called donut in the SDK ?
|
|
|
|
|
I want to add text into this view without using a CHtmlEditDoc. This is what I have tried in my class which is derived from CHtmlEditView(Note the Uppercase HTML):
void CHTMLEditView::SetHTML(CString sHTML)
{
SetWindowText(sHTML);
}
Everything runs fine but the text does not show up. This function is called before I show the view. Any suggestions would be appreciated.
Matt (Padawan Learner)
|
|
|
|
|
SetWindowText has a different purpose than adding html content in the view.
Even calling SetWindowText on a CView is doubtful since there is no caption in a CView.
|
|
|
|
|
I went back to see if I could get any text into my newly created view like so:
sHTML = "this is a test";
MessageBox( sHTML );
SetDocumentHTML( sHTML );
It only updates the view if I have MessageBox( sHTML ); in there, so I need to get my view to do whatever the msg box does.
I saw a post where someone had the same problem, but I can't find it now.
Matt (Padawan Learner)
|
|
|
|
|
Tell me, please, how to make such a thing with a CListCtrl like:
I inserted some columns in my List control and you know that it is possible to change column width by a mouse. how to disable this style of list control?
|
|
|
|
|
|
Hey, I'm trying to make an Internet Explorer Toolbar but I'm having trouble installing the software I need, the ATL Object Wizard/Deskband(http://www.codeproject.com/atl/rbdeskband.asp)
I installed it to the correct directory but there is no extra menu item in the Insert menu (its supposed to be New ATL Object). I think the problem is that there is a second part to the installation instructions that I don't understand. (I also installed CWindowImpl ATL Object Wizard but I assumed that worked because it had an installer.)
The second part says "Run the RegSvr32.exe from a command prompt on RBDeskband.dll. RegSvr32 RBDeskBand" After about an hour of fooling around I finally figured out that you have to run an MS-Dos Prompt and type "Regsvr32 RBDeskBand". The thing is that to get it to work they have to be in the same folder. There is no Regsvr32 in the folder that DeskBand is installed to. I searched for Regsvr32 on my computer but I have 4 of them.
Could someone please tell me which one I use and where do I put it?? Thanks for any help!
|
|
|
|
|
Put RBDeskBand where ever you want.. Find the full path to regsvr32.. then drop to a dos prompt or run this from the start->run area (example) "c:\winnt\system32\regsvr32 c:\mypath\RBDeskBand" you may have to use a switch at the end like /i "c:\winnt\system32\regsvr32 c:\mypath\RBDeskBand /i"
Rob
Whoever said nothing's impossible never tried slamming a revolving door!
|
|
|
|
|
I tried that but it still doesn't work. I placed RBDeskBand.dll in the Windows\System folder and then typed (in DOS):
Regsvr32.exe RBDeskBand.dll
Then there is a popup that says: "DLLRegisterServer in RBDeskBand.dll succeeded." The problem is that if I then double click on RegSvr32.exe it says "No DLL Specified" and there is no extra menu in VC++. I am doing this to the RegSvr32 in my Windows\System folder, is this the correct one??
|
|
|
|
|
DuFF wrote:
DLLRegisterServer in RBDeskBand.dll succeeded
That means it worked. RegSvr32 is a utility program that "registers" and "unregisters" COM/ActiveX objects by calling standard functions provided in the object DLL.
If no extra menu appears in VC++, then you've probably missed some other part of the installation process. Consult the original article, or maybe e-mail the author.
Software Zen: delete this;
|
|
|
|
|
OK, I guess it worked but the thing is that I've never been able to use the ATL Object Wizard. For some reason it is disabled on my computer. I have all the files that are used in it, anyone know why I can't use it?
|
|
|
|
|
Hi,
I have a Dialog Based appl made in VC6 and i'd like to detect the Windows Version of the computer where my appl is running... How can i do that.
Thank u very much,
Dirso.
|
|
|
|
|
|
|
How do I delete a directory and its contents? I've tried DeleteFile and SHFileOperation, but with no luck
|
|
|
|
|
|
|
bool SHCopyFile(CString ExistingFile,CString NewFile)<br />
{<br />
bool RetVal = false;<br />
SHFILEOPSTRUCT FileOp;<br />
ZeroMemory ( &FileOp, sizeof ( FileOp ) );<br />
FileOp.hwnd = theDlg->m_hWnd;<br />
FileOp.wFunc = FO_COPY;<br />
<br />
FileOp.pFrom = new char[300];<br />
strcpy((char*)FileOp.pFrom,ExistingFile.GetBuffer());<br />
ExistingFile.ReleaseBuffer();<br />
<br />
FileOp.pTo = new char[300];<br />
strcpy((char*)FileOp.pTo,NewFile.GetBuffer());<br />
NewFile.ReleaseBuffer();<br />
<br />
if(SHFileOperation(&FileOp) == 0)<br />
RetVal = true;<br />
else<br />
RetVal = false;<br />
<br />
delete FileOp.pFrom;<br />
delete FileOp.pTo;<br />
return RetVal;<br />
}
This is the copy code, but the delete code is just like it (except for wFunc and pTo). Actually, I can't get this function to work, either; am I doing something wrong with allocating pFrom and pTo?
|
|
|
|
|