LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

FATAL RUN-TIME ERROR: Out-of-bounds pointer argument (before start of memory block) ???

Hi.
I am getting the following error code in an image analysis function
funtion call:
cpmResults = imaqMatchColorPattern(image, imageTemplate,  &cpmOptions, searchRect, &numMatchesFound); )
Error message:
FATAL RUN-TIME ERROR:   "ImageProcessing.c", line 156, col 77, thread id 0x00001240:   Out-of-bounds pointer argument (before start of memory block).

with cpmOptions highlighted

interupting and variable watching cpmOptions shows that every member looks ok!

I've tried to declare a MatchColorPatternOptions* and allocate its memory before copyng the address of cpmOptions into it and pass the pointer, same result!

Does anybody have an idea?

Thanks heaps!

0 Kudos
Message 1 of 2
(3,653 Views)
This is a duplicate post. Please refer to this thread for the active discussion of this issue.
John B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,612 Views)