I am a delphi user. I have included two units in my app in order to use Image Magick
Code: Select all
ImageMagick in 'C:\Program Files (x86)\Borland\Delphi7\Lib\Magick\magick\ImageMagick.pas',
magick_wand in 'C:\Program Files (x86)\Borland\Delphi7\Lib\Magick\wand\magick_wand.pas';
DYLD_LIBRARY_PATH and
MAGICK_CODER_MODULE_PATH
Unfortunately Setting these paths using: SetEnvironmentVariable or _putenv_s from msvcrt.dll is not working and I cannot call MagickReadImage method.
When I open console window set these two variables by SET operation and run the app then everything is okay ...
What can i do?