CodeWright Extension DLL using ATL/WTL

Environment: VC6 SP4, NT4 SP3, CodeWright Editor

There used to be a sample of an MFC extension for CodeWright on the Premia Web Site. This one is similar but uses ATL/WTL instead. This DLL was initially created with the ATL Wizard (aren't they all).

The stdafx header pulls in a bunch of ATL and WTL headers and doesn't really use them at all (yet). You'll be able to tune them out as you go.

Look for variables and names with 'atl_test'-- they probably have to be revised as further clones are taken of this arrangement.

I have removed almost all COM server support--most COM client functions should work since the caller must call ole initialize. CodeWright??

I use events a lot so there is a general handler for them. I also use the dinkumware version of the libraries ( you may not, the standard ones should work okay ).

Note--exports.h header must be hacked if you include it (you'll probably need to. The hacked version leaves out StrTrim because shlwapi.h has hogged that name already!!

The most convenient way to hack on this is to use the Brief keymap and to use F9/shift-F9 to load/unload the DLL and F10 to exec functions.

Downloads

Download demo project - 54 Kb


Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Available On-Demand Today's changing workforce dynamics, economic challenges, and technological advances are placing immense pressure on business leaders to turn their focus on people – their most valuable asset – in order to remain competitive. Research shows that a significant number of new employees quit within one year of taking a new job*. Whether it's through a merger and acquisition, or standard hiring process, like any first impression, early experiences shape their opinions of their new …

  • Flash technology is becoming more prominent in the storage industry. Offering superior speed and reliability when compared to traditional hard disk drives – flash storage is a flexible and increasingly cost-effective technology that can be used to optimize enterprise storage environments. This ebook explores the many uses and benefits of flash storage technology in the enterprise. Check it out to discover and learn all you need to: Optimize storage performance Leverage server flash as storage cache …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds