Commit c4ec731e authored by Ivan.Shulga's avatar Ivan.Shulga Committed by Alexander Trofimov

git-svn-id:...

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@52464 954022d7-b5bf-4e40-9824-e11837661b57
parent 51c2dd54
// AVSImageJpeg2000.cpp : Implementation of DLL Exports.
// ASCImageJpeg2000.cpp : Implementation of DLL Exports.
#include "stdafx.h"
......@@ -7,9 +7,9 @@
// The module attribute causes DllMain, DllRegisterServer and DllUnregisterServer to be automatically implemented for you
[ module(dll, uuid = "{46CD51A0-31DA-44A1-B4DD-490F2AA2530E}",
name = "AVSImageJpeg2000",
helpstring = "AVSImageJpeg2000 1.0 Type Library",
resource_name = "IDR_AVSIMAGEJPEG2000") ]
name = "ASCImageJpeg2000",
helpstring = "ASCImageJpeg2000 1.0 Type Library",
resource_name = "IDR_ASCIMAGEJPEG2000") ]
class CAVSImageJpeg2000Module
{
public:
......
......@@ -2,7 +2,7 @@
//
#include "resource.h"
#define COMPONENT_NAME "ImageJpeg2000"
#include "../../../../Common/FileInfo.h"
#include "../../Common/FileInfo.h"
#include "version.h"
#define APSTUDIO_READONLY_SYMBOLS
......@@ -86,10 +86,10 @@ END
STRINGTABLE
BEGIN
IDS_PROJNAME "AVSImageJpeg2000"
IDS_PROJNAME "ASCImageJpeg2000"
END
IDR_AVSIMAGEJPEG2000 REGISTRY "AVSImageJpeg2000.rgs"
IDR_ASCIMAGEJPEG2000 REGISTRY "ASCImageJpeg2000.rgs"
////////////////////////////////////////////////////////////////////////////
......
......@@ -2,8 +2,8 @@ HKCR
{
NoRemove AppID
{
'%APPID%' = s 'AVSImageJpeg2000'
'AVSImageJpeg2000.DLL'
'%APPID%' = s 'ASCImageJpeg2000'
'ASCImageJpeg2000.DLL'
{
val AppID = s '%APPID%'
}
......

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AVSImageJpeg2000", "AVSImageJpeg2000.vcproj", "{30AA46FD-CB61-4521-A0DE-176D37E139F0}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ASCImageJpeg2000", "ASCImageJpeg2000.vcproj", "{30AA46FD-CB61-4521-A0DE-176D37E139F0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
......
......@@ -2,9 +2,9 @@
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="AVSImageJpeg2000"
Name="ASCImageJpeg2000"
ProjectGUID="{30AA46FD-CB61-4521-A0DE-176D37E139F0}"
RootNamespace="AVSImageJpeg2000"
RootNamespace="ASCImageJpeg2000"
Keyword="AtlProj"
TargetFrameworkVersion="196613"
>
......@@ -43,11 +43,11 @@
MkTypLibCompatible="false"
TargetEnvironment="1"
GenerateStublessProxies="true"
TypeLibraryName="$(IntDir)/AVSImageJpeg2000.tlb"
HeaderFileName="AVSImageJpeg2000.h"
TypeLibraryName="$(IntDir)/ASCImageJpeg2000.tlb"
HeaderFileName="ASCImageJpeg2000.h"
DLLDataFileName=""
InterfaceIdentifierFileName="AVSImageJpeg2000_i.c"
ProxyFileName="AVSImageJpeg2000_p.c"
InterfaceIdentifierFileName="ASCImageJpeg2000_i.c"
ProxyFileName="ASCImageJpeg2000_p.c"
/>
<Tool
Name="VCCLCompilerTool"
......@@ -77,12 +77,12 @@
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
OutputFile="$(OutDir)/AVSImageJpeg2000.dll"
OutputFile="$(OutDir)/ASCImageJpeg2000.dll"
LinkIncremental="2"
MergedIDLBaseFileName="_AVSImageJpeg2000.idl"
MergedIDLBaseFileName="_ASCImageJpeg2000.idl"
GenerateDebugInformation="true"
SubSystem="2"
ImportLibrary="$(OutDir)/AVSImageJpeg2000.lib"
ImportLibrary="$(OutDir)/ASCImageJpeg2000.lib"
TargetMachine="1"
/>
<Tool
......@@ -137,11 +137,11 @@
MkTypLibCompatible="false"
TargetEnvironment="1"
GenerateStublessProxies="true"
TypeLibraryName="$(IntDir)/AVSImageJpeg2000.tlb"
HeaderFileName="AVSImageJpeg2000.h"
TypeLibraryName="$(IntDir)/ASCImageJpeg2000.tlb"
HeaderFileName="ASCImageJpeg2000.h"
DLLDataFileName=""
InterfaceIdentifierFileName="AVSImageJpeg2000_i.c"
ProxyFileName="AVSImageJpeg2000_p.c"
InterfaceIdentifierFileName="ASCImageJpeg2000_i.c"
ProxyFileName="ASCImageJpeg2000_p.c"
/>
<Tool
Name="VCCLCompilerTool"
......@@ -168,15 +168,15 @@
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
OutputFile="../../../Redist/AVSImageJpeg2000.dll"
OutputFile="../../Redist/ASCImageJpeg2000.dll"
LinkIncremental="1"
MergedIDLBaseFileName="_AVSImageJpeg2000.idl"
MergedIDLBaseFileName="_ASCImageJpeg2000.idl"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)$(TargetName).pdb"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="$(OutDir)/AVSImageJpeg2000.lib"
ImportLibrary="$(OutDir)/ASCImageJpeg2000.lib"
TargetMachine="1"
/>
<Tool
......@@ -213,7 +213,7 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\AVSImageJpeg2000.cpp"
RelativePath=".\ASCImageJpeg2000.cpp"
>
</File>
<File
......@@ -345,7 +345,7 @@
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath=".\AVSImageJpeg2000.rc"
RelativePath=".\ASCImageJpeg2000.rc"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -365,7 +365,7 @@
</FileConfiguration>
</File>
<File
RelativePath=".\AVSImageJpeg2000.rgs"
RelativePath=".\ASCImageJpeg2000.rgs"
>
</File>
</Filter>
......
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AVSImageJpeg2000", "AVSImageJpeg2000_vs2005.vcproj", "{30AA46FD-CB61-4521-A0DE-176D37E139F0}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ASCImageJpeg2000", "ASCImageJpeg2000_vs2005.vcproj", "{30AA46FD-CB61-4521-A0DE-176D37E139F0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
......
......@@ -2,9 +2,9 @@
<VisualStudioProject
ProjectType="Visual C++"
Version="8,00"
Name="AVSImageJpeg2000"
Name="ASCImageJpeg2000"
ProjectGUID="{30AA46FD-CB61-4521-A0DE-176D37E139F0}"
RootNamespace="AVSImageJpeg2000"
RootNamespace="ASCImageJpeg2000"
Keyword="AtlProj"
>
<Platforms>
......@@ -42,11 +42,11 @@
MkTypLibCompatible="false"
TargetEnvironment="1"
GenerateStublessProxies="true"
TypeLibraryName="$(IntDir)/AVSImageJpeg2000.tlb"
HeaderFileName="AVSImageJpeg2000.h"
TypeLibraryName="$(IntDir)/ASCImageJpeg2000.tlb"
HeaderFileName="ASCImageJpeg2000.h"
DLLDataFileName=""
InterfaceIdentifierFileName="AVSImageJpeg2000_i.c"
ProxyFileName="AVSImageJpeg2000_p.c"
InterfaceIdentifierFileName="ASCImageJpeg2000_i.c"
ProxyFileName="ASCImageJpeg2000_p.c"
/>
<Tool
Name="VCCLCompilerTool"
......@@ -76,13 +76,13 @@
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
OutputFile="$(OutDir)/AVSImageJpeg2000.dll"
OutputFile="$(OutDir)/ASCImageJpeg2000.dll"
LinkIncremental="2"
IgnoreDefaultLibraryNames="libc.lib"
MergedIDLBaseFileName="_AVSImageJpeg2000.idl"
MergedIDLBaseFileName="_ASCImageJpeg2000.idl"
GenerateDebugInformation="true"
SubSystem="2"
ImportLibrary="$(OutDir)/AVSImageJpeg2000.lib"
ImportLibrary="$(OutDir)/ASCImageJpeg2000.lib"
TargetMachine="1"
/>
<Tool
......@@ -140,11 +140,11 @@
MkTypLibCompatible="false"
TargetEnvironment="1"
GenerateStublessProxies="true"
TypeLibraryName="$(IntDir)/AVSImageJpeg2000.tlb"
HeaderFileName="AVSImageJpeg2000.h"
TypeLibraryName="$(IntDir)/ASCImageJpeg2000.tlb"
HeaderFileName="ASCImageJpeg2000.h"
DLLDataFileName=""
InterfaceIdentifierFileName="AVSImageJpeg2000_i.c"
ProxyFileName="AVSImageJpeg2000_p.c"
InterfaceIdentifierFileName="ASCImageJpeg2000_i.c"
ProxyFileName="ASCImageJpeg2000_p.c"
/>
<Tool
Name="VCCLCompilerTool"
......@@ -171,16 +171,16 @@
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
OutputFile="../../../Redist/AVSImageJpeg2000.dll"
OutputFile="../../Redist/ASCImageJpeg2000.dll"
LinkIncremental="1"
IgnoreDefaultLibraryNames="libc.lib"
MergedIDLBaseFileName="_AVSImageJpeg2000.idl"
MergedIDLBaseFileName="_ASCImageJpeg2000.idl"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)$(TargetName).pdb"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="$(OutDir)/AVSImageJpeg2000.lib"
ImportLibrary="$(OutDir)/ASCImageJpeg2000.lib"
TargetMachine="1"
/>
<Tool
......@@ -239,11 +239,11 @@
MkTypLibCompatible="false"
TargetEnvironment="1"
GenerateStublessProxies="true"
TypeLibraryName="$(IntDir)/AVSImageJpeg2000.tlb"
HeaderFileName="AVSImageJpeg2000.h"
TypeLibraryName="$(IntDir)/ASCImageJpeg2000.tlb"
HeaderFileName="ASCImageJpeg2000.h"
DLLDataFileName=""
InterfaceIdentifierFileName="AVSImageJpeg2000_i.c"
ProxyFileName="AVSImageJpeg2000_p.c"
InterfaceIdentifierFileName="ASCImageJpeg2000_i.c"
ProxyFileName="ASCImageJpeg2000_p.c"
/>
<Tool
Name="VCCLCompilerTool"
......@@ -270,15 +270,15 @@
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
OutputFile="../../../..\ASC\Redist/ASCImageJpeg2000.dll"
OutputFile="../../Redist/ASCImageJpeg2000.dll"
LinkIncremental="1"
MergedIDLBaseFileName="_AVSImageJpeg2000.idl"
MergedIDLBaseFileName="_ASCImageJpeg2000.idl"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)$(TargetName).pdb"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="$(OutDir)/AVSImageJpeg2000.lib"
ImportLibrary="$(OutDir)/ASCImageJpeg2000.lib"
TargetMachine="1"
/>
<Tool
......@@ -318,7 +318,7 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\AVSImageJpeg2000.cpp"
RelativePath=".\ASCImageJpeg2000.cpp"
>
</File>
<File
......@@ -466,7 +466,7 @@
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath=".\AVSImageJpeg2000.rc"
RelativePath=".\ASCImageJpeg2000.rc"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -494,7 +494,7 @@
</FileConfiguration>
</File>
<File
RelativePath=".\AVSImageJpeg2000.rgs"
RelativePath=".\ASCImageJpeg2000.rgs"
>
</File>
</Filter>
......
......@@ -107,8 +107,6 @@ int check_j2000_type(HANDLE hFile)
STDMETHODIMP CJ2kFile::J2kToInterface(BSTR bsSrcPath, IUnknown **ppImage, BSTR bsXmlOptions)
{
if ( !CRegistratorClient::IsRegistered() )
return S_FALSE;
Image *pImage = NULL;
bool bOpenResult = FALSE;
......@@ -413,8 +411,6 @@ STDMETHODIMP CJ2kFile::J2kToInterface(BSTR bsSrcPath, IUnknown **ppImage, BSTR b
STDMETHODIMP CJ2kFile::InterfaceToJ2k(IUnknown **ppImage, BSTR bsDstPath, BSTR bsXmlOptions)
{
if ( !CRegistratorClient::IsRegistered() )
return S_FALSE;
CStringA sFilePath( bsDstPath );
......
......@@ -3,8 +3,7 @@
#pragma once
#include "resource.h" // main symbols
#include "Registration.h"
#include "XmlUtils.h"
#include "..\..\Common\XmlUtils.h"
#include "Types.h"
#define PROGRESS_MAX 1000000
......
......@@ -4,7 +4,7 @@
//
#define IDS_PROJNAME 100
#define IDR_AVSIMAGEJPEG2000 101
#define IDR_ASCIMAGEJPEG2000 101
// Next default values for new objects
//
......
......@@ -46,9 +46,9 @@
using namespace ATL;
#import "..\..\..\Redist\AVSMediaCore3.dll" named_guids rename_namespace("MediaCore"), exclude("tagRECT")
#import "..\..\..\Redist\AVSMediaFormatSettings3.dll" named_guids rename_namespace("MediaFormat"), exclude("tagRECT")
#import "..\..\Redist\ASCMediaCore3.dll" named_guids rename_namespace("MediaCore"), exclude("tagRECT")
#import "..\..\Redist\ASCMediaFormatSettings3.dll" named_guids rename_namespace("MediaFormat"), exclude("tagRECT")
#include "..\Common\AVSUtils.h"
#include "..\..\AVSVideoStudio3\Common\VideoFileErrorDescription.h"
#include "..\..\AVSVideoStudio3\Common\FourCCDefines.h"
\ No newline at end of file
#include "..\..\Common\ASCUtils.h"
#include "..\..\Common\VideoFileErrorDescription.h"
#include "..\..\Common\FourCCDefines.h"
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment