Archive: Error Using Regdll


Error Using Regdll
Am using REGDLL to register a ocx file, this is my code

REGDLL "Pluginns\TwainControlX.ocx"

But am getting this error

There was an error starting twain:Could not load file or assembly 'AxInterop.twainControlx, version = 2.4.00,culture = nuetral,public token = null or one of its dependencies. the system cannot find the file specified

Can someone please explain this to me in details if he/she has an idea or ever came across such a problem and how was it resolved


One of its dependencies could be missing. Check it with Dependency Walker.

Stu


RegDLL
Thank you for your help. However, I fixed it by:

setOutPath $INSTDIR
REGDLL "$INSTDIR\myocx.ocx"