• Download
  • Dream page
  • [STYLE]
  • Do we get to the other side?

    *cough* *cough* *cough*

    We are experiencing troubles with|in a|the tube(s). Please help us diagnosis this issue by verifying https://dave.thehorners.com/ is responding and displaying properly for you on your device. At this time, the main host is still


    https cert is NOT locked on either http(s)! disturbance in the force. USE AT YOUR OWN RISK!

    it should work but lock may not show green and secure; that is expected. If you can't get to secure sites, please use http://dave.thehorners.com/. If your ISP has restrictions to certain sites, consider another provider or another VPN. Life is too short and precious to be controlled and manipulated. I pray for ALL those people who are endure under censor and control; This is the Land of the Free and the Home of The Brave....the always on always connected multi-verse Internet right?! What's your locale like? I hope it's not oppressive. See here, a beautiful view from satellite(s) below. God Speed; and Good Luck.


    Ppl of the Internet. Right now, dave.thehorners.com is unavailable on the *[LTE AT&T network] (outage has been persistent for a long while; last personal report to ATT with no response 11/11/2018)

    I don' t know if it is an outage or what; but please do a tracert from your device and request access to dave.thehorners.com if it doesn't route from your ISP (at this time I only KNOW that LTE ATT is affected if you find otherwise, please post proof in deepdream. I was told 24 hours; but that was days and days ago. I would be interested in the help...frustrating figuring out a routing|sensor|censor problem. I will remove this message from my site when LTE is routing again from my phone. [DOWN NETWORK QUICK ACCESS NOTES] AT&T LTE - Customer service: 1 (800) 331-0500
    Pardon|Thank you|Merci|Gracias

    My current preferred deep dream site(s) are: fibFile dave.thehorners.com My last 3 deep dreams were:(b0caa;5141d;bcab1) the current time is 11/17/2018 at 01:56
    https://q4j2g5j9.stackpathcdn.com/ddg-dream/a9f99e2f09d974fdfc36e91384e18e453e9b0caa.jpg - AT&T

    If you are reading these bytes and you didn't have to hop around N+1 nodes to anon and make things confusing.....CONGRATULATIONS you're blessed to be free. Thank|Pardon|Garcias someone. It didn't happen by itself.
    and now back to the strange loop perspective of just another.

    Dave Horner's Website - Yet another perspective on things...
    Home Tech Talk Programming COM development
    58 guests and Dave
    Rough Hits : 3552138
    moon and stars
    how did u find my site?

    nature of God

    The number of UNIX installations has grown to 10, with more expected.
    --The Unix Programmer's Manual, 2nd Edition, June 1972
    0, 1, 1, 2, 3, 5, 8, 13, 21, 34,...
    xn = xn-1 + xn-2

    COM development

    Friday, 28 March 2008 02:26
    COM (Component Object Model) development is something that takes time to understand. I spent many hours reading about how COM works and how to program with it. I thought it was fun to create applications that integrate very closely with Word and IE. The ability to abstract methods of execution on multiple machines using IUnknown is great. DCOM and COM were a beast to learn however. There are many levels of abstractions to learn about. All of a sudden we are talking about contracts in IDL, querying for interfaces, registering controls, reference counting, threading apartment models, etc. It all takes time to grok.

    COM taught me to program to the interface. One usually wants to abstract out portions of their program to run on different machines or on the same machine across threads. These interfaces can be exposed to scripting languages like VBScript, JScript to allow for easy composition of functionality. COM is powerful and efficient at times. .NET managed code and the CLR have negated the need for much of it however. It was something that was promised as cross platform, without an implementation and looks to be going out the door?!
    Microsoft kills more third-party ActiveX controls

    A lot of HRESULT codes... - Random Thoughts and Hints on Software Development - Site Home - MSDN Blogs

    COM Maintenance

    Apparently there were some pretty serious security holes in ATL. Do you know that your ActiveX/COM assets are safe? Make sure to read the literature and patch accordingly!

    Microsoft Security Bulletin MS09-035 - Moderate: Vulnerabilities in Visual Studio Active Template Library Could Allow Remote Code Execution (969706)
    ATL Security Update July 28 2009, Microsoft announced that ATL was impacted in Security Advisory (973882) and provided updated versions of ATL with the release of security bulletin MS09-035.

    You can build COM components from all sorts of languages. MFC, VB, C#, Python, PHP, Perl, etc.
    The best way to create native COM controls is to write them using C++ ATL.
    The executables are small, fast, and easy to deploy.
    You can create and consume COM components from managed code as well.

    Some of the things you can do because of COM...

    Automate word/excel/access/etc to perform basically any action within the application as well as close access to the object model exposed. Also, have the ability to receive events as the user performs actions.
    Create new UI within IE using ActiveX. ActiveX is trusted native code, so you can really do anything your little heart desires.
    ISAPI filters for internet information server (MS's webserver).
    Extend windows explorer to add additional menu items.
    Custom applications of course.

    ActiveX does not own it's own MessageLoop

    Messages are pushed to it from the container, so one work around is to create a message hook.
    The TAB key, arrow keys, and accelerator keys do not work as expected when an ActiveX control is the parent window of a modeless dialog box or of a propertysheet window

    Windows Template Library - WTL

    When writing native COM controls, I think adding WTL is very important to gain strong UI capabilities. WTL is a set of C++ template libraries which extend the ATL templates with rich UI control. I've written and seen some very cool UI with WTL.
    SourceForge.net: Windows Template Library (WTL)
    CodeProject: WTL Class for ActiveX Hosting.
    Unwound Stack » How does WTL connect HWNDs to C++ objects?
    sergiu / wtl-cmake — Bitbucket - CMake find module for the Windows Template Library
    sergiu / wtl-helper — Bitbucket - Fixes and improvements for Sergey Solozhentsev's WTL helper
    sergiu / wtl-dockwins — Bitbucket - This projects represents a fork of Sergey Klimov's WTL docking windows library. It aims at fixing and imporving the library.

    COM future?

    Today, there are still somethings that are only done with COM. So until .NET replaces everything. There is still a real need for it.

    The comtypes package - The comtypes python package makes it easy to access and implement both custom and dispatch based COM interfaces.

    Active Template Library - ATL

    CodeProject: ATL/AUX Library. - great article and code.
    CodeProject: ATL - the whole ATL section in codeproject is priceless.
    daily blah: Practial advising with ATL
    BUGFIX: ATL's CWindowImpl crashes when OnFinalMessage contains code to destroy the class instance

    COM Eventing

    AtlEvnt.exe sample shows how to creates ATL sinks by using the ATL IDispEventImpl and IDispEventSimpleImpl classes
    How to sink HTML document events for WebBrowser host - syncs DWebBrowserEvents2 for DocumentComplete and then syncs to the documents HtmlDocumentEvents

    com proxy stub dll

    used to marshal data across boundaries like process boundaries or apartment boundaries.
    COM proxy stub dll and why do you need it - Random Thoughts and Hints on Software Development - Site Home - MSDN Blogs - my.idl -> my_h.h, my_i.c, my_p.c and dlldata.c

    signcode without password / signcode don't prompt password

    If you are writing certain types of COM controls (IE activex controls), you will need to sign your code with a signing key. To sign you'll use signcode, but signcode doesn't allow you to pass a password argument. Instead, use signtool.exe which comes part of VS2005 and within the (Platform SDK/Windows SDK). If you are using the Windows SDK, when I installed it was in "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin". It does allow you to specify the private key password on the command line. This is useful for automating a signed build.
    Code Signing for Developers
    Code Signing - more overview of signing stuff.
    Download details: Office 2000 Tool: PVK Digital Certificate Files Importer - includes pvkimprt tool
    P4 Tasks » Problems and Solutions installing pvkimprt.exe

    Shell programming

    Windows® API Code Pack for Microsoft® .NET Framework (v0.85) - Home - interesting, stuff you could only do with COM in managed code! Support for Windows Shell namespace objects, including the new Windows 7 libraries, Known Folders and non file system containers, Windows 7 Explorer Browser Control supporting both WPF and Windows Forms, Support for Shell property system.

    BITS - Background Intelligent Transfer Service

    daily blah: Background Intelligent Transfer Service

    Moserware: Finally Understanding COM After Changing a Light Bulb
    Moserware: Using Obscure Windows COM APIs in .NET

    Dependency Walker (depends.exe) Home Page - this tool has been invaluable to me. It tells you all the files required for a binary. (ocx,dll,exe,etc)
    Jer's One Stop Shop > Home - Silverlight 4 Hack: Use Native/Desktop CLR Without COM Registration
    COM for the “I did C++ once a thousand years ago, but only do .NET now” Developer –or– In the Defense of COM « Jer's Hacks
    Moserware: Using Obscure Windows COM APIs in .NET

    COM in plain C - CodeProject goes to COM in plain C, Part 7 - CodeProject.

    < Prev  Next >
    Last Updated on Saturday, 17 May 2014 17:48