smg,
For the benefit of others not privvy to our offline conversations: There is a BIG jump in knowledge from writing MetaStock Formula Language Functions to writing MS .dll add-ins, whether you are using C/C++, PowerBasic, Delphi etc.
The MetaStock Formula Language was designed to be simple to allow TRADERS to implement functionality without having to learn the complexities of a full-blown programming language. Once you leave the safe confines of the MetaStock Formula Editor and start building your own external functions, you immediately have to deal with some very advanced concepts in order to write even the most simple add-in function, you have entered the world of PROGRAMMERS. Now there are plenty of traders and there are many programmers, but the number of programmers who also trade and the number of traders who can also program are a lot fewer!
The MDK and its Users Manual was written with (relatively) advanced programmers in mind and the sample codes contained therein are mostly sufficient to get most programmers started. (After a short while, once you get the hang of writing .dlls you will find the MDK manual does not go far enough and there are many issues not mentioned in the manual that will confront you at some point in the future!) You will have to immediately deal with memory pointers and the unusual(?) structs that contain the equity data, the passing of information to/from the external functions and the fact that MS will fully evaluate the code in MSFL and your external functions (which can cause all sorts of chaos for the unwary!)
As for the Integrated Development Environments (IDEs), when the MDK was created VS6 was the IDE of choice. The decision of Microsoft not to support it any more is a shame (read some of the MANY discussion on the web about this fact! we are not alone in our dismay in the demise of VS6) but it is still possible to write Win32.dll files in VC++ 2005 and the free Express edition and many more IDEs too. Another alternative that might be worth a look is Dev-C++ from Bloodshed. Once the idisyncrasies of each IDE are sorted out (which might require help / assistance fromt he IDE manufacturer) the process of writing code is very similar.
Anyway, I have sent you some stuff via email, I hope you get it and find it useful.
Hope this helps.
wabbit
MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC & MDK
For custom MetaStock programming : http://www.wabbit.com.au
My SkyPE status : 
My SkyPE account : wabbit.com.au