|
Does eMbedded Visual C++ 4.0 support ATL-OLEDB Consumer classes e.g., CCommand, CAccessor etc. Need to port a component that extensively uses these classes to Windows CE .NET platform?
Thanks in advance
|
|
|
|
|
How do you get the path/names of special folders on a computer? Like "desktop", "temp", "favorite" etc? I tried to look them in MSDN but only found ::GetSystemDirectory. Thanks.
|
|
|
|
|
SHGetSpecialFolderLocation() or SHGetSpecialFolderPath()
CPUA 0x5041
Sonork 100.11743 Chicken Little
My pet, My pet stick
Nicer than a twig
Cooler than a rock.
(Microsoft ad)
Within you lies the power for good - Use it!
|
|
|
|
|
how can i group my command buttons and perform the same function
|
|
|
|
|
How to distinguish from MO,Zip and Card reader except find out there lable. Because there are the removeable device,I have trouble of them.
Could you help me?
Thanks a lot.
mail:cshung@email.geniusnet.com.tw
|
|
|
|
|
Hi!Everybody.
The normal tree are just like this:
root
+sub1
+sub2
+subsub1
Do anybody known about a tree which is right to left construct?
like below:
root
sub2+
sub1+
subsub1+
a strange question8)
Thanks in advance!
i am realfly8)
|
|
|
|
|
This it?
<br />
TVS_RTLREADING <br />
Version 4.70. Causes text to be displayed from right-to-left (RTL). Usually, windows display text left-to-right (LTR). Windows can be mirrored to display languages such as Hebrew or Arabic that read RTL. Typically, tree-view text is displayed in the same direction as the text in its parent window. If TVS_RTLREADING is set, tree-view text reads in the opposite direction from the text in the parent window. <br />
Just a suggestion (if you haven't already tried. Just go into Visual Studio help and search for the object (in this example CTreeControl)
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
Thanks for your reply.
That's not what i want.
sorry for my ambiguous figure. what i mean is a reverse tree. just like a mirror of a tree like below:
root root
+sub sub+
+sub sub+
i am realfly8)
|
|
|
|
|
I can't seem to find anything else so you will probably need to subclass CTreeCtrl and draw it to your specifications. Sorry I couldn't be of more help.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
Thanks for all reply, I found an vcl component for delphi and c++ builder.
Can I use it in visual c++? and how ?
i am realfly8)
|
|
|
|
|
If you have delphi or c++ builder maybe but I don't really know. Sorry.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
Hello guys,
I would like to create a program that can compare lots of files in different folders and find the identical files. If I compare it byte by byte for each file it's going to take a lot of time. Do you have any good idea?
Regards,
Hiu Sing Ngai
http://www.firegraphic.com
|
|
|
|
|
you could generate a hash value for each file using a cryptographic hash function. then, just compare the hash values. it will always find matches, though it has a possibility of also finding false positives (in case two different files work out to identical hashes), but the odds are low.
-c
To explain Donald Knuth's relevance to computing is like explaining Paul's relevance to the Catholic Church. He isn't God, he isn't the Son of God, but he was sent by God to explain God to the masses. /. #3848917
|
|
|
|
|
If one uses the MD5 hash algorithm then the odds are practical zero.
Best regards,
Alexandru Savescu
|
|
|
|
|
Why not compute the CRC32 value of each file?
You can find this algorithm Here
If 2 files are identical, they have the same Checksum value (32 bits)
Hello World!!!
from Raphaël
|
|
|
|
|
Well firstly just compare files on file size, and then only do an actual contents comparison if the two files have exactly the same size. This should speed it up quite a bit (unless all your files are the same size, that is)
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
First Sort file list by size (smallest first)
Then for each file, compare against others in list. If size is different, move to next file (do not compare other files in list - no need since you have already sorted by size)
If sizes are the same, then compare contents.
I have already written a little utility to do this myself and I can email you the source if you like.
Paresh Solanki
"Set you're faces to stunned..."
|
|
|
|
|
you should determine the crc or the checlsum of each files and then compare them...
|
|
|
|
|
Now I want to made a dialog which can preview some image files such as bmp,jpg and so on.
Then I found an ActivexContol named Thumbctl which looks very good. but it dosent work. I cant insert it to my VC++ project. the Error is"unable to open the activex control,make sure the control contains a valid type library", I have tried this in diffrent pc and got the same result.
my system" windows XP, IE 6.0"
I need help. thanks a lot
<--MFC-->
|
|
|
|
|
have you tried contacting the authors of Thumbctl?
-c
To explain Donald Knuth's relevance to computing is like explaining Paul's relevance to the Catholic Church. He isn't God, he isn't the Son of God, but he was sent by God to explain God to the masses. /. #3848917
|
|
|
|
|
How can I do anything with pdf files? Is it
possible to open the file and read in a row of
pixels?
Please, any response any one can give me will be greatly appreciated.
Sincerely,
Danielle (an overworked graduate student)
|
|
|
|
|
|
A pdf file isn't an image file, so it doesn't contain pixel descriptions, instead it contains descriptions of where to lay stuff out. if you need a line of pixels, then you'll need to load the whole pdf file, render it to a bitmap, and get the line from there
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
well ppl!
i have got a real trouble here ,
i am trying to send the 'APPE' (Append) to a FTP server
the other commands like REST or TYPE go well but the data storing or retriving commands give error
WINSOCK error 10038 - socket operaton on non-socket
what to do about it
how to remove it so that i be able to send some data !
PLZZZZZZZZZZ help me
|
|
|
|
|
Hi all,
I'm looking to make a list of common code bugs so I can toss the basic code into a c++ console app and compile so I can practice debugging.
Please let me know if this is a stupid idea.
Jeff
newb: Jack of all Trades
|
|
|
|