I am using Windows7 32 bit with Visual Studio 2008.
I downloaded the binary installation and installed it successfully.
1. Create Desktop Icon - Ticked
2. Add application directory to your system path - Ticked
3. Install development headers and libraries for c and C++ - Ticked
I even converted some PNG images using the command prompt.
Then I opened Magic++_Demo.dsw and compiled it.
It failed because the library name used was "CORE_RL_magic.lib" where as the actual library in the lib folder is "CORE_RL_Magic.lib".
I Changed the library names in the project properties and it compiled successfully.
But When I run it I get the following error on the line number 61 button.read( backGround)
Magick::ErrorMissingDelegate at memory location 0x0012fafc.
On the command prompt, I even checked the delegates and PNG is in the list.
I am struggling it with for more than 3 days and need to get a resolution at the earliest. Kindly look into my issues and advise.
ErrorMissingDelegate at Memory Location
-
- Posts: 6
- Joined: 2017-03-02T04:42:11-07:00
- Authentication code: 1151
Re: ErrorMissingDelegate at Memory Location
Did you find a solution in the meantime?
I get the same error running my Application using ImageMagick.
I copied all needed DDL's into the folder "c:\Program Files (x86)\Common Files\MyCompany\MyApp".
I got alway this error.
The reason is this code:
// Read PBM file from disk
Image image( cspbmFile.c_str( ) );
If I install "ImageMagick-7.0.6-0-Q16-x86-dll.exe" it is working.
But I don't want that everybody has to install this Setup within my Application Setup.
For this I copied "ALL" existing DLL’s into the CommonFiles folder. But it doesn’t work.
What can I do?
I think there is a registry entry missed.
I get the same error running my Application using ImageMagick.
I copied all needed DDL's into the folder "c:\Program Files (x86)\Common Files\MyCompany\MyApp".
I got alway this error.
The reason is this code:
// Read PBM file from disk
Image image( cspbmFile.c_str( ) );
If I install "ImageMagick-7.0.6-0-Q16-x86-dll.exe" it is working.
But I don't want that everybody has to install this Setup within my Application Setup.
For this I copied "ALL" existing DLL’s into the CommonFiles folder. But it doesn’t work.
What can I do?
I think there is a registry entry missed.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: ErrorMissingDelegate at Memory Location
@rajeevraina: I'm not clear what you have installed. Perhaps you haven't installed delegates that you can build programs with. You installed a binary IM, so that doesn't need development libraries for the delegates.
I think the portable version doesn't use the registry, and can be moved to a different directory. The other versions can't be moved after installation.paul wrote:I think there is a registry entry missed.
snibgo's IM pages: im.snibgo.com
Re: ErrorMissingDelegate at Memory Location
@paul. If you don't want your clients to install ImageMagick you probably want to statically link ImageMagick in your application.
Re: ErrorMissingDelegate at Memory Location
@ snibgo : What do you mean with "portable version"? What is this? Where can I get it?
I'm using "ImageMagick-7.0.6-0-Q16-x86-dll.exe" it is working.
But using all DLL's in a new separate folder and rename (or delete) the Installation path of "ImageMagick-7.0.6-0-Q16-x86-dll.exe" I got the Message:
Magick::ErrorMissingDelegate at memory location 0x0012fafc.
I'm using "ImageMagick-7.0.6-0-Q16-x86-dll.exe" it is working.
But using all DLL's in a new separate folder and rename (or delete) the Installation path of "ImageMagick-7.0.6-0-Q16-x86-dll.exe" I got the Message:
Magick::ErrorMissingDelegate at memory location 0x0012fafc.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: ErrorMissingDelegate at Memory Location
You can get it from the usual Windows binary distribution http://www.imagemagick.org/script/binar ... hp#windows and search for the word "portable".
snibgo's IM pages: im.snibgo.com
Re: ErrorMissingDelegate at Memory Location
[@ snibgo : Thanks for the hint, but it seems not to be I'm looking for.
I expect something with all DLL's from ImageMagick running my application. e.G.: IM_MOD_TL_****.dll and CORE_RL_****.dll within a folder "\modules\coders".
I expect something with all DLL's from ImageMagick running my application. e.G.: IM_MOD_TL_****.dll and CORE_RL_****.dll within a folder "\modules\coders".
Re: ErrorMissingDelegate at Memory Location
Hello all,
I've found the solution for my problem.
There is a registry key "[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ImageMagick\7.0.6\Q:16]" where I have to set the key "BinPath" to my "...\Common Files\MyCompany\MyProject" folder instead of the installation path.
Now it's working.
I've found the solution for my problem.
There is a registry key "[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ImageMagick\7.0.6\Q:16]" where I have to set the key "BinPath" to my "...\Common Files\MyCompany\MyProject" folder instead of the installation path.
Now it's working.