I don't see any registry for: "HKEY_LOCAL_MACHINE\SOFTWARE\ACCPAC International, Inc.\ACCPAC\Debug\Repcmd"
Still having the error even I copy the a4wcrInterop.dll in the folder where your .exe file resides.
Also found this on my event viewer:
Faulting application name: VB6.EXE, version: 6.0.81.76, time stamp: 0x3592011f
Faulting module name: A4WAPI.dll, version: 6.7.0.0, time stamp: 0x5d5b9629
Exception code: 0xc000041d
Fault offset: 0x0006b986
Faulting process id: 0x5da8
Faulting application start time: 0x01d5a33b82478154
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\VB98\VB6.EXE
Faulting module path: D:\SAGE\Sage 300\RUNTIME\A4WAPI.dll
Report Id: 631c8e10-969d-4470-9f3f-8e03192c617a
Faulting package full name:
Faulting package-relative application ID: