Page 1 of 1

What is path on MagickCoreGenesis function?

Posted: 2012-06-25T08:47:00-07:00
by cuongnh
I use MagickCoreGenesis(char* path, ...)

but i dont know how to setup path.

what is it?

Re: What is path on MagickCoreGenesis function?

Posted: 2012-06-25T09:03:40-07:00
by magick
Just give it a NULL or give it the path of the current working directory.

Re: What is path on MagickCoreGenesis function?

Posted: 2012-06-25T09:13:31-07:00
by cuongnh
I meet this error, how can I solve it?

Code: Select all

Command>       1 [main] qtopt 7540 exception::handle: Exception: STATUS_ACCESS_V
IOLATION
Exception: STATUS_ACCESS_VIOLATION at eip=610D3494
eax=00000000 ebx=00230000 ecx=6FF80000 edx=6FF90FAA esi=6FF93000 edi=6FF91FB4
ebp=0022FDAC esp=0022FD84 program=C:\Users\MumMum\Desktop\qtopt\bin\Debug\qtopt.
exe, pid 7540, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022FDAC  610D3494  (6FF93000, 6FF91060, 00000020, 01000000)
0022FDCC  6FF810D0  (612734EC, 6FF91A6D, 61031360, 0022FEF0)
0022FE3C  61027EF9  (6FF80000, 00000000, 00000001, 00602DC8)
0022FE5C  7794AF24  (6FF91A10, 6FF80000, 00000000, 00000001)
0022FF00  77953852  (00000000, 00000000, 00000000, 0022FF28)
0022FF14  779537C5  (00000000, 77E8F3B0, FFFFFFFF, 0022FF68)
0022FF28  773D2AE4  (00000000, 003D1458, 003D17D0, FFFFFFFF)
0022FF68  004010C5  (00000001, 00000000, 00000000, 00000000)
0022FF88  00401148  (7FFDD000, 0022FFD4, 7794B3F5, 7FFDD000)
0022FF94  773D1174  (7FFDD000, 77D187FE, 00000000, 00000000)
0022FFD4  7794B3F5  (00401130, 7FFDD000, 00000000, 00000000)
0022FFEC  7794B3C8  (00401130, 7FFDD000, 00000000, 78746341)

Re: What is path on MagickCoreGenesis function?

Posted: 2012-06-25T09:17:55-07:00
by magick
Your trace does not provide enough information for us to help. Which lib did the problem fault on? Did you try a NULL with MagickCoreGenesis(). We typically use MagickCoreGenesis(*argv,MagickTrue).