How can i use Image magick in MFC?
Posted: 2007-01-08T02:09:15-07:00
Hi all,
I have creating dialog based window in vc++(MFC) and installed image magic(dynamic dll of binary version).
I need to know about InitializeMagic(char *) function. Is Magic must be initialize?... and which path is send to this function as a parameter.
when i read one image using read(std::string) function..... Error will be thrown like......
Unhandled exception at 0x000c256.. in sample.exe:0xC000075:
Access voilation writing location 0xcde....
Anybody know about this problem let me know...
Thankx in advance...
I have creating dialog based window in vc++(MFC) and installed image magic(dynamic dll of binary version).
I need to know about InitializeMagic(char *) function. Is Magic must be initialize?... and which path is send to this function as a parameter.
when i read one image using read(std::string) function.....
Code: Select all
#include Magick++.h
#include iostream
using namespace std;
using namespace Magick;
{
Image img;
img.read("c:\\logo.jpg");
}
Unhandled exception at 0x000c256.. in sample.exe:0xC000075:
Access voilation writing location 0xcde....
Anybody know about this problem let me know...
Thankx in advance...