Visual Studio 15 issues

A free API for the communication with control units based on the Universal Measurement and Calibration Protocol (XCP) by ASAM for Windows®
Post Reply
bz01t4
Posts: 2
Joined: Wed 17. Dec 2014, 00:59

Visual Studio 15 issues

Post by bz01t4 » Thu 3. Mar 2016, 03:23

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?

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: Visual Studio 15 issues

Post by M.Maidhof » Thu 3. Mar 2016, 09:41

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

bz01t4
Posts: 2
Joined: Wed 17. Dec 2014, 00:59

Re: Visual Studio 15 issues

Post by bz01t4 » Sat 5. Mar 2016, 03:12

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!

Post Reply