thanks for the reply, but.. manifest file is included as a resource, not as a seperate file. Yes, i've tried using it as a seperate file, but it does not work. (plz note, I've other exes that work correctly. The problem occurs only if I use the resource in this dll) Hari Krishnan
pranavamhari
Posts
-
Dll and XP theme -
Digital Signaturethanks a lot Mike, I'll check it out. Hari Hari Krishnan
-
Digital SignatureWhen IE downloads an exe file, it checks its signature. Does anyone know how to verify exe signature from our application ? that is, can someone help me find the source code/api to the signature verification tool ? thanks a lot Hari Hari Krishnan
-
UNC paths and CStdioFileHi, My program uses 'GetspecialfolderPath(CSIDL_PERSONAL)' to retreive the my documents folder, and saves a file in the folder using CStdioFile. On Win2000 this my-docs folder path is returned as an UNC path like '\\server\\..$\my documents\...' Here, CStdioFile fails to create the file. I guess it is due to UNC name. How can I convert this to the mapped drive ? or is there any workaround ? Please help, thanks in advance to all. regards hari Hari Krishnan
-
VERSIONINFO in programHi, Search google for a class 'CModuleVersion' which can be used as TCHAR szPath[MAX_PATH]; GetModuleFileName(NULL,szPath,MAX_PATH); CModuleVersion ver; if(ver.GetFileVersionInfo( szPath , TRUE)){ CString s; s.Format(IDS_STRING61504,HIWORD(ver.dwFileVersionMS), LOWORD(ver.dwFileVersionMS), HIWORD(ver.dwFileVersionLS)); SetDlgItemText(IDC_VERSION , s );//UnicodeConversion } Hari Krishnan
-
Running VBscriptHi, How can I run a vbscript file from a VC program? EXamples would be fine. THanks in advance regards Hari Krishnan
-
Drive Typemany thanks, Will check it out. Hari Krishnan
-
Drive Typehi, How can I check if a drive is Zip drive (and not a floppy drive). I know floppy is checked by DRIVE_REMOVABLE == GetDriveType(). What about Zip ? regards hari Hari Krishnan
-
CDWordArray and sortthanks, About 10,000 to 20,000. Another question, how about adding the items sorted while it is being added ? Which is faster. Also, how can i use heapsort ? regards hari Hari Krishnan
-
CDWordArray and sorthi, I have a CDWordArray with many items. I need to sort it, in the quickest possible way. Please tell me how to do it. the code I use now is, void CSortableDWordArray::Sort(DWORDCOMPAREFN pfnCompare) { DWORD * prgdw = GetData(); qsort(prgdw,GetSize(),sizeof(DWORD),(GENERICCOMPAREFN)pfnCompare); } It does not seem to be very fast. regards hari Hari Krishnan
-
VC SP5 PSDK FEb2003hi, NOP, the same message. I copied rc.exe and rcdll.dll from visual stidio 6 to platform sdk/bin. It works ok, but i know it is not right. Any thoughts ? regards hari Hari Krishnan
-
VC SP5 PSDK FEb2003hi, After I installed the latest PSDK , When I try to compile I get the message '...\rc.exe This program expects a newer version of windows'. I am running ME. what could be wrong with the resource compiler? I am using VC6 SP5 , with latest platform SDK. regards Hari Hari Krishnan
-
EXE on DOS and win32hi, can one write an exe that will run on DOS and windows ? I mean in windows it should be able to show message box, dialogs etc. I am asking this because one program I downloaded from net seems to do this. regards hari Hari Krishnan
-
VC++ 6.0 and XPMany thanks Mike Hari Krishnan
-
VC++ 6.0 and XPhi, I can't debug apps using VStudio 6.0 under XP. Do i need to install any updates to VC 6 ? If so, please give the url regards hari Hari Krishnan
-
\device\harddiskvolume1\windows\..hi, I want to convert the string '\device\harddiskvolume1\windows\..' to the path 'c:\windows\..' I get that string from the registry. I can replace the string '\device\harddiskvolume1' to c: '\device\harddiskvolume2' to d: etc. But I doubt there is a much better way using some API. Can anyone please help ? regards hari Hari Krishnan
-
Clipcursor Errorhi, Clipcursor is not working in XP. RECT rcClip; // new area for ClipCursor RECT rcOldClip; // previous area for ClipCursor // Record the area in which the cursor can move. GetClipCursor(&rcOldClip); // Get the dimensions of the application's window. GetWindowRect(&rcClip); // Confine the cursor to the application's window. ClipCursor(&rcClip); // Process .................... // Restore the cursor to its previous area. ClipCursor(&rcOldClip); whats wrong ? regards hari Hari Krishnan
-
MFC's futurehi, there is no threat to MFC in the near future. .NET will take some time to catch up. There are some excellent articles in the 'Interview' section of codeproject that will answer this. Hari Krishnan
-
MoveFileEx and registryhi, Does movefileex (with DELAY_UNTIL_REBOOT) use registry ? I want to replace the registry hive system on restart with this function (for a backup app). thanks for any help regards hari Hari Krishnan
-
Property page troublethanks Hari Krishnan