Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

jfk_lili

@jfk_lili
About
Posts
29
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Help!!Compacting Database MSDE/SQL
    J jfk_lili

    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!!

    Database database sql-server sysadmin help tutorial

  • Help!!Compacting Database MSDE/SQL
    J jfk_lili

    Hi 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.

    Database database sql-server sysadmin help tutorial

  • Help! How can I simulate a console in the SDI Document View
    J jfk_lili

    Hi, Thanks all the same :)

    C / C++ / MFC question help tutorial

  • Help! How can I simulate a console in the SDI Document View
    J jfk_lili

    Thanks 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!!

    C / C++ / MFC question help tutorial

  • Help! How can I simulate a console in the SDI Document View
    J jfk_lili

    Hi,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!

    C / C++ / MFC question help tutorial

  • Help! Multimedia Timer
    J jfk_lili

    Hi, How can i get the handle of the timer by using timer ID of the multimedia timer under WIN32 environment. Thanks in advance!

    Managed C++/CLI help question workspace

  • Help!! Casting a Void*
    J jfk_lili

    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

    Managed C++/CLI help question

  • Help!! Casting a Void*
    J jfk_lili

    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!

    Managed C++/CLI help question

  • help! how to use CreateWindow in Visual C++ project
    J jfk_lili

    Thank you very much! It gets work!! Thanks!!

    C / C++ / MFC c++ help tutorial question

  • help! how to use CreateWindow in Visual C++ project
    J jfk_lili

    Hi 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!

    C / C++ / MFC c++ help tutorial question

  • Help! monitor USB port raw data
    J jfk_lili

    Hi 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!:)

    System Admin json help

  • Parallel port address auto detect
    J jfk_lili

    Hi, 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

    C / C++ / MFC tutorial help question

  • Parallel port address auto detect
    J jfk_lili

    Hi 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

    C / C++ / MFC tutorial help question

  • help! how to make a setup for application
    J jfk_lili

    hi 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!!

    C / C++ / MFC c++ help tutorial workspace

  • Help!automatically read the file
    J jfk_lili

    Hi 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!!!!!!!!!!

    C / C++ / MFC help question

  • read a txt file by using Serialize function
    J jfk_lili

    hi 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!

    C / C++ / MFC question

  • Help! cannot use CTypedPtrList
    J jfk_lili

    hi, 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

    C / C++ / MFC help question json

  • help!!!!!!!!!!!!!!! about inline assemble
    J jfk_lili

    i 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!!!!!:)

    C / C++ / MFC help question tutorial

  • help! inline assemble
    J jfk_lili

    now 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

    C / C++ / MFC c++ help tutorial question

  • help! inline assemble
    J jfk_lili

    en, never mind. Thank U very much for ur help =) really appriciate ur help :-D

    C / C++ / MFC c++ help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups