Hello Experts I want to programmed a project that should be worked for ASCII as well as UNICODE.What things i have to keep in mind.Please tell me. I am using VS2003.
manu
Hello Experts I want to programmed a project that should be worked for ASCII as well as UNICODE.What things i have to keep in mind.Please tell me. I am using VS2003.
manu
ya coding in c++ VS2003.
manu
Hi I have used many times calloc().But this time it is going fail. What may be the reason when calloc() fails(return bad pointer) Thanx
manu
ya project unicode aware , if i do't write LPCSTR it generate compile time error. "error C2664: 'CreateDirectoryA' : cannot convert parameter 1 from 'WCHAR *' to 'LPCSTR'"
manu
Hi int result=CreateDirectory(LPCSTR(Dir_Name),NULL); The above statement return 0 if i use WCHAR pointer(Dir_Name). why ?
manu
Hello Experts I have a file but it is unicode support. I want read the byte as character.Then what type of buffer i have to take. (may be byte or not) and what will be the variable the hold the character.(may be char or not)
manu
But m_pbytFileBuffer is of Byte *(to hold the bytes)
manu
WCHAR *m_pbytTemp=new WCHAR[From-To+1]; memset(m_pbytTemp,0x0,From-To); memcpy(m_pbytTemp,&m_pbytFileBuffer[To],From-To); m_pbytTemp[From-To]=L'\0';
manu
Hi I have a array of WCHAR type and my data is in buffer in unicode format whenever i try to read byte from buffer it add some nonprintable character at last . And if i try to read byte in char array it just display only first character. what is the reason
manu
HI
manu
HI Experts How can i handle the return value of this function inline iRDOStoresPtr IRDOSession::GetStores ( ) { struct iRDOStores * _result = 0; HRESULT _hr = get_Stores(&_result); if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); return iRDOStoresPtr(_result, false); }
manu
ya i also use
manu
ya after including the afxwin.h it produce the same error.
manu
Ya it is in default include directory. Even i not include the .h file it produce the same error. I have VS2003 and project type is win32 console project. Is this create any problem ?
manu
win32 console project
manu
still the problem remains same. I also write a small program that uses 'COleVariant' class. It also have same problem Plz check it to wtite a hello program Plz. I got confused what the problem is . Plz suggest me.If ur code succedd plz send me . Thanx in advance;
manu
void CMyDoc::CreateIEObject() { m_pIE = new CWebBrowserApp; // this is a COLeDispatchDriver derived class... GOOD m_pIE->CreateDispatch("InternetExplorer.Application"); // GOOD COleVariant noArg; // this does not work // BAD! m_pIE->Navigate("www.yahoo.com", noArg, noArg, noArg, noArg); // BAD! m_pIE->SetVisible(TRUE); // GOOD } The function is supposed to instantiate an IE browser and go to the webpage specified in Navigate. I get the following compile errors: : error C2065: 'COLeVariant' : undeclared identifier : error C2146: syntax error : missing ';' before identifier 'noArg' : error C2065: 'noArg' : undeclared identifier I have included in file. I have verified that COleVariant is defined in afxdisp.h. What could I be doing wrong? manu
manu
i have also vs2003.can u tell me how to write it .
manu
Plz tell the solution Thanx in advance
manu
Plz help me .My project is near to end .I am just waiting to rectify this error.Plz tell me Either I have to add some another .h file or not ? Or any suggestion . Plz tell
manu