|
Close the workspace and close VC++. Then, delete the *.ncb, *.opt and *.clw files. These will be regenerated when you next start VC++ and your ClassView will work fine.
Mark
|
|
|
|
|
Hey, thanks.
That works with the following snag: I could not delete the .ncb file -- Explorer kept giving me an access
denied message. I deleted the .ncb file from a different project and it deleted fine and was regenerated
fine. So, your suggestion was valid, but the corruption of the file was bad enough that even
Explorer is having trouble with it.
Regardless, I managed to get everything back to normal the hard way. I simply created a new
Workspace, deleted everthing out of it and then added all the files I needed to rebuild my
program workspace. It is working fine again.
Thanks for the suggestion -- it seems that it would work except that my .ncb file is totally FUBAR.
David.
|
|
|
|
|
You couldn't delete it because the project was open. Close the project and delete it.
|
|
|
|
|
While working in MSDev there was an error and it shut down. Since then, whenever I open the project I
was working on, I get a message telling me that there was an error opening the ClassView Information
File and that the ClassView pane won't be available. Everything else is fine.
Can anyone out there tell me how to either repair or rebuild the ClassView Information File? I miss being
able to use the ClassView pane.
BTW, it works fine on all of my other projects, so it is just for the one I was working on when
MSDev had to be shut down. Also, the project compiles and works just fine too. So it seems
to simply be a corruption of the ClassView Information file for that one project.
Thanks. David.
|
|
|
|
|
Close your project. Delete the following temporary files: .ncb (I believe this is the only one you need but I usually do them all), .opt, .plg, .aps, .clw
Mike
|
|
|
|
|
While working in MSDev there was an error and it shut down. Since then, whenever I open the project I
was working on, I get a message telling me that there was an error opening the ClassView Information
File and that the ClassView pane won't be available. Everything else is fine.
Can anyone out there tell me how to either repair or rebuild the ClassView Information File? I miss being
able to use the ClassView pane.
BTW, it works fine on all of my other projects, so it is just for the one I was working on when
MSDev had to be shut down. Also, the project compiles and works just fine too. So it seems
to simply be a corruption of the ClassView Information file for that one project.
Thanks. David.
|
|
|
|
|
While working in MSDev there was an error and it shut down. Since then, whenever I open the project I
was working on, I get a message telling me that there was an error opening the ClassView Information
File and that the ClassView pane won't be available. Everything else is fine.
Can anyone out there tell me how to either repair or rebuild the ClassView Information File? I miss being
able to use the ClassView pane.
BTW, it works fine on all of my other projects, so it is just for the one I was working on when
MSDev had to be shut down. Also, the project compiles and works just fine too. So it seems
to simply be a corruption of the ClassView Information file for that one project.
Thanks. David.
|
|
|
|
|
Hi All,
I have a problem with threads !I am trying to write to a Database using Threads!For this, in a process I am creating 10 Threads using "CreateThread" process and the Threads are created in active state only !I have a 10 separate ThreadProcs so that the
the respective thread goes that Corresponding ThreadProc !Each Thread tries to log into Database.I am implementing COM & calling that corresponding function to add to Database !
The Threads where able to log into the Database.But, when I opened the Database what I noted was a single Thread is making more than one logging (But, according to code written , there should be only one logging from each Thread .)But, total number of logging comes to 10 as must be !(One logging from each Thread)
What could be the problem ?How can I rectify the problem !
Thanx for help in advance!
Yamini Devi
|
|
|
|
|
How to using Win32 API DeviceIoControl to control the LED on the keyboard light or dark?
Thank you!
|
|
|
|
|
Just curious: why do you need to blink keyboard LEDs?
Tomasz Sowinski -- http://www.shooltz.com.pl
|
|
|
|
|
I set up an Access database that has a memo field. When my program tried to write a long text (>300 but <1000 characters) into that field (by CRecordSet), I got a assertion error and the text was trancated. I know a memo field can contain a text less than 65k characters. Is there any one can tell me where I might make a mistake?
Thanks.
Yijun
|
|
|
|
|
The default maximum length for text fields is 255 characters, this is set by the RFX_Text() function called from DoFieldExchange() member function of your CRecordset. See the documentation of RFX_Text(), and edit the call in DoFieldExchange().
|
|
|
|
|
Tons of thanks! I got it.
Yijun
|
|
|
|
|
Hello,
I have added a Microsoft Data Grid Control to my app. By default it only displays 2 columns. Does anyone know how do I display more than 2 columns?
Thanks,
Rob
|
|
|
|
|
Hi all,
I made a isapi extension to be a chat.
There in it a infinity do-while which do a select in my sql database and send the result to the screen. But I have a problem. When the user close his browser, the isapi holds send select's to the server. Then the cpu usage raises up and the server crashes. So, I need to check in the each loop, if the browser it's open. If not, then I break the loop. Somebody can help me?
-=)Yuki(=-
|
|
|
|
|
You can get a handle to the CWnd of the browser, then check through that if the Window is visible, or valid. I'm not sure if ::IsWindowVisible will work, because I'm not sure if the handle could be recycled to a new window in the meantime, I guess it depends on how often you check, as well as obvious some internal Windows stuff I have only vague ideas about.
Christian
I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in.
The early bird may get the worm, but it's the second mouse that gets the cheese.
|
|
|
|
|
I am using the CFileDialog class and would like the user to only be able to open and save from certain folders.
I can stop the user from changing folders with some help from Shanker Chandrabose report on Customizing the Windows Common File Open Dialog.
|
|
|
|
|
Hello, the codegurus around the world.;) (Copy Right 2001 Masaaki Onishi)
Your question seems to be interesting.
1) We make something for this if we derive our own CMyFileDialog from CFileDialog.
I used to take a look at some sample code of Wrox book, but I don't have this book now.
Or
2) As Paul DiLascia often tell us, write our own code.
We can use FindFistFile like Window Explorer sample code to find the directroy or file,
,we can write some code to filter the name, and show only the dirctory which you want.
Or someone else has a good idea?
Have a nice day!
-Masaaki Onishi-
|
|
|
|
|
I thought Paul DiLascia says that code reuse is the Holy Grail ?
Christian
I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in.
The early bird may get the worm, but it's the second mouse that gets the cheese.
|
|
|
|
|
to quote paul: "like - reuse dude"
---
"every year we invent better idiot proof systems and every year they invent better idiots"
|
|
|
|
|
Hi all,
I am developing an MDI app using DirectDraw objects. However the following message pops up every time I exit the application:
ASSERT Failed
Executable: myDX.exe Pid 970 Tid a78. Module quartz.dll, 393 objects left active!
At line 341 of d:\nt_chk\multimedia\published\dxmdev\dshowdev\base\dllentry.cpp
Continue?
The variables used (declared as private):
LPDIRECTDRAWSURFACE pDDSPrimarySurface;
bool bFileLoaded;
HWND hWnd;
IDirectDraw *pDD;
IDirectDrawSurface *pOffscreenSurface1;
IMultiMediaStream *pMMStream;
IMediaStream *pPrimaryVidStream;
IDirectDrawMediaStream *pDDStream;
IDirectDrawStreamSample *pSample;
RECT rect;
I declared most of them in OnInitialUpdate.
and here is my ~myDXView()
{
AfxMessageBox("start");
if( pMMStream != NULL )
{
pMMStream->Release();
pMMStream = NULL;
}
if( pSample != NULL )
{
pSample->Release();
pSample = NULL;
}
if( pDDStream != NULL )
{
pDDStream->Release();
pDDStream = NULL;
}
if( pPrimaryVidStream != NULL )
{
pPrimaryVidStream->Release();
pPrimaryVidStream = NULL;
}
if( pDDSPrimarySurface != NULL )
{
pDDSPrimarySurface->Release();
pDDSPrimarySurface = NULL;
}
if( pOffscreenSurface1 != NULL )
{
pOffscreenSurface1->Release();
pOffscreenSurface1 = NULL;
}
if( pDD != NULL )
{
pDD->Release();
pDD = NULL;
}
CoUninitialize();
AfxMessageBox("end");
}
The error message pops up after the AfxMessageBox("end");
I thought it is because I didn't release some objects, but shouldn't the code above takes care of that part?
Anyone has any idea or hints? Thanks a lot in advance.
|
|
|
|
|
What is quartz.dll ? I'm *sure* it's not a Direct Draw component ??
Christian
I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in.
The early bird may get the worm, but it's the second mouse that gets the cheese.
|
|
|
|
|
Quartz.dll is a DirectShow runtime.
Tomasz Sowinski -- http://www.shooltz.com.pl
|
|
|
|
|
How can I copy files in a folder to a:\
What Windows api's, C++ functions are available?
Gerry.
|
|
|
|
|
Check these API functions:
CopyFile
SHFileOperation
Tomasz Sowinski
http://www.shooltz.com.pl
|
|
|
|