From: Scott McPhillips [MVP] on
Good to hear, Jim. Since I sent you down that path I'm glad it did not lead
you into a blind alley :)

"JRGlide" <JRGlide(a)> wrote in message
>I just wanted to let everyone know that I finally got this thing working -
> least with a small test case. I created a basic non-Doc/View application
> with the wizard, converted it to a dll, and was able to call it from both
> MATLAB and a 'C' routine. I even added a simple dialog just to make sure
> that would work. Now I just need to convert my original Doc/View app to a
> non-Doc/View and see how that does. I was never able to get a Doc/View
> version to work as a dll, and didn't really need that support anyway.
> Anway, thank you everybody for your help. You were all very helpful.
> Turning the app into a thread was the trick. And Scott, your final
> suggestions did the trick!
> Once I get the viewer working I'll let you know how it turns out.
> Thanks again,
> Jim

Scott McPhillips [VC++ MVP]