Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 42 → Rev 41

/wiener_pcivme_dll/Release/pcivme_ni.obj
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/wiener_pcivme_dll/Release/pcivme_ni_NT.obj
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/wiener_pcivme_dll/Release/pcivme_ni.dll
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/wiener_pcivme_dll/Release/pcivme_ni.log
1,17 → 1,23
Build started 14.4.2014 15:35:41.
1>Project "C:\home\rok\wiener_pcivme_dll\pcivme_ni.vcxproj" on node 2 (Build target(s)).
Build started 10.2.2014 9:31:30.
1>Project "C:\Users\f9daq\rok\wienerpciada\PciVme\Dll-source\pcivme_ni.vcxproj" on node 2 (Rebuild target(s)).
1>ClCompile:
C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /I. /Zi /nologo /W3 /WX- /O2 /Oy- /D WIN32 /D NDEBUG /D _WINDOWS /D _VC80_UPGRADE=0x0600 /D _WINDLL /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo".\Release\\" /Fd".\Release\vc120.pdb" /Gd /TC /analyze- /errorReport:prompt pcivme_ni.c
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\CL.exe /c /I. /Zi /nologo /W3 /WX- /O2 /Oy- /D WIN32 /D NDEBUG /D _WINDOWS /D _VC80_UPGRADE=0x0600 /D _WINDLL /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo".\Release\\" /Fd".\Release\vc110.pdb" /Gd /TC /analyze- /errorReport:prompt Klist.c os_info.c pcivme_ni.c pcivme_ni_NT.c
Klist.c
os_info.c
pcivme_ni.c
pcivme_ni_NT.c
1>pcivme_ni_NT.c(103): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>pcivme_ni_NT.c(105): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
Generating Code...
Link:
C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:".\Release\pcivme_ni.dll" /INCREMENTAL:NO /NOLOGO odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\Release\pcivme_ni.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\Release\pcivme_ni.lib" /MACHINE:X86 /SAFESEH /DLL .\Release\Klist.obj
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:".\Release\pcivme_ni.dll" /INCREMENTAL:NO /NOLOGO odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\Release\pcivme_ni.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\Release\pcivme_ni.lib" /MACHINE:X86 /SAFESEH /DLL .\Release\Klist.obj
.\Release\os_info.obj
.\Release\pcivme_ni.obj
.\Release\pcivme_ni_NT.obj
Creating library .\Release\pcivme_ni.lib and object .\Release\pcivme_ni.exp
pcivme_ni.vcxproj -> C:\home\rok\wiener_pcivme_dll\.\Release\pcivme_ni.dll
1>Done Building Project "C:\home\rok\wiener_pcivme_dll\pcivme_ni.vcxproj" (Build target(s)).
pcivme_ni.vcxproj -> C:\Users\f9daq\rok\wienerpciada\PciVme\Dll-source\.\Release\pcivme_ni.dll
1>Done Building Project "C:\Users\f9daq\rok\wienerpciada\PciVme\Dll-source\pcivme_ni.vcxproj" (Rebuild target(s)).
 
Build succeeded.
 
Time Elapsed 00:00:01.53
Time Elapsed 00:00:01.17
/wiener_pcivme_dll/Release/Klist.obj
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/wiener_pcivme_dll/Release/pcivme_ni.exp
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/wiener_pcivme_dll/Release/os_info.obj
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/wiener_pcivme_dll/Release/pcivme_ni.lib
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/wiener_pcivme_dll/pcivme_ni.c
25,16 → 25,14
// what who when
// first steps AR 07.11.1999
//
 
//-------------------------------------------------------------------------------------------
// INCLUDES
//
 
 
#include <windows.h>
#include <os_info.h>
#include <pcivme_ni_NT.h>
#include <pcivme_ni.h>
#include <stdio.h>
 
//-------------------------------------------------------------------------------------------
// DEFINES
76,7 → 74,6
//
int __declspec(dllexport) VMEinit(const char *cszDeviceName, unsigned short nVMEMM, unsigned char ubAddressModifier, int *pnHandle)
{
 
if (firstTime)
{
if (IsWindowsNT())
/wiener_pcivme_dll/pcivme_ni_NT.c
42,8 → 42,6
#include <pcivme_ni_NT.h>
#include <Klist.h>
 
#include <stdio.h>
FILE *vmefp;
//-------------------------------------------------------------------------------------------
// DEFINES
//
102,9 → 100,9
char *ptr = buffer;
 
if (cszDeviceName == NULL)
strcpy_s(buffer, 255 , DEFDEVICENAME);
strcpy(buffer, DEFDEVICENAME);
else
strcpy_s(buffer, 255 , cszDeviceName);
strcpy(buffer, cszDeviceName);
 
while (*ptr) ptr++;
131,9 → 129,8
{
OPEN_PATH *open_path;
DWORD DIOC_count; // count of returned bytes of DeviceIoControl
DWORD result = 0;
vmefp = fopen("pcivme_ni.log","w");
fprintf(vmefp, "VMEinitNT\n");
DWORD result;
 
if (liPathList == NULL) // create a list to hold the paths and its variables
{
liPathList = List_Create();
177,15 → 174,11
NULL,
0,
&DIOC_count,
NULL);
NULL);
 
if (!result)
{
result = GetLastError();
fprintf(vmefp, "DeviceIoControl result=%d\n", result);
fclose(vmefp);
CloseHandle(open_path->nHandle);
removeListElement(open_path);
return result;
197,10 → 190,7
}
else
{
result = GetLastError();
fprintf(vmefp, "CreateFile error result=%d %s\n", result, DeviceName(cszDeviceName, nVMEMM));
fclose(vmefp);
removeListElement(open_path);
return result;
}
/wiener_pcivme_dll/pcivme_ni.vcxproj
1,5 → 1,5
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
18,12 → 18,12
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v110</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v110</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />