When I tick DI API SAP B1 2007A in the reference window of VB6, I've got error loading DLL. I tried to add it in the reference of my report DLL project. The UI API is succeeded to add but DI is failed.
How to resolve this problem ? Thx in adv.
Warren Jiang replied
1, could you have a try to register DI dll manually again?
unregister, in windows -> start -> run, input
regsvr32 -u C:\Program Files\SAP\SAP Business One\DI API\2007\SAPbobsCOM2007.dll ( you can use your own path)
regsvr32 C:\Program Files\SAP\SAP Business One\DI API\2007\SAPbobsCOM2007.dll ( you can use your own path)
2, you can try to delete intermediate files in your project folder, such as obj/ bin/ folders.
3, you can add referect again.and rebuild your project