1

Topic: Re: the Teapot was tangled or help Delferu

_ wrote:

the Error arises at cloning. I.e. image = nil well or NULL

It is necessary to check, what image not nullptr (instead of NULL so is more correct), in Delfah conditions are? smile
if (image! = nullptr) then cloning. Though it is strange that cvCloneImage does not check an input parameter on the same nullptr

wrote:

well and where the declaration image? Or in Delfi it is possible and not to declare?

it not , it with ++

2

Re: Re: the Teapot was tangled or help Delferu

I will pay attention that is thrown out cv:: Exception, . an internal exception of library.
She wants that that to tell, it is necessary to clarify that.
Probably, in studio debag-assemblage with expanded diagnostics is launched.

3

Re: Re: the Teapot was tangled or help Delferu

Siemargl wrote:

I Will pay attention that is thrown out cv:: Exception, . an internal exception of library.
She wants that that to tell, it is necessary to clarify that.
Probably, in studio debag-assemblage with expanded diagnostics is launched.

So ask it that she wants...

4

Re: Re: the Teapot was tangled or help Delferu

_ wrote:

the file there Supposed and all earned, and at  it is necessary to lay down near to .

Not is mandatory helps. The working folder is not obliged to coincide with a finding folder exe. That that it coincides at start exe from an explorer  it simply special case.

5

Re: Re: the Teapot was tangled or help Delferu

_;
GetModuleFileName - it is possible to learn, whence us launched, where we are
GetCurrentDirectory/SetCurrentDirectory - A working current folder for current process
SHGetFolderPath - to receive a folder way on the identifier. It for place search in "my documents" where is better to store resources for program operation (i.e. to store near to ehe-shnikom not always well).