Hi, I have a COM dll when i update interface manually my application crashed. but when we update the interface by wizard its working properlly. can any one tell me why this happend and if i want to update any existing interface manually what should i do? Thanks in Advance Ashish Chandrakar
chandrakar ashish
Posts
-
Program crashes while updating .idl file manually -
Visual studio 6.0 not working on vistaThanks for reply. But Is there any other way because i have only 1GB RAM on my system and while using XP VM or dual boot with XP my system will be very slow. :) :thumbsup:
-
Visual studio 6.0 not working on vistai have a visual studio 6.0 setup. and vista system. when i try to install it on my system it says its not compatible with window vista what should i do install it on my system i need only VS6.0 not higher version. Thanks in advance, Ashish Chandrakar
-
problem in query interfacehi, i am writting UT code to test my module class it uses some com dll which is having dependencies with some hardware thats why its not registered in my local system. now i want to use interface having in that dll for that i am creating my own stub for that interface. now the problem is i am not able to query my interface CLSID of my interface is not in registry so please any one let me know what i will do to register CLSID of that interface? also if is there any other way to implement please let me know thanks, ashish chandrakar
-
GetVolumeInformation not giving any information its return error code 123i tried trailing "\" like below CString strDir = _T("D:\\CompressionTest\"); then its giving compilation error D:\AcqUT\TestZip\TestZip.cpp(27) : error C2001: newline in constant D:\AcqUT\TestZip\TestZip.cpp(27) : fatal error C1057: unexpected end of file in macro expansion while using trailing '\' CString strDir = _T("D:\\CompressionTest'\'"); no compilation error but mentioned problem was not resolved
-
GetVolumeInformation not giving any information its return error code 123Hi any one plese help me i am using GetVolumeInformation in my code for comressing some files and folder. the used code is below CString strDir = _T("D:\\CompressionTest"); TCHAR volBuff[256]; LPTSTR lpVolumeNameBuffer = volBuff; DWORD nVolumeNameSize = 256; LPDWORD lpVolumeSerialNumber; LPDWORD lpMaximumComponentLength; LPDWORD lpFileSystemFlags = 0; TCHAR sysFileBuff[256]; LPTSTR lpFileSystemNameBuffer = sysFileBuff; DWORD nFileSystemNameSize = 256; if(!GetVolumeInformation(strDir,lpVolumeNameBuffer,nVolumeNameSize,lpVolumeSerialNumber, lpMaximumComponentLength,lpFileSystemFlags,lpFileSystemNameBuffer,nFileSystemNameSize)) { CHAR szBuf[80]; DWORD dw = GetLastError(); sprintf(szBuf, "failed: GetLastError returned %u\n",dw); MessageBox(NULL, szBuf, "Error", MB_OK); ExitProcess(dw); } plese inform me if i am doing any mistakes :confused::thumbsdown:
-
compression/Zip problemOk, i clicked on the link Thanks for remind me
-
compression/Zip problemThank You, Hamid That is exactly I am looking for. Thanks again for your valuable and quick response Regards, Ashish :-O :thumbsup:
-
compression/Zip problemi want to compress some image file created in my project and store it. for future use and whenever its needed unzipped the stored file. please any one let me know how i will do that and is it microsoft MFC has provide any API for that. Thanks in advance.. :)