CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: wuyh

Page 1 of 10 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    6
    Views
    41,581

    Re: A basic question about PHP

    Thanks for your reply.. But, the address in the location bar has no question mark '?' right after the word "index.php".
    so, instead of like


    http://www.test.com/index.php?test1=hi

    it's more...
  2. Replies
    6
    Views
    41,581

    Re: A basic question about PHP

    Thanks!
    so, what's the name of the parameter by default?
    I did not see any functions has an input in the index.php file.. hmm, maybe it's hidden in other files been included to.
  3. Replies
    6
    Views
    41,581

    A basic question about PHP

    I just got a conference package, called OCS, run on my server. I kind of wanna do some change on redirecting when the visitors type the URL.

    In the location bar of the browser, i saw something...
  4. Thread: Class work help

    by wuyh
    Replies
    5
    Views
    974

    Re: Class work help

    it's a math problem in fact...

    just count how many space and plus sign need to show up in a line.
  5. Replies
    5
    Views
    766

    Re: Running release mode.

    I suggest him just put such kind of dlls into the same folder as the .exe file. I really dont want windows gets too big though it will always be automatically..
  6. Replies
    2
    Views
    763

    this .lib file is missing or it lies in the wrong...

    this .lib file is missing or it lies in the wrong place.
  7. Replies
    9
    Views
    2,771

    to avoid deadlock you can use SendMessageTimeout()

    to avoid deadlock you can use SendMessageTimeout()
  8. Replies
    6
    Views
    935

    Kheun, i am not sending the data via network but...

    Kheun, i am not sending the data via network but storing them to a local file. before being written to the file, i put all the data into a buffer.

    I think htonl() works ( call once when float...
  9. Replies
    6
    Views
    935

    i used to think that Intel use little-endian and...

    i used to think that Intel use little-endian and IBM use big endian.

    am i wrong?
  10. Replies
    6
    Views
    935

    to save float as binary code

    i want to save the float or double value as binary with big-endian format.

    but there's different store strategy(big-endian or little-endian) in the memory of diffrent machine.

    Does anyone have...
  11. Replies
    8
    Views
    2,042

    thanks, Indian_Techie.. u're right. :) ...

    thanks, Indian_Techie..

    u're right. :)

    AFX_EXT_CLASS was defined as export only if _AFX_EXT was defined..

    ok, i will use
    __declspec(dllexport)

    directly..
  12. Replies
    8
    Views
    2,042

    FirstPerson, please see the MSDN at TN011: Using...

    FirstPerson, please see the MSDN at
    TN011: Using MFC as Part of a DLL

    here the words from that note.





    But the class is in this DLL. it's very simple to test what i described. Create a...
  13. Replies
    8
    Views
    2,042

    ya, i know what u mean.. but the problem is not...

    ya, i know what u mean..
    but the problem is not like what u'r talking about.

    the problem occurs when the DLL is compiled..
  14. Replies
    8
    Views
    2,042

    how to export an class in a regular DLL?

    I have a regular dll using MFC as shared library and it exports some API functions.

    Now i want it to export an class. But i met some troubles.

    It seems that the constructor and destructor of...
  15. Replies
    1
    Views
    576

    about CPU cycle of the MMX code

    hi, gurus,

    where could i find the CPU cycles cost for each MMX instruction?

    thanks.
  16. Replies
    7
    Views
    793

    i guess the same.

    i guess the same.
  17. Replies
    10
    Views
    1,221

    maybe the problem is the connect string which you...

    maybe the problem is the connect string which you used to open the database.

    note that the filename of the database is base on current directory ( which may not be the location where the exe file...
  18. Replies
    7
    Views
    793

    i hope the pseudocode below will help you. ...

    i hope the pseudocode below will help you.


    bool CreateDirRecur(const CString& szDir)
    {
    if(IsDirectory(szDir))
    return true;
    else
    {
    CString...
  19. Thread: where did F10 go?

    by wuyh
    Replies
    4
    Views
    938

    :), thanks, i found that F10 is a syskey which...

    :), thanks,
    i found that F10 is a syskey which activate the menu..
  20. Thread: where did F10 go?

    by wuyh
    Replies
    4
    Views
    938

    BOOL CXXXXXXApp::PreTranslateMessage(MSG* pMsg)...

    BOOL CXXXXXXApp::PreTranslateMessage(MSG* pMsg)
    {

    if(WM_KEYDOWN == pMsg->message && VK_F2<=pMsg->wParam && VK_F10>=pMsg->wParam)
    {
    TRACE("translating F%d\n",pMsg->wParam-VK_F1+1);
    }...
  21. Thread: where did F10 go?

    by wuyh
    Replies
    4
    Views
    938

    where did F10 go?

    hi, gurus,

    i have a question about the keydown message. i have a single document application based on MFC, using VC7.1. But it seems that app cannot get the keydown message of F10. Even if i set...
  22. Thread: Strin compare

    by wuyh
    Replies
    9
    Views
    1,470

    double %, "%%" in printf's format means one %,...

    double %, "%%" in printf's format means one %, '%'.
    For example:


    printf("%%%d",4);

    will output
    %4
  23. Replies
    7
    Views
    949

    you may call UpdateWindow() before entering the...

    you may call UpdateWindow() before entering the while loop to force the windows to draw the button.

    note that you must set invalidaterect first.
  24. ListCtrl itself doesnot provide such functions....

    ListCtrl itself doesnot provide such functions. but u can implement it by yourself.
    put the-like items together and draw all the items by yourself.
  25. Replies
    2
    Views
    559

    if you are developing standard MFC based program...

    if you are developing standard MFC based program and wanna use most of the existing features.

    what you need to do is to rewrite the following functions.
    CDocument::OnOpenDocument()...
Results 1 to 25 of 245
Page 1 of 10 1 2 3 4





Click Here to Expand Forum to Full Width

Featured