Page 1 of 1

Visual Studio 15 issues

Posted: Thu 3. Mar 2016, 03:23
by bz01t4
Am using Win 8.1 Pro and Visual studio 15 on a 64 bit machine. I followed the instructions and put all my 32 bit DLLs (PXCP.dll and PCANBasic.dll) in Windows/SysWOW64 and all my corresponding 64 bit DLLs in Windows/System32 and can't build a single sample project, either C#, C++ or VBasic. I either get
An unhandled exception of type 'System.DllNotFoundException' occurred in PxcpSample.exe
here:
Return InitializeCanChannel(XcpChannel, Channel, Btr0Btr1, 0, 0, 0)
in VB,

Or:
The ordinal 11 could not be located in the dynamic link library C:\Windows\System32\PXCP.dll
in C++,

Or:
An unhandled exception of type 'System.DllNotFoundException' occurred in XCP Master test.exe
Additional information: Unable to load DLL 'PXCP.dll': The operating system cannot run . (Exception from HRESULT: 0x800700B6)
in C#
here:
Return InitializeCanChannel(XcpChannel, Channel, Btr0Btr1, 0, 0, 0)

What am I missing?

Re: Visual Studio 15 issues

Posted: Thu 3. Mar 2016, 09:41
by M.Maidhof
Hi,

this looks like a 32/64bit dll mixup.

Please download the Sysinfo tool from the following link:

http://www.peak-system.com/fileadmin/me ... ysInfo.zip

unzip it and start the *.exe (no istallation required), then make a system analysis (don´t use the quick-analysis functionality) and save the result into a XML file. Please sent the XML file to us by email (support emailaddress) for a check.

best regards

Michael

Re: Visual Studio 15 issues

Posted: Sat 5. Mar 2016, 03:12
by bz01t4
That's a great tool. Using it, I was able to see I had old versions of the DLL scattered around, and the old pcanbasic dlls found their way into the system directories. All good - thanks!