|
Standard C++ don't even mention threads.
C++ container classes should not be "thread safe" due to the inherent overhead it would create for everyone. If you want to access a container instance from multiple threads, you have to provide your own locking.
|
|
|
|
|
I like SourceSafe's file comparison feature and the way it displays differences much better than other products such as WinDiff. Unfortunately, we'll be dropping SourceSafe for something else for our next project, and we'll have to use WinDiff or whatever else we can find that does an ok job.
My question is: if I leave my copy of SourceSafe on my computer, is there a way I could somehow use the VSS protocol (or whatever else) from a program that I would write in order to use SourceSafe's file comparison feature? Would it be possible to compare two local files or would I need to add the file to SourceSafe first?
Thanks for any information you can provide!
|
|
|
|
|
if you want the best diff utility there is, get a port of unix "diff" for Win32. diff is so powerful it's almost alive.
STL is a religeon. Enquiries to Reverend Christian Graus
|
|
|
|
|
From what I remember, VSS implements a standard protocol known as RCS. So yes, with that in hands, you may get docs on how to read the VSS database by yourself.
Though chances are that in the end MS made the database proprietary for odd reasons such like security and scalability.
If you could do a diff with Araxis Merge, you would end much better I tell you.
MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site. Support for development will ship at the same time as the Windows XP Service Pack 1 (SP1) release.
|
|
|
|
|
I use Windows Commander's "Compare by content" feature to compare single text files.
Pavel
Sonork 100.15206
|
|
|
|
|
|
i m having a problem in loading my customised bitmap(coloured) as cursor in my exe
i inserted a coloured bitmap in resource and & called LoadImage (...)
But did not get correct results
i can get a monochrome bitmap loaded but while loading a coloured Bitmap the function fails
Plz suggest me some solution to it
|
|
|
|
|
Hmmm! should not fail unless you not using correct parameter. Try using LR_DEFAULTCOLOR for colored bitmap or post some code with values for your LoadImage call.
I am in YYY
|
|
|
|
|
i tried it , but it didnt work
i tried it like this also
HCURSOR nCursor;
nCursor = AfxGetApp()->LoadCursor(IDC_CURSOR1);
SetCursor(nCursor);
here i created IDC_CURSOR1 as a monochrome cursor then it worked but when i created a coloured corsor it didnt work
|
|
|
|
|
Is an icon just a bitmap file of a certain size and color depth? The reason I'm asking is cuz I have Paint Shop Pro and it won't open up an .ico file for editing.
Was wondering if I could take a bitmap file and scale it down to the size of an icon but if it's a different format I'd need to know that. If it isn't then I can just save it as a bitmap and rename it to .ico extension.
|
|
|
|
|
VC+ 6 will edit icons. The difference is they have areas which take on the background color an areas which are transparent, but I think they are essentially a bmp.
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002
|
|
|
|
|
|
Oh and to clarify:
An icon is a series of multiple bitmaps with varying sizes and color depths. All the bitmaps are stored in a single file with additional header information.
Theoretically you could extract or inject a single bitmap provided you manipulate the header information correctly.
|
|
|
|
|
So, is there a decent icon editor that also imports bitmaps? I don't really want to design an icon in VC6. I'm used to using PaintShop Pro. I basically want to create or find a larger image and shrink it down to the size of an icon and then save it as an icon.
I guess I could do this in Paintshop Pro and then copy and paste it into VC6 right?
|
|
|
|
|
This would work but you'll most probably lose your custom color palette so all the colors will seem wrong.
Have you tried Microangelo yet? That's quite a capable icon editor - you might be able to do what you want with that. I don't have the link but you can google it.
|
|
|
|
|
as an icon editor u can use borland C's Workshop
this gives u the editing of icon is any size & then can expand or shrink it to any desired size,
though i didnt use it for icon editing , i used it for Font editing & it gave me gr8 results
surbinsho
|
|
|
|
|
use thios cool soft : http://www.aha-soft.com/articons/
rrrado
|
|
|
|
|
Thanks, guys!! That ArtIcon s/w was cool!!! I was able to design an icon, cut, paste it into VC6 and also switch it from 32x32 to 16x16 in less than an hour.
|
|
|
|
|
Hello,
I have a listcontrol with check boxes.How can i programmatically check an item???
|
|
|
|
|
If you are using CListCtrl to control the list control, use the GetCheck() and SetCheck() methods. If you are using straight Win32 API calls, use the ListView_GetCheckState() and ListView_SetCheckState() macros.
Gary R. Wheeler
|
|
|
|
|
I want to use 24bit res bitmaps in my Visual C++ 6 projects, but unfortunatly they don't load because of some limitation. Does anyone know how to get around this and be able to use 24bit bitmaps?
Thanks in advance, VC++ Gurus!
|
|
|
|
|
You can use them fine, you just can't look at them or edit them within VC++
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002
|
|
|
|
|
is there a wordwrap feature in CListCtrl, so when your data gets longer than the available width, it would break and add a new line?
|
|
|
|
|
Word wrap depends upon the view. In icon view, text wraps it it's too long, unless you've set the LVS_NOLABELWRAP style. The other views don't wrap text at all. If you need text wrapping (for example, in report view), you woudl have to use custom draw.
Gary R. Wheeler
|
|
|
|
|
This executable is used to generate unique identifiers, or GUIDs, that identify classes, objects, and interfaces.
Why can I not use just a random number or something of that sort instead of using an identifier generated by GUIDGEN for doing stuff like creating a mutex etc?
Thanks!
|
|
|
|