Error 2 error BK1506 : cannot open file '.\Compilations\PlugIn_Debug_Win32\PlugIn.sbr': No such file or directory BSCMAKE
Error 1 fatal error C1902: Program database manager mismatch; please check your installation d:\plugin\stdafx.cpp 1
The source is transferred from another machine. When I rebuild the code for the first time(I've not modified the code),it compiles fine.
But when I made changes to the code and recompile it shows the above two errors. Both machines have SP1 for VS2005. How to resolve the above two errors?
You probably did not only copied the source but also some output files.
Try a complete rebuild to overwrite the copied output files. If this does not help, delete all files except the source and project files and rebuild.
I've deleted not only the mentioned file but also the folders like Debug and Release. But the error remains as such. Can you tell me the error is due to
Service Pack or redistributable? I forgot to mention the VS version. VS 2005 on both the machines.
I am using a CRichEditCtrl with an almost black background and white text. The problem is that when I want to print the text, the printer tries to simulate the original screen colors. In my case, I would like to print with standard black text & white background. What i am doing now, is that : Before that print start, I change the control with the standard colors and after the end of the printing I revert to the original screen colors. The code seems like the following :
//to view this correctly in MS Word or to any other word processor
//You should change the colors. Do the background white and the text black
//Disable the ENM_CHANGE events manually. We dont want to make the handler think that where was
//indeed an event.
SetEventMask(~ENM_CHANGE & GetEventMask());
SetSel(0 , len);
SetBackgroundColor(FALSE, RGB(255,255, 255));
//-------> Printing code here <--------------------
SetSel(0 , len);
SetBackgroundColor(FALSE, RGB(61,61, 56));
//Re-enable the ENM_CHANGE events manually.
SetEventMask(ENM_CHANGE | GetEventMask());
The above code creates a flicker, especially if the pages to be printed are many. Is there any solution, like to halt visual updating of the CRichEditCtrl control for a specific period of time to avoid flicker ?
I have added 4 group Boxes on my Dialog based App and in Each Group there are 3 Radio Buttons.
According to the user's Selection, i want to get the combination of radio Buttons and Function according to the selection?
For Ex:- In one group Box there are 3 Radio Buttons say 600 DPI,
300 DPI and
and same in the other Group Box. Suppose if user has selected 300 DPI in one Group Box and 150 DPI in Other Group Box. Then i want to know how to get that user has selected so and so combination.
I m using GetCheckedRadioButon(1stRadioID, LastRadioID) but m not getting anything from that?
Please help me Out.
I'm assuming you're using an MFC based dialog application.
If this assumption is right, read on.
For the first radio button of each group, set its Group property to True.
Right click on this radio button and select Add Variable and create an integer variable.
The above step is only possible with a radio button whose Group property is set to True.
To get the user selection, simply call UpdateData() and the integer variable will contain the 0-based index of the selected radio button.
«_Superman_» I love work. It gives me something to do between weekends.
every one i have created the file using the createFile.
HANDLE temp_file = CreateFile(sourceFileName,GENERIC_WRITE|GENERIC_READ,/*FILE_SHARE_WRITE|FILE_SHARE_READ*/NULL,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_HIDDEN /*FILE_ATTRIBUTE_NORMAL*/,NULL);
in windows vista i have created but its getting deleted in windows 8 and windows xp .
what will be the reason .
My application am creating the file.i am calling the exe for the preview of the file after closing the exe the file is getting dleted,its working fine on windows 7 and vista even am not use the delete file API not the exe which am calling has no dletefile API ...