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
K

Kurotora

@Kurotora
About
Posts
14
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Dividing VC++ forum
    K Kurotora

    Hi, VC++ forum is very hot and question post last night becomes 3 or 4 pages away tonight.:(( How about dividing that forum into 2 or 3, categorizing MFC, Win32... I don't have good idea for that. Do you guys have some nice one? I love Code Project, do you? Kurotora

    Site Bugs / Suggestions c++ question

  • How to find out the window is read-only?
    K Kurotora

    Why do you think that debug output window is based on RichEdit? It dosen't seem to me so. I inspected that window using spy and nothing tells me it's read-only. I love Code Project, do you? Kurotora

    C / C++ / MFC tutorial visual-studio debugging question

  • How to find out the window is read-only?
    K Kurotora

    Hi, If you see a caret on window, you can type character in or not depending on the purpose of the window. For Edit class window, we can find out the window is read-only or not by checking window style bit (ES_READONLY). Though, for user defined window class(es), I don't know how to do this. For example, debug output window of VC IDE has caret but that window is read-only. I want to know a way to find out given window which has a caret is a read-only or not. Why? The reason is I'm writing a tool that shows caps-lock status using tiny icon that chases caret, but for read-only window, I want to disable this chasing. If you don't understand what I want to do in my app, please just igonre this. Important thing to me is, a way to know window is read-only or not. (FYI: Have you ever heared about IME (input method editor)? IME seems to know a way I want to do.) I love Code Project, do you? Kurotora

    C / C++ / MFC tutorial visual-studio debugging question

  • Delayload won't work for DLL itself?
    K Kurotora

    Tomasz, /delay:nobind option didn't work. Thanks anyway. I love Code Project, do you? Kurotora

    C / C++ / MFC help question announcement learning

  • Delayload won't work for DLL itself?
    K Kurotora

    Tomasz, GetLastError() returns 0x1f (ERROR_GEN_FAILURE). Same code works on Windows 98 (but it could be loading oleacc). Thanks. I love Code Project, do you? Kurotora

    C / C++ / MFC help question announcement learning

  • Delayload won't work for DLL itself?
    K Kurotora

    Tomasz, o No, there is no such objects related to oleacc. o LoadLibrary() returned zero. I'm mostly giving up to make single binary work on 3 different Windows.:(( I love Code Project, do you? Kurotora

    C / C++ / MFC help question announcement learning

  • Delayload won't work for DLL itself?
    K Kurotora

    Masaaki, I'm not interested in Delayloadprofile.exe at all.:confused: My question is, can DLL load another DLL when needed by using /delayload linker option as we do with EXE. Getting idea? I love Code Project, do you? Kurotora

    C / C++ / MFC help question announcement learning

  • Delayload won't work for DLL itself?
    K Kurotora

    Hi, I've been writing application for Windows 95/98/Me which loads private DLL. In that DLL, I need to call functions in oleacc.dll that is not supported in Windows 95. To let single binary work on 3 different Windows, I tried Delayload option. /delayload:oleacc.dll option seems worked, since dependency walker didn't show oleacc.dll is used. Though, when I tried to load my private DLL by LoadLibrary(), it failed. (I'm using LoadLibrary() and GetProcAddress() to control my DLL to handle any error regarding to this DLL.) And of course, it worked fine on 98/Me. I'm quite sure any function belongs to oleacc was not called in DllMain(). If I commented out those functions, linker warned me that /delayload:oleacc.dll had no effect (which is supposed to be), and I could load my DLL. So, for me, it looks like Delaylod won't work for DLL itslef. Thinking about a background of this mechanism, I can't understand why it didn't work. Can anyone help me out? (Please forget about installing some optional kit on Windows 95, since my target is Japanese version and no one is available for that.) I love Code Project, do you? Kurotora

    C / C++ / MFC help question announcement learning

  • How to include code fragment on forum message?
    K Kurotora

    Christian,

    for(i = 0 ; i < 8 ; ++i)
    

    Oh!:) It worked. Isn't it nice to have short help for this kind of staff on Posting page? Tnanks. I love Code Project, do you? Kurotora

    IT & Infrastructure question tutorial

  • How to include code fragment on forum message?
    K Kurotora

    Hi, I tried to find but failed so asking here. How can I include code fragment on forum message like this? When I simply do this, it looks very bad. Someone do this nicely so there must be a RIGHT way for this. Where can I read description for that in Code Project? Thanks. I love Code Project, do you? Kurotora

    IT & Infrastructure question tutorial

  • missing DLL_PROCESS_DETACH
    K Kurotora

    Carlos, Yes. My application unloads my DLLs with FreeLibrary() and do this up to 100 times until GetModuleFileName() returns 0 which means my DLLs are unloaded from memory. Normaly it's working fine. Can anyone know how to unload DLL perfectly without rebooting system? Thanks. I love Code Project, do you? Kurotora

    C / C++ / MFC design performance help question announcement

  • missing DLL_PROCESS_DETACH
    K Kurotora

    Tomasz, Thank you giving me hint. Can you/anyone let me clear that DLLs are unloaded but not just notified to it? Basically it should I hope though I had a problem with never-unloading-dll. Thanks. I love Code Project, do you? Kurotora

    C / C++ / MFC design performance help question announcement

  • missing DLL_PROCESS_DETACH
    K Kurotora

    Hi, I've been writing DLL that attaches to any process by using global hook, and I need to handle attach/detach operation. It is working fine except when I abort debugging program with msdev. I'm using Japanese version of msdev so I can't tell you the exact name of menu title to ABORT debugging, but we sometimes do that for various reasons. In that case, DllMain was not called with DLL_PROCESS_DETACH. And it seems DLL is left loaded. (The reason I think so is: I can't delete that DLL file even after I ended my application which unloads all DLLs from memory.) I'm doing this on Win2K. And not that program being debugged with msdev is not a program that loads the DLL and let attach to processes. Is that a problem by design? If someone knows any documents describing this, please let me know. Thanks. Kurotora

    C / C++ / MFC design performance help question announcement

  • MSAA class?
    K Kurotora

    Hi, I was asked to support MSAA to make custom controls readable by "Screen Reader". For example, I have CListCtrl which shows bitmaps representing key tops. Currently those bitmaps can't let screen reader *read* and I would like to make this possible in easier and smarter way. If someone can provide a class to add MSAA capability to controls (for example, custom bitmap button), that will be very nice. Kurotora

    Article Writing graphics 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