In my current project I want to convert a tiff file(*.tif) to a bitmap file(*.bmp) but I don't know how to do it.
Do you have any idea on how will I able to do it or knew a thread or post with this topic?
I have simple excel sheet in which i have 2 columns 1)employee name 2) employee id. All the columns having values is in sheet1. Now, my problem is i want to read my excel using code. i don't know how to do it. There are various articles using odbc but i don't want to use odbc. Can nybody tell me how to do it....
I want to convert char string to UTF-8.
How should I use int MultiByteToWideChar() and WideCharToMultiByte() to do such convertion?
And if I should not use the two function to resolve such task,but how should I do?
First use MultiByteToWideChar() to convert the char string from your local code page to wide char, then use WideCharToMultiByte() to convert the wide char string to UTF8. You may use CP_ACP for your local code page, and code page for utf-8 is 1200.
But I've never tried the conversion between wide char and utf-8, so I'm not sure whether it would succeed.
BOOL LimitText( int nMaxChars );
Nonzero if successful. If called for a combo box with the style CBS_DROPDOWNLIST or for a combo box without an edit control, the return value is CB_ERR.
Specifies the length (in bytes) of the text that the user can enter. If this parameter is 0, the text length is set to 65,535 bytes.
Limits the length in bytes of the text that the user can enter into the edit control of a combo box.
If the combo box does not have the style CBS_AUTOHSCROLL, setting the text limit to be larger than the size of the edit control will have no effect.
LimitText only limits the text the user can enter. It has no effect on any text already in the edit control when the message is sent, nor does it affect the length of the text copied to the edit control when a string in the list box is selected.
Hope it helps
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
i am executing pushsource program which is in platform sdk. i am getting some errors while linking. i dont know what to do i have already included strmbasd.lib in the project library and the path is also set.
can any one help me how to get rid of this errors.
the following errors i am getting.
LINK : fatal error LNK1221: a subsystem can't be inferred and must be defined