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
H

HakunaMatada

@HakunaMatada
About
Posts
759
Topics
226
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • COM DLL Registration
    H HakunaMatada

    Yes! Yes! I got it! Eureka! :-) I made changes to the .rgs file so that the coclasses are registered with HKCU.

    HKCU
    {
    Software
    {
    Classes
    {
    .....
    }
    }
    }

    Then I rewrote the

    CComModule.RegisterServer()

    function to register the type library using

    RegisterTypeLibForUser

    . That did the trick. Thanks for your help!

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    ATL / WTL / STL question c++ oracle com windows-admin

  • COM DLL Registration
    H HakunaMatada

    I now seem to be able to update the rgs values into the HKCU key but now how do I register the Typelib of the COM DLL in HKCU???

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    ATL / WTL / STL question c++ oracle com windows-admin

  • COM DLL Registration
    H HakunaMatada

    Hi all, Greetings and Salutations!! I have a problem registering COM DLL's. I use ATL to create COM components but the rgs files which ATL creates and the registration process of ATL seems to only register the DLL with HKEY_LOCAL_MACHINE. If I want to register the DLL using a Windows Guest user, it does not seem to register it. Now, I looked at skype and skype seems to install on both guest accounts and admin accounts. Ofcourse, Skype does use COM DLLs but it seems that the trick is to register the DLL within HKEY_CURRENT_USER. This seems to work for skype so why shouldn't it work for me? Ofcourse, the installation would only be available to the guest user but I am ok with that. My question is, can I just make changes to the rgs file and register the DLL with HKEY_CURRENT_USER or do I have to write routines of my own which makes entries in the registry? In short, is there any way other than writing your own code which can be used to register my COM DLL with HKEY_CURRENT_USER?? Thank You for your time.

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    ATL / WTL / STL question c++ oracle com windows-admin

  • Threading
    H HakunaMatada

    Thank You! :)

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    C / C++ / MFC performance help question c++ oracle

  • PeekMessage and DoEvents
    H HakunaMatada

    Is the following snippet of MFC code similar to the DoEvents() functionality in Visual Basic?

    MSG msg;
    if(PeekMessage(&msg, AfxGetMainWnd()->m_hWnd, 0, 0, PM_REMOVE))
    {
    TranslateMessage(&msg);
    DispatchMessage(&msg);
    }

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    C / C++ / MFC c++ oracle security json

  • Threading
    H HakunaMatada

    Thank You Cedric. Your help is much appreciated. :)

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    C / C++ / MFC performance help question c++ oracle

  • Threading
    H HakunaMatada

    Could someone direct me to a resource on threading for C++? I am familiar with threading but I would like to learn more about thread synchronization, UI Threads, Updating UI via worker threads, etc. Also, I would also like to learn about memory profiling and finding memory leaks in the code. Any kind of help would be deeply appreciated. Also, is it ok to update the UI of a dialog from a worker thread using SendMessage/PostMessage? How do I handle multiple worker threads making changes to the same UI? Thank You.

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    C / C++ / MFC performance help question c++ oracle

  • Outlook+c#
    H HakunaMatada

    Check this out. http://office.microsoft.com/en-us/outlook/HA101595391033.aspx[^] Hope it helps. And I don't think you can add a RSS feed to Outlook 2003 and below. Ofcourse you may look for add-in solutions or create one of your own. :-D

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    C# question csharp help

  • The new Nepal
    H HakunaMatada

    Sucks man.

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    The Lounge question discussion

  • Workflow, Flowcharting libraries
    H HakunaMatada

    Does anybody here have any idea where I could find some open source workflow, flowcharting libraries? I am using .NET 2.0 with Windows 2000. Any help would be deeply appreciated. :)

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    The Lounge help csharp oracle security json

  • COM Communication
    H HakunaMatada

    Thank You. :)

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    COM question oracle com security json

  • COM Communication
    H HakunaMatada

    Although a very basic question, but can anybody tell me what COM uses internally to talk between components? Is the mode of communication same for COM and DCOM or are they different? Do they use RPC, Sockets, Pipes, etc...? Thanks.

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    COM question oracle com security json

  • Google Gadgets vs. Yahoo! Widgets vs. Vista Gadgets [modified]
    H HakunaMatada

    From what I understand you have to create a Gadget/Widget and you are having problems choosing the right Gadget/Widget framework. Well as you said, Vista gadgets runs only on Vista and are not cross platform in nature. So I guess it boils down to either the Google gadgets or the Yahoo Widgets. Well both have their advantages and disadvantages. Google gadgets work on Windows 2000+, Linux(not sure) and the Mac OS whereas Yahoo widgets are available on Windows and Mac. The same Google gadget works for the desktop sidebar as well as the iGoogle page which means you create one gadget and it works for the desktop as well as the web. I believe you can create cross platform gadgets as well. I do not think such is the case with Yahoo widgets. But the recent version of yahoo widgets supports Flash as well as HTML. I am not sure whether the Google gadgets support a flash based gadget. Why don't you try out Extensio's[^] gadgets/widgets? They also do have gadgets/widgets but I doubt if they meet your requirements. Have a nice day. :)

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    The Lounge question php html visual-studio com

  • Dear Bank Manager
    H HakunaMatada

    Found this piece quite good. Hope you all like it. I am writing to thank you for bouncing the check with which I endeavoured to pay my plumber last month. By my calculations some three nanoseconds must have elapsed between his presenting the check, and the arrival in my account of the funds needed to honour it. I refer, of course, to the automatic monthly deposit of my entire salary, an arrangement which, I admit, has only been in place for eight years. You are to be commended for seizing that brief window of opportunity, and also for debiting my account with $50 by way of penalty for the inconvenience I caused to your bank. My thankfulness springs from the manner in which this incident has caused me to re-think my errant financial ways. You have set me on the path of fiscal righteousness. No more will our relationship be blighted by these unpleasant incidents, for I am restructuring my affairs in 2005, taking as my model the procedures, attitudes and conduct of your very bank. I can think of no greater compliment, and I know you will be excited and proud to hear it. To this end, please be advised about the following changes: First, I have noticed that whereas I personally attend to your telephone calls and letters, when I try to contact you I am confronted by the impersonal, ever-changing, pre-recorded, faceless entity which your bank has become. From now on I, like you, choose only to deal with a flesh and blood person. My mortgage and loan repayments will, therefore and hereafter, no longer be automatic, but will arrive at your bank, by cheque, addressed personally and confidentially to an employee of your branch, whom you must nominate. You will be aware that it is an offence under the Postal Act for any other person to open such an envelope. Please find attached an Application Contact Status which I require our chosen employee to complete. I am sorry it runs to eight pages, but in order that I know as much about him or her as your bank knows about me, there is no alternative. Please note that all copies of his or her medical history must be countersigned by a Justice of the Peace, and that the mandatory details of his/her financial situation (income, debts, assets and liabilities) must be accompanied by documented proof. In due course I will issue your employee with a PIN number which he/she must quote in all dealings with me. I regret that it cannot be shorter than 28 digits but, again, I have modelled it on the number of button presses required to access my account balance on

    The Lounge help career learning

  • CP - Fantasy Football League (NFL)
    H HakunaMatada

    I am in.......

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    The Lounge help question

  • Using COM in a scenario.
    H HakunaMatada

    Hi, I have a small problem. Hope you guys help me solve it. Here goes... I have a base class BASE and three classes derived from BASE, namely A, B and C. BASE contains properties and functions common to A, B and C. Now, I have to create multiple instances of A, B and C and store them together. So what do I do? I create an array of BASE pointers and a variable which signifies the type of derived class the BASE pointer holds so that whenever I need a derived class, I just get the pointer and type from the Array and upcast it to its concerned class. Is this a good design? Now I have to implement the same using COM components. I have to expose BASE, A, B and C via COM interfaces and create the component such that when ever I get a BASE component, just by looking at the type, I can Query it for the appropriate Interface. Is the correct way of solving such a problem or is there a better way to do it? Thanks..

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    COM help database oracle com design

  • GUID Creation
    H HakunaMatada

    How does GUID creation work? I mean how is the algorithm designed such that no two people on opposite corners of the world get the same GUID? :confused:

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    COM oracle algorithms security json help

  • Framework origins
    H HakunaMatada

    I was wondering what went into the making of the .NET framework. Was it plain C or C++? Is COM used extensively? Anything else being used there? Just wondering.... :)

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    .NET (Core and Framework) csharp c++ oracle dotnet com

  • A very basic question
    H HakunaMatada

    Here is a basic question on Structures. Do Structures support inheritance and if so how different is it from Class inheritance?

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    C / C++ / MFC question oracle security json oop

  • Car Question for Indians
    H HakunaMatada

    Thanks for the advice. Everyone's recommending the Santro. :) Guess I will be driving the Sunshine car after all.... :-D

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    The Lounge question oracle security json help
  • Login

  • Don't have an account? Register

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