ok if that code doesnt work then ur doing one of two things ......
1 not using MDX.dll correctly ... by not loading it on init when ur dialog starts
2 not finding the correct path to dll for ur mdx dll ..... it took me a few hours to figure out the mdx at first but reading the helpfile a bit and seeing where it shows u how to do ur first mdx dialog helps alot ...... best thing i can say is to either have someone who understands how to use mdx do it for u ...... not likely to happen ... or read the help file over and over till it sinks in ...... it is a bit hard to understand at first ..... but once u figure out how to implement atleast one mdx function then u can implement them all