Code: Select all
;{
ImportC "opencv_world320.lib"
cv2DRotationMatrix(*center, angle.d, scale.d, *map_matrix)
cvAbsDiff(*src1, *src2, *dst)
.
.
.
.
EndImport
;}
Code: Select all
;{
Global opencv_world320.i = MemDLL_LoadLibrary(?wldStartFile)
If opencv_world320 > 0
PrototypeC protocv2DRotationMatrix(*center, angle.d, scale.d, *map_matrix)
PrototypeC protocvAbsDiff(*src1, *src2, *dst)
PrototypeC protocvAbsDiffS(*src, *dst, *value)
.
.
.
Global cv2DRotationMatrix.protocv2DRotationMatrix
Global cvAbsDiff.protocvAbsDiff
Global cvAbsDiffS.protocvAbsDiffS
.
.
.
cv2DRotationMatrix = MemDLL_GetProcAddress(opencv_world320, "cv2DRotationMatrix")
cvAbsDiff = MemDLL_GetProcAddress(opencv_world320, "cvAbsDiff")
cvAbsDiffS = MemDLL_GetProcAddress(opencv_world320, "cvAbsDiffS")
.
.
.
EndIf
;}
I run debugged with onerror support and receive errors starting from line where "cvFlip(*image, #Null, 1)" up to all lines where cvMemory procedures used.
The interesting is that:
original with dll wrapper without memdll is working
opencv examples with memdll in x86 working
other x64 ipcamera sdk dlls with memdll is working
just this is making problems.
OpenCV 3.2 x64 donloaded from:
https://1drv.ms/u/s!ApfjGYM2v-vZnAIvlgnicqI_hxxu
memDll.pbi from
http://www.purebasic.fr/english/viewtopic.php?t=67345
memDll.pbi uploaded to dropbox:
https://www.dropbox.com/s/e9czydcarjl2v ... l.pbi?dl=0
modified cv_functions.pbi uploaded to:
https://www.dropbox.com/s/y0sdyea1oesia ... s.pbi?dl=0
Thanx in Advance