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

Search:

Type: Posts; User: tdc

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    882

    Re: is this a bug in Visual Studio?

    i am using VS 2005 and the coe "for(int x = 0; x < 100; x++)" works for me
  2. Replies
    6
    Views
    703

    Re: unicode in windows' controls

    OK, so finally i found out the reason. The problem is that although in the Resource View's window i can edit and the resources is displayed with unicode correctly, the resource file (.rc) is not...
  3. Replies
    6
    Views
    703

    Re: unicode in windows' controls

    hi, I've done what u said, but it's still the same (I'm using VC7 and things u said seem to be the default). BTW, all the unicode strings that i "TextOuted" to the screen are displayed correctly,...
  4. Replies
    6
    Views
    703

    unicode in windows' controls

    Hi all,
    I want my application to display unicode strings in windows' controls (menu, dialog...). I'm using VC7 on WinXP Pro, and have set my project to use _UNICODE, but the strings was not...
  5. Replies
    1
    Views
    526

    How to use C to send form to a webpage?

    Hi gurus,
    I wonder if C/C++ can be used to send form to a webpage by POST method? If it does, can anyone tell me how to do?
    Thanks in advance
  6. Thread: ADO Error

    by tdc
    Replies
    2
    Views
    1,152

    I've gotten msado15.dll from win 98, place and...

    I've gotten msado15.dll from win 98, place and #import it in my project as u said, but unfortunately it still didnot work (still E_NOINTERFACE in Win98). Also, I tried to use _Recordset15 interface...
  7. Thread: ADO Error

    by tdc
    Replies
    2
    Views
    1,152

    ADO Error

    Hi Gurus,
    I am using ADO in VC++ 7 with #import, it runs normally under WinXP, but it fails under Win98:


    ADODB::_RecordsetPtr pRecordset = NULL;

    // Open data table, casting Connection...
  8. Replies
    3
    Views
    634

    Done! Thanx

    Done! Thanx
  9. Replies
    3
    Views
    634

    Question on class's brush

    Hi Gurus,
    I have a problem when trying to change my CListCtrl's background brush. I called this in CListCtrl's OnCreate:


    hNewBrush= CreateSolidBrush(RGB(0,0,0));...
  10. Replies
    1
    Views
    1,753

    I've tested your code and found no problem. Does...

    I've tested your code and found no problem. Does this happen whith LV without header?
  11. Thread: a C's time problem

    by tdc
    Replies
    2
    Views
    698

    I am using VC7 from .net (2002)

    I am using VC7 from .net (2002)
  12. Thread: a C's time problem

    by tdc
    Replies
    2
    Views
    698

    a C's time problem

    Hi gurus!
    When I use C's time functions in my application:


    #include <time.h>
    #include <sys/types.h>
    #include <sys/timeb.h>

    //...
  13. Replies
    8
    Views
    5,192

    Thank you, I finally found it. Here is one...

    Thank you, I finally found it. Here is one section:


    do
    {
    // pump message, but quit on WM_QUIT
    if (!PumpMessage())
    return ExitInstance();

    // reset "no idle" state after pumping...
  14. Replies
    8
    Views
    5,192

    Yes, I do know. But all I need is just some lines...

    Yes, I do know. But all I need is just some lines of that code. Can anyone tell me... Pliz, then u can tell me whatever u want to.
  15. Replies
    8
    Views
    5,192

    But how can I get the source code? Thanks

    But how can I get the source code? Thanks
  16. Replies
    8
    Views
    5,192

    Custom message loop in MFC

    How can I write a custom message loop in my MFC app? I overrided Run() function in my app like this:


    int CMyApp::Run()
    {
    return CWinApp::Run();
    }

    but I dunno what to do more. Can...
  17. Replies
    12
    Views
    2,162

    It sounds cool. Could u show me more about it?

    It sounds cool. Could u show me more about it?
  18. Replies
    16
    Views
    3,382

    I changed HMODULE -> HINSTANCE, but the error is...

    I changed HMODULE -> HINSTANCE, but the error is error C2440: '=' : cannot convert from ''unknown-type'' to 'HINSTANCE'

    Anyway, when I added a file into my project:


    //LoadLib.cpp
    #include...
  19. Replies
    16
    Views
    3,382

    Hi, thanks for your helping. I'm using WinXP Pro....

    Hi, thanks for your helping. I'm using WinXP Pro. I've tried what you suggested:


    #include "stdafx.h"
    int _tmain(int argc, _TCHAR* argv[])
    { HMODULE hMod;
    ...
  20. Replies
    16
    Views
    3,382

    Help with LoadLibrary

    Hi gurus!
    I'm using VC++ 7.0 and I created a console project:


    #include "stdafx.h"
    #include "windows.h"
    int _tmain(int argc, _TCHAR* argv[])
    { HMODULE hMod=LoadLibrary("mylib.dll"); ...
  21. Replies
    6
    Views
    748

    still doesn't work 8-(

    still doesn't work 8-(
  22. Replies
    6
    Views
    748

    I dunno what u mean 8-(, could u explain more...

    I dunno what u mean 8-(, could u explain more clearly? Also, i linked it dynamically (not using any .lib file), and not using GetProcAddress, too. Is it the problem?
  23. Replies
    6
    Views
    748

    Help with DLL ****!

    Hello gurus, I'm crazy of Dll ****!
    I created a DLL like this:


    ////MyDll.h:
    __declspec(dllexport) int fnWin32DLL(void);

    ////MyDll.cpp:
    #include "MyDll.h"
    __declspec(dllexport) int...
  24. Replies
    8
    Views
    1,359

    I think u should hook GetMessage and replace the...

    I think u should hook GetMessage and replace the key when getting WM_KEYDOWN. PreTranslateMessage is a MFC - not API standard function, so u can hook it.
  25. Replies
    8
    Views
    1,359

    Hello, I just know "crazybull" 'coz I know...

    Hello,
    I just know "crazybull" 'coz I know "conbodien" ^_^...
    Well, let's jump into the main problem. Which scope of hook r u using? And how did u process key event in ur HookProc? If u post code,...
Results 1 to 25 of 30
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured