Hi Mike, Thanks very much for your reply. So the compacting is a default option which already be turned on in MSDE? How about SQL Server, the option is also turned on by default? Is there any way I can configure this option so that it can be performed when there is 10% free space? Many thanks for your help!!
jfk_lili
Posts
-
Help!!Compacting Database MSDE/SQL -
Help!!Compacting Database MSDE/SQLHi Guys, I have not known so much about the SQL Server and MSDE, so just rush to here to get help. Can any one tell me When records are deleted, is the space immediately compacted or when is it compacted? and Is the compacting configurable? How to set it up? Since I am using the SQL buddy For large number of records deleted (eg. Archival), is the database compacted immediately! Many thanks in advance! I am really appreciate your help.
-
Help! How can I simulate a console in the SDI Document ViewHi, Thanks all the same :)
-
Help! How can I simulate a console in the SDI Document ViewThanks very much for your reply!! Actually instead of listbox, I have tried to use ListView under SDI, and it works fine. But now I want to switch to CRichEditView, and not sure if there will have some overflow problem. Once again thanks very much!!
-
Help! How can I simulate a console in the SDI Document ViewHi,Guys I want to change my console based program into a SDI program. And I have adready make it can work. But there is one critcal thing left, I don't know how to output the messages used to be displayed in the console to the SDI view. Can anyone kindly give me some hint or a sample? Thanks in advance!
-
Help! Multimedia TimerHi, How can i get the handle of the timer by using timer ID of the multimedia timer under WIN32 environment. Thanks in advance!
-
Help!! Casting a Void*Hi Christian, Thanks verymuch for your help! there should be a string stored in side the memory address. Is it possible i can direct cast the it to a string typ? Many thanks
-
Help!! Casting a Void*Hi Guys, I have a void* Message pointer. i wonder how can i print out the content of the memmory which be pointed by the void type pointer. And is there any article introduce about the void* pointer in detail. Thanks very much in advance!
-
help! how to use CreateWindow in Visual C++ projectThank you very much! It gets work!! Thanks!!
-
help! how to use CreateWindow in Visual C++ projectHi guys, I am doing a directshow programming, the microsoft sample is use a pure WinMain and WinPro message loop. And it build the window by using CreateWindow. I wonder if I can direct use the CreateWindow in visual C++? or there is any alternative way? Thank u very much in advance!
-
Help! monitor USB port raw dataHi guys, I am really a new guy in windows API. I wondering if there is some windows API can allow me to monitor or record the data I received through USB port:confused:. Thank you very much in advance!:)
-
Parallel port address auto detectHi, Anthony, thank you for reply. i m trying to use the one u suggest. but the code is hard to understand. in case, i really dun know how the parameter "myPort" which in etAddressLptPort GetAddressLptPortInTheRegistry GetAddressLptPortInTheMemory hv been used. u have any idear abt it. btw i m trying to get that book to c how. thank u very much!:-D
-
Parallel port address auto detectHi guys, is there any article or tutorial shown that how to detect parallel port address of computer automatically? no i just make simple stuff to work with the parallel port but to make the stuff work on other computers i want to make it can detect the port address automatically instead of key in the address. Thank U for ur help in advance!!:-O
-
help! how to make a setup for applicationhi guys, i hv a application which written in VC++. and it need to use a .sys file and 2 dll file. is there any article related to how to make a setup which can automatically place these files in the system directory. ie: WINDOWS\SYSTEM32\Drivers thank you in advance!!
-
Help!automatically read the fileHi guys, is there any method for retrieve the previose opend file (in the last excution of the program)when the program just being start again? sorry for my english.... what i want is... my program has opened a text file, let's say data10.txt... then close the program .. open it, then the program while automatically the data10.txt which it has read last time the file is a text file, so cannot use serializing.:) thank u in advance!!!!!!!!!!
-
read a txt file by using Serialize functionhi guys, is it possible to use serialize to read a text file? i got text file which is just as: standard1 name1 standard2 name2 ...... how can i use serialize function in doc class to read it and store it seperately in two CString Arrays(CString standard[100], CString name[100])? thank u in advance!
-
Help! cannot use CTypedPtrListhi, guys i need to use a CTypedPtrList templet structure in my program. here is my code: (CFreqStandard is a class which i derived from CObject and it's basically used to store some data) class CSDIgDoc : public CDocument { protected: // create from serialization only CSDIgDoc(); DECLARE_DYNCREATE(CSDIgDoc) protected: //CTypedPtrList FreqList; //CString StandardName; CString StandardName; CTypedPtrList m_FreqList;///////////////////// // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSDIgDoc) public: virtual BOOL OnNewDocument(); virtual void Serialize(CArchive& ar); //}}AFX_VIRTUAL // Implementation public: virtual ~CSDIgDoc(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CSDIgDoc) //}}AFX_MSG DECLARE_MESSAGE_MAP() }; but when i compile i always get an error in the line CTypedPtrList m_FreqList; it shows that "'CTypedPtrList' : missing storage-class or type specifiers" what is the problem in this case?:(( Thank you very much in advance
-
help!!!!!!!!!!!!!!! about inline assemblei hv used inline assemble which hv been showed below: do{ for(int test=0;test<5000;test++);// reach the high output to send a read data properly __asm{//the normal case which used to transfer the data ///* mov dx,portaddress mov bx,data mov cx,i //need to shift it to the large register bt bx,cl jc Current_Bit2_Is_1 Current_Bit2_Is_0: /* mov al,00000010b mov cx,10h loop_label7: out dx,al loop loop_label7*/ mov al,11111101b mov cx,25h loop_label8: out dx,al loop loop_label8 mov al,11111111b mov cx,35h loop_label9: out dx,al loop loop_label9 mov al,11111101b mov cx,25h loop_label7: out dx,al loop loop_label7 jmp END2 //jump without any condition Current_Bit2_Is_1: mov al,11111101b mov cx,25h loop_label1: out dx,al loop loop_label1 mov al,11111001b mov cx,35h loop_label2: out dx,al loop loop_label2 mov al,11111011b mov cx,35h loop_label3: out dx,al loop loop_label3 mov al,11111001b mov cx,25h loop_label4: out dx,al loop loop_label4 mov al,11111101b mov cx,25h loop_label5: out dx,al loop loop_label5 END2: } for(test=0;test<7000;test++); __asm{ mov dx,portaddress mov al,11111101b out dx,al } i--; }while(i>=0); if i just use like this then no problem. but when i use inline assemble in another part of my program, it always make the program hang. if(i==-1){ __asm{ mov dx,portaddress mov bx,data mov al,00000010b mov cx,10h loop_labelA: out dx,al loop loop_labelA mov al,00000000b mov cx,15h loop_labelB: out dx,al loop loop_labelB mov al,00000010b mov cx,10h loop_labelC: out dx,al loop loop_labelC } } this one is just under the while statement.....but it always make the program hang. i really dont know what is the problem in here. is there anyone know how to solve it?:doh: thank u in advance!!!!!:)
-
help! inline assemblenow i hv found the reason for the error, the machine is 32 bit, so the int is actually 32 bit long, to get 16 bits, we need to declare it as "short int" :-D thank U Prakash
-
help! inline assembleen, never mind. Thank U very much for ur help =) really appriciate ur help :-D