|
http://www.codeproject.com/internet/mimecpp.asp
u may search project in codeproject...it really helps u....
|
|
|
|
|
HOW TO WRITE A PROGRAM AS SYSTEM CONFIGURATION UTILITY
|
|
|
|
|
Just a hint here : common Netiquette says, that writing in capitals is basically like SCREAMING in the real world. You don't go into some crowded room in real life and just scream out your question, right ? So please don't do it. It really sucks.
As for your Question : I think you should get a clear idea of what you want in your head first, maybe write some diagramms on some real paper, and then ask some specific questions.
|
|
|
|
|
1. Get all the information available you can about what can be configed.
2. Design a a GUI.
3. Write the code.
4. You are done. Simple as that.
If you decide to write the code in VC++, and run into specific problems, come back here and ask for a solution.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
|
Thank for your help. Can you tell me detail? How to write a msconfig? I don't know how to write. It's difficult
|
|
|
|
|
what do u want ... do u want to display System configuration utility dialog box by clicking button ..i know msconfig is the exe but what u want is not clear for me ...plz be specific..
|
|
|
|
|
I want to write a program similar msconfig. Can you give me information to write this program
|
|
|
|
|
for this first u have to understand registry ....and where we find exe in registry ....for this u use ....start->run->regedit ....
and understand how registry works ....
than u use service function ....to implement anything in registry ....u may find service function in google ....
ok may be it will help u ....
|
|
|
|
|
|
can anyone knows the algorithm of converting text to speech specially for hindi language ...i got the solution for english language ..some people made this project by using ..."vtxtauto.tlb"..but i want to make my own dll plz help me out ....
Thanks in advance
|
|
|
|
|
Hi again
I have a Win32 application that compiles and runs fine in debug, but when I build the release version, it comes up with the following error:
[Filepath] : fatal error C1010: unexpected end of file while looking for precompiled header directive
It does this 8 times for different files in the app.
Also what is the difference between a release version and a debug? I assume that the release version will be smaller and run faster. There isnt really a problem with size as the app will be on a harddrive, and the debug version seams to run fast enough so that doesnt cause a problem. Is there any issues in supplying a debug version to a customer as opposed to the release copy?
Thanks for looking!
69 Bay
|
|
|
|
|
That is because your project properties are different for the debug and for the release version (all the properties are completely different for the several versions). Just disable use compiler header in the settings.
For VC2005, go into project properties -> 'C/C++' -> 'Precompiled Headers' -> choose 'Not Using Precompiled Headers' in 'Use Precompiled Headers"
69 Bay wrote: Is there any issues in supplying a debug version to a customer as opposed to the release copy?
Yes, it is illegal . You cannot distribute the debug version of the microsoft dll's. It contains some debug information and thus cannot be distributed.
|
|
|
|
|
Hi Cedric
Thanks for your advice
Just done this in VC++ 6.0. It took a bit of digging to find the pre-compiled header settings , but I got there! Deselecting this resolved this issue (introduced other though, which I have now fixed) and heh presto, got my release version.
The size is a 1/4 of the debug version. Does a 'Release' version run faster than a 'debug' version?
Thanks for your help
69 Bay
|
|
|
|
|
69 Bay wrote: Does a 'Release' version run faster than a 'debug' version?
Normally yes but in general it is not really noticeable. Except if you do some heavy computing, then the difference is obvious.
|
|
|
|
|
69 Bay wrote: fatal error C1010: unexpected end of file while looking for precompiled header directive
Most of the time when you forget to include your precompiled header file then you get this rather cryptic message.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
69 Bay wrote: Is there any issues in supplying a debug version to a customer as opposed to the release copy?
No, but keep in mind that you cannot distribute the debug version of the DLLs (e.g., msvcrtd.dll). Have you considered statically linking with the libraries?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hello,
I would like to display a small icon in a dialog box.
For this, I use an icon control, i.e. a static control with the styles SS_ICON and SS_CENTERIMAGE. I then load the small icon and associate it with the static control using the following code :
int cx_smicon = ::GetSystemMetrics(SM_CXSMICON);
int cy_smicon = ::GetSystemMetrics(SM_CYSMICON);
HINSTANCE hInstance = g_hInstance;
if (szResource == IDI_WARNING ||
szResource == IDI_ERROR ||
szResource == IDI_INFORMATION)
hInstance = 0;
HICON hIcon = (HICON) ::LoadImage(hInstance
, szResource
, IMAGE_ICON
, cx_smicon
, cy_smicon
, LR_SHARED);
::SendDlgItemMessage(hWnd, IDC_ICON
, STM_SETICON
, (WPARAM) hIcon
, (LPARAM) 0L);
The above code displays custom icons correctly (with the desired size 16x16) but standard icons are always displayed using the standard size 32x32.
I don't understand what I'm doing wrong.
Have someone already encountered this problem ?
Thanks for your help.
|
|
|
|
|
Are you supposed to use LR_SHARED with images loaded from a file?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
When I use VC6.0,I find that:
float value=33.4;
DWORD temp=33;
value=value-(float)temp; or value=value-temp;
Then value will be 0.4 in theory. But in face it is 0.400002 in vc 6.0.
Why is it? is it a bug of VC6.0 or CPU?
|
|
|
|
|
Because,in fact,the float or double is not always preciously number when it store in the memory.
|
|
|
|
|
That's life with floating point arithmetic. Just like 1/3 can't be represented in decimal without an infinite number of decimal places not all numbers can be represented exactly in base 2 with a fixed number of binary places.
If you use double s to get more precision the answer comes to 0.39999999999999858 which is closer to the ideal.
On a sererate issue, lose the float cast: it's not needed and is bad form.
Steve
|
|
|
|
|
Hi~~~ I have a question about Clipboard.
WM_DRAWCLIPBOARD message is notified when the clipboard data is changed.
Then how do I sniff that the message of paste is sent to clipboard??
Please help~~~
C++
-- modified at 3:03 Friday 29th September, 2006
Alpha and Beta
|
|
|
|
|
I dont think it is possible as the paste operation shud be strictly b/w the paster and the pastee. As for copy and cut they are notified as the clipboard is a common data repository for all the applications and seriously i fail to understand the usage.. anyways if someone know anything about this enlighten me too!
|
|
|
|
|
What is wchar_t used for? How can I create a wchar_t string?
modified 9-Mar-17 17:09pm.
|
|
|
|