I have some screen shots which I'd like to upload, but I can't figure out how to do so.
They would be useful in any discussions.
OK, without pictures, the problem is this: I tried to get a very simple program to go and it failed
Code: Select all
void Cttt1View::myMagic(void)
{
InitializeMagick("");
try {
Image img1("c:\\ilan\\ctview\\model.miff");
img1.write("c:\\temp\\xxxy.jpg");
}
catch(...) {
int i = 0;
}
}
find the file. If I purposely put in a non existent file, I will get the same error.
I looked at your demo program and that worked. I tried to break your demo program to see what would break it.
I couldn't break your demo and I couldn't get my program to recognize the file.
Finally, I decided that just maybe because I was using debug and you were using release, that could be something.
So I switched my compilation to release, and it all started to work.
I tried to step into your code, but I suspect I need the source code to do that. I could show you my stack trace
if I could upload an image. You can clearly see that it is 4 levels into your dlls.
BTW, since I went through the pain, I could post some images showing exactly what you have to fix in the Visual Studio project in order to work with your software. Still my problem at the moment is that it works ONLY in release mode and not in debug mode. To develop code in release mode isn't a serious way to work.
Thanks,
Ilan