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

Search:

Type: Posts; User: zspirit

Page 1 of 21 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    12
    Views
    1,518

    Re: CRecordSet doesn't read UNICODE text

    Thanks but I was able to find the problem. It turns out that LPWSTR does work but there were things wrong on our side of code which was causing the problem.
  2. Replies
    12
    Views
    1,518

    Re: CRecordSet doesn't read UNICODE text

    That's exactly what I set out to do and here is where I am stuck at.


    // first I changed m_pName to LPWSTR instead of LPSTR
    LPWSTR m_pName; // this reads the name column

    Now RFX_Text_Bulk...
  3. Replies
    12
    Views
    1,518

    Re: CRecordSet doesn't read UNICODE text

    There is a chance reading record by record may work because it uses CString but we do want to do it the bulk way.
  4. Replies
    12
    Views
    1,518

    Re: CRecordSet doesn't read UNICODE text

    Thanks guys, I will look into the two you mentioned but I was hoping to fix the issue with minimal change.
  5. Replies
    12
    Views
    1,518

    Re: CRecordSet doesn't read UNICODE text

    It's compiled with UNICODE, not MBCS.
  6. Replies
    12
    Views
    1,518

    CRecordSet doesn't read UNICODE text

    I realized the reason why my CRecordSet object is not reading UNICODE text is the RFX_Text_Bulk macro. The documentation says it does NOT support UNICODE which is really way too much behind on...
  7. Replies
    2
    Views
    2,635

    Re: programming using rsync

    I want to do the same thing, were you able to get anywhere with it? I want to use/invoke it from C++ program in windows.
  8. Re: Can overlapped buttons both receive notification?

    I am not sure what you mean by partial alpha transparent window..does it mean partially transparent? I guess I am using a different techinque, a mask bitmap.

    I only have 6 buttons and any one can...
  9. Re: Can overlapped buttons both receive notification?

    I have implemented the hot spot myself in the button subclass where I am capturing all clicks in PreTranslateMessage() so I do decide there I am not going to care about this mouse click in my...
  10. Re: Can overlapped buttons both receive notification?

    @Igor, yes thats what seem to be the ase but based on something along what GCDEF said, when a button receives click event and it determines its not in the hot spot, could it pass it to any other...
  11. Can overlapped buttons both receive notification?

    The apparent answer for this is seemingly 'No' but I am wondering if there is a way or trick.

    I have multiple bitmap buttons of non-square shape. Because of their odd shape I can overlap them and...
  12. Re: Can CWinApp::SetRegistryKey() setup application registry under HKEY_LOCAL_MACHINE

    Since you said its hardcoded to use HKCU, I just wanted to redirect it to HKLM and see what happens. I thought it would be interesting to try on XP (which are my users) but Windows 7 will definitely...
  13. Re: Can CWinApp::SetRegistryKey() setup application registry under HKEY_LOCAL_MACHINE

    I am using VS2010 and I 'step in' at this line with debugger it just do 'step over'. I was surprised too by this behavior. Thanks for the code but I don't really see the harcoded value for...
  14. Re: Can CWinApp::SetRegistryKey() setup application registry under HKEY_LOCAL_MACHINE

    That's a good idea but string thing is that it nevers allow me to step into SetRegistryKey() function so I can't get to its source otherwise I thought I could use function cloning here.
  15. Re: Can CWinApp::SetRegistryKey() setup application registry under HKEY_LOCAL_MACHINE

    Are there any specific functions that I can create/access such file perhaps with the registry functions?
  16. Can CWinApp::SetRegistryKey() setup application registry under HKEY_LOCAL_MACHINE?

    By default CWinApp::SetRegistryKey() set the application registry under HKEY_CURRENT_USER so each user (windows login account) has their private settings stored for them. However I would like my...
  17. Re: Where is '$OutDir' defined in the script in Visual Studio?

    Yes that's where I have been looking. Here is my .vcxproj file and there is no mention of any identifiers which set this paths in project settings.


    <?xml version="1.0" encoding="utf-8"?>...
  18. Where is '$OutDir' defined in the script in Visual Studio?

    I have combined couple of projects into one solution. These projects are converted into VS2010 from older version. The problem is that I want all the projects to spit out the exectuables/dlls into...
  19. Replies
    1
    Views
    3,360

    How to remove application name from registry

    In a typical MFC application I use SetRegistryKey(_T("My_Company")); to set the root registry entry for my application. The MFC application however creates an entry by the name of executable where it...
  20. Replies
    6
    Views
    2,458

    Re: How to create MDI child with borders

    I did that but the properties doesn't tell me much. It's style is WS_CHILDWINDOW, WS_VISIBLE, WS_CLIPSIBLINGS, WS_CLIPCHILDREN, I am more after how to create this.
  21. Replies
    6
    Views
    2,458

    Re: How to create MDI child with borders

    It would seem that it is just a matter of creating smaller view inside the frame and than maybe I can handle no client area messages to further customize but apparently the view automatically...
  22. Replies
    6
    Views
    2,458

    How to create MDI child with borders

    How can I create MS Word 'print layout' like interface. The attached picture says it all. Basically I want a shaded area around my document just like word so it gives a feel of the 'page'.30813

    I...
  23. Re: debugging library: CXX0017: Error: symbol "X" not found

    I was able to fix this issue. The problem was that the libraries used by executable were in different path than created by library source code. I added library and exe project into same workspace and...
  24. Re: debugging library: CXX0017: Error: symbol "X" not found

    I did make sure the optimization is disabled in Properties >> C/C++ >> Optimization >> Optimization = Disabled (/Od) but I still have this issue. Is there any other place I can turn of optimization?...
  25. debugging library: CXX0017: Error: symbol "X" not found

    I am debugging a library. I can step into the code however the watch window doesn't show the values of any variables. It will display a message in the value field:


    m_pParent CXX0017: Error:...
Results 1 to 25 of 515
Page 1 of 21 1 2 3 4





Click Here to Expand Forum to Full Width

Featured