Hi all,
I am facing a problem while debugging a program developed under Visual Studio 2015 wich attacks a WinCCOA Database using "Provider=WCCOAoledb.WCCOAoledb;"
My Program consists in a .exe file that attacks a method included in a .dll
Both of code has been compiled in x86 mode.
I execute te program in the virtual machine where is installed the WinCCOA Database and it works fine.
The problem comes when i try to debug the code, for doing so i have installed a VS 2015 copy in the VM with the WinCCOA proyect and database, then i copy the code to that virtual machine, i open the proyect with the VS 2015 and rebuild it again, it generates the program.exe and the library.dll, i execute it and it works fine, but when i do execute within VS 2015 to debug it, it fails!!!
it says "Error: 'WCCOAoledb.WCCOAoledb' failed with no error message avaliable, result code: E_FAIL(0x80004005).
The most "interesting thing" is that the code compiled when debugging works outside VS 2015... i am really lost with thi , i don't understand this.
If someone could tell me how to debug in VS 2015 using Provider=WCCOAoledb.WCCOAoledb it would be very much appreciated.
Thanks in advance.
Debugging \"Provider=WCCOAoledb.WCCOAoledb;\" with VS 2015 not working
- ubusto
- Posts:11
- Joined: Tue Apr 05, 2016 9:55 am
Debugging \"Provider=WCCOAoledb.WCCOAoledb;\" with VS 2015 not working
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Debugging \"Provider=WCCOAoledb.WCCOAoledb;\" with VS 2015 not working
Hello,
maybe you have to use a different VS version for debugging.
Eg. when using WinCC OA 3.14 for API development you have to use VS 2013 as the WinCC OA processes have also been compiled using VS 2013.
Best Regards
Leopold Knipp
Senior Support Specialist
maybe you have to use a different VS version for debugging.
Eg. when using WinCC OA 3.14 for API development you have to use VS 2013 as the WinCC OA processes have also been compiled using VS 2013.
Best Regards
Leopold Knipp
Senior Support Specialist