/*----------------------------------------------------------------------------------------------------------------------------
每一个注册了的COM对象在系统注册表的HKEY_CLASSES_ROOT\CLSID子键下均对应一个以CLSID的字符串形式命名的子键。
在此子键下,通过COM库可以得到所需要的信息并完成对象的创建。在Windows环境下,除了CLSID可以唯一标识一个COM对象外,
也支持通过组件对象名对COM对象的标识。此标识信息称为ProgID(program identifier,程序标识符)。
通常在以CLSID的字符串形式命名的子键下存在有ProgID子键,而在HKEY_CLASSES_ROOT键下可以找到以此子键键值命名的子键,
该子键下亦包含有CLSID子键,通过ProgID子键的CLSID值和CLSID子键的ProgID值可以将CLSID与ProgID建立起联系。
在程序中也可以通过CLSIDFromProgID()和ProgIDFromCLSID()进行相互转换。
RTDX注册表大揭秘(菜农HotPower 2008.5.30 8:00 ~ 16:00) COM库提供的CoCreateGuid()API函数
键\HKEY_CLASSES_ROOT\CLSID\{GUID} COM的类标识号,这个类标识号是唯一的,
Microsoft通过网卡和时间等各种因素来产生出这个类标识号,确保它是唯一的
{1D418727-8508-11CF-BBF3-CF5428CCD61F} = BackGround InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\car.ocx
{1D41872E-8508-11CF-BBF3-CF5428CCD61F} = BackGround InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\slider.ocx
{1D418732-8508-11CF-BBF3-CF5428CCD61F} = Digital InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\slider.ocx
{1D418733-8588-11CF-BBF3-CF5428CCD61F} = Fonts InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\car.ocx
{1D418737-8508-11CF-BBF3-CF5898CCD61F} = Knob InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\slider.ocx
{1D41873A-8588-11CF-BBF3-CF5428CCD61F} = Fonts InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\slider.ocx
{1D428724-8508-11CF-BBF3-CF5428CCD61F} = Captions InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\car.ocx
{1D42872B-8508-11CF-BBF3-CF5428CCD61F} = Captions InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\slider.ocx
{2A01DA44-C87F-11CF-BBF3-444553540000} = Hubs InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\car.ocx
{2B55514C-FF72-11CF-A40A-444553540000} = Off InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\toggle.ocx
{2B55514F-FF72-11CF-A40A-444553540000} = General InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\toggle.ocx
***---------------------------------------------------------------------------------------------------------------------***
{2FE56670-3E4E-11D2-A964-006097A6A260} = RTDX Exported Interface
InprocServer32 = C:\CCStudio_v3.1\cc\bin\rtdxint.dll
ThreadingModel = Both
ProgID = RTDX
VersionIndependentProgID = RTDX
***---------------------------------------------------------------------------------------------------------------------***
{365A2106-EDDF-11CF-A40A-444553540000} = Scale/Needle/Tics
InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\car.ocx
{365A2109-EDDF-11CF-A40A-444553540000} = Gauge InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\car.ocx
{5377140B-FA0F-11CF-BC8C-207402C10627} = Tics InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\slider.ocx
{5DCB9603-75FE-11CF-BBF3-CF5428CCD61F} = GMS Slider ActiveX Control
InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\slider.ocx
ThreadingModel = Apartment
ProgID = GSLIDER.SliderCtrl.1
ToolboxBitmap32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\slider.ocx, 1
TypeLib = {5DCB9600-75FE-11CF-BBF3-CF5428CCD61F}
Version = 1.0
{5DCB960E-75FE-11CF-BBF3-CF5428CCD61F} = Bar InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\slider.ocx
{6DD86F44-F05D-11D3-B850-00C04F40A2B3} = RtdxConfigPpg Class
InprocServer32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxconfig.ocx
ThreadingModel = Apartment
{9565B10F-8430-11CF-BBF3-CF5428CCD61F} = General InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\slider.ocx
{96281064-C6FC-11CF-BBF3-444553540000} = Frames InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\car.ocx
{98E6B8CC-FAD1-11CF-A40A-444553540000} = On InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\toggle.ocx
{999EA2C3-F93F-11CF-A40A-444553540000} = GMS Toggle ActiveX Control
InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\toggle.ocx
ProgID = TOGGLE.ToggleCtrl.1
ToolboxBitmap32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\toggle.ocx, 1
TypeLib = {999EA2C0-F93F-11CF-A40A-444553540000}
Version = 1.0
{9FC3EB63-1200-11D4-B859-00C04F40A2B3} = RTDX Channel Viewer Control
InprocServer32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxchannelviewer.ocx
ThreadingModel = Apartment
ProgID = RtdxChannelViewer.RtdxChannelViewerCtl.1
ToolboxBitmap32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxchannelviewer.ocx, 102
TypeLib = {9FC3EB52-1200-11D4-B859-00C04F40A2B3}
Version = 1.0
VersionIndependentProgID = RtdxChannelViewer.RtdxChannelViewerCtl
{A2694683-1C73-11D5-B8FF-00C04F40A2B3} = AddChannelPpg Class
InprocServer32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxchannelviewer.ocx
ThreadingModel = Apartment
{A7095CF5-F102-11D3-B850-00C04F40A2B3} = PortConfigPpg Class
InprocServer32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxconfig.ocx
ThreadingModel = Apartment
{C1032253-1ADC-11D4-B85A-00C04F40A2B3} = RTDX Diagnostics Control
InprocServer32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxdiagnostics.ocx
ThreadingModel = Apartment
ProgID = RtdxDiagnostics.RtdxDiagnosticsCtl.1
ToolboxBitmap32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxdiagnostics.ocx, 102
TypeLib = {C1032243-1ADC-11D4-B85A-00C04F40A2B3}
Version = 1.0
VersionIndependentProgID = RtdxDiagnostics.RtdxDiagnosticsCtl
{CD09EAE0-CF43-11D3-B848-00C04F40A2B3} = RTDX Configuration Control
InprocServer32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxconfig.ocx
ThreadingModel = Apartment
ProgID = RtdxConfig.RtdxConfigCtl.1
ToolboxBitmap32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxconfig.ocx, 102
TypeLib = {CD09EAD0-CF43-11D3-B848-00C04F40A2B3}
Version = 1.0
VersionIndependentProgID = RtdxConfig.RtdxConfigCtl
{D2D0526C-FC68-11CF-A40A-444553540000} = BackGround
InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\toggle.ocx
{E60BDF61-4E95-11d4-B868-00C04F40A2B3} = CollectionOfPorts Class
InprocServer32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxconfig.ocx
ThreadingModel = Both
{F84BA0A3-7408-11CF-BC8B-207402C10627} = GMS Automobile Gauges ActiveX Control
InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\car.ocx
ProgID = CAR.CarCtrl.1
ToolboxBitmap32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\car.ocx, 1
TypeLib = {F84BA0A0-7408-11CF-BC8B-207402C10627}
Version = 1.0
{FA8F9D80-B421-11D4-B8B5-00C04F40A2B3} = RtdxDiagnosticsPpg Class
InprocServer32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxdiagnostics.ocx
ThreadingModel = Apartment
键\HKEY_CLASSES_ROOT\Interface\{GUID} 这里间谍软件呆的地方
{023BD20F-1DC3-11D2-8BC7-0040055AA9DB} = IRtdx
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {7037933C-B77F-11D1-B009-0040055C1953}
Version = 1.29
{023BD211-1DC3-11D2-8BC7-0040055AA9DB} = IRtdxEvents
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {7037933C-B77F-11D1-B009-0040055C1953}
Version = 1.29
{15C0E701-1B21-11D2-8BC7-0040055AA9DB} = IRtdxChannel
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {7037933C-B77F-11D1-B009-0040055C1953}
Version = 1.29
***---------------------------------------------------------------------------------------------------------------------***
{2FE5666F-3E4E-11D2-A964-006097A6A260} = IRtdxExp
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {2FE56660-3E4E-11D2-A964-006097A6A260}
Version = 1.0
***---------------------------------------------------------------------------------------------------------------------***
{619D5068-8317-11D3-B09A-00105A9E1BC1} = IRtdxExEvents
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {7037933C-B77F-11D1-B009-0040055C1953}
Version = 1.29
{9FC3EB61-1200-11D4-B859-00C04F40A2B3} = IRtdxChannelViewerCtl
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {9FC3EB52-1200-11D4-B859-00C04F40A2B3}
Version = 1.0
{9FC3EB64-1200-11D4-B859-00C04F40A2B3} = _IRtdxChannelViewerCtlEvents
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {9FC3EB52-1200-11D4-B859-00C04F40A2B3}
Version = 1.0
{C1032252-1ADC-11D4-B85A-00C04F40A2B3} = IRtdxDiagnosticsCtl
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {C1032243-1ADC-11D4-B85A-00C04F40A2B3}
Version = 1.0
{C1032254-1ADC-11D4-B85A-00C04F40A2B3} = _IRtdxDiagnosticsCtlEvents
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {C1032243-1ADC-11D4-B85A-00C04F40A2B3}
Version = 1.0
{CD09EADF-CF43-11D3-B848-00C04F40A2B3} = IRtdxConfigCtl
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {CD09EAD0-CF43-11D3-B848-00C04F40A2B3}
Version = 1.0
{CD09EAE1-CF43-11D3-B848-00C04F40A2B3} = _IRtdxConfigCtlEvents
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {CD09EAD0-CF43-11D3-B848-00C04F40A2B3}
Version = 1.0
{D783D881-8B88-11D2-8936-0080ADC9C0C7} = IInternalRtdx
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {7037933C-B77F-11D1-B009-0040055C1953}
Version = 1.29
***---------------------------------------------------------------------------------------------------------------------***
键\HKEY_CLASSES_ROOT\RTDX\ = RTDX Exported Interface
CLSID = {2FE56670-3E4E-11D2-A964-006097A6A260}
CurVer = 1.0
***---------------------------------------------------------------------------------------------------------------------***
键\HKEY_CLASSES_ROOT\RtdxChannelViewer.AddChannelPpg = AddChannelPpg Class
CLSID = {A2694683-1C73-11D5-B8FF-00C04F40A2B3}
CurVer = RtdxChannelViewer.AddChannelPpg.1
键\HKEY_CLASSES_ROOT\RtdxChannelViewer.AddChannelPpg.1 = AddChannelPpg Class
CLSID = {A2694683-1C73-11D5-B8FF-00C04F40A2B3}
键\HKEY_CLASSES_ROOT\RtdxChannelViewer.RtdxChannelViewerCtl = RTDX Channel Viewer Control
CLSID = {9FC3EB63-1200-11D4-B859-00C04F40A2B3}
CurVer = RtdxChannelViewer.RtdxChannelViewerCtl.1
键\HKEY_CLASSES_ROOT\RtdxChannelViewer.RtdxChannelViewerCtl.1 = RTDX Channel Viewer Control
CLSID = {9FC3EB63-1200-11D4-B859-00C04F40A2B3}
键\HKEY_CLASSES_ROOT\RtdxConfig.CollectionOfPorts = CollectionOfPorts Class
CLSID = {E60BDF61-4E95-11d4-B868-00C04F40A2B3}
CurVer = RtdxConfig.CollectionOfPorts.1
键\HKEY_CLASSES_ROOT\RtdxConfig.CollectionOfPorts.1 = CollectionOfPorts Class
CLSID = {E60BDF61-4E95-11d4-B868-00C04F40A2B3}
键\HKEY_CLASSES_ROOT\RtdxConfig.PortConfigPpg = PortConfigPpg Class
CLSID = {A7095CF5-F102-11D3-B850-00C04F40A2B3}
CurVer = RtdxConfig.PortConfigPpg.1
键\HKEY_CLASSES_ROOT\RtdxConfig.PortConfigPpg.1 = PortConfigPpg Class
CLSID = {A7095CF5-F102-11D3-B850-00C04F40A2B3}
键\HKEY_CLASSES_ROOT\ RtdxConfig.RtdxConfigCtl = RTDX Configuration Control
CLSID = {CD09EAE0-CF43-11D3-B848-00C04F40A2B3}
CurVer = RtdxConfig.RtdxConfigCtl.1
键\HKEY_CLASSES_ROOT\RtdxConfig.RtdxConfigCtl.1 = RTDX Configuration Control
CLSID = {CD09EAE0-CF43-11D3-B848-00C04F40A2B3}
键\HKEY_CLASSES_ROOT\RtdxConfig.RtdxConfigPpg = RtdxConfigPpg Class
CLSID = {6DD86F44-F05D-11D3-B850-00C04F40A2B3}
CurVer = RtdxConfig.RtdxConfigPpg.1
键\HKEY_CLASSES_ROOT\RtdxConfig.RtdxConfigPpg.1 = RtdxConfigPpg Class
CLSID = {6DD86F44-F05D-11D3-B850-00C04F40A2B3}
键\HKEY_CLASSES_ROOT\RtdxDiagnostics.RtdxDiagnosticsCtl = RTDX Diagnostics Control
CLSID = {C1032253-1ADC-11D4-B85A-00C04F40A2B3}
CurVer = RtdxDiagnostics.RtdxDiagnosticsCtl.1
键\HKEY_CLASSES_ROOT\RtdxDiagnostics.RtdxDiagnosticsCtl.1 = RTDX Diagnostics Control
CLSID = {C1032253-1ADC-11D4-B85A-00C04F40A2B3}
键\HKEY_CLASSES_ROOT\RtdxDiagnostics.RtdxDiagnosticsPpg = RtdxDiagnosticsPpg Class
CLSID = {FA8F9D80-B421-11D4-B8B5-00C04F40A2B3}
CurVer = RtdxDiagnostics.RtdxDiagnosticsPpg.1
键\HKEY_CLASSES_ROOT\RtdxDiagnostics.RtdxDiagnosticsPpg.1 = RtdxDiagnosticsPpg Class
CLSID = {FA8F9D80-B421-11D4-B8B5-00C04F40A2B3}
键\HKEY_CLASSES_ROOT\TypeLib\{2FE56660-3E4E-11D2-A964-006097A6A260}
1.0 = RtdxInt 1.0 Type Library
0\win32 = C:\CCStudio_v3.1\cc\bin\rtdxint.dll
FLAGS = 0
HELPDIR = C:\CCStudio_v3.1\cc\bin\
键\HKEY_CLASSES_ROOT\TypeLib\{5DCB9600-75FE-11CF-BBF3-CF5428CCD61F}
1.0 = GMS Slider ActiveX Control
0\win32 = C:\CCStudio_v3.1\examples\hostapps\rtdx\engineprog\slider.ocx
FLAGS = 2
HELPDIR = C:\CCStudio_v3.1\examples\hostapps\rtdx\engineprog
键\HKEY_CLASSES_ROOT\TypeLib\{999EA2C0-F93F-11CF-A40A-444553540000}
1.0 = GMS Toggle ActiveX Control
0\win32 = C:\CCStudio_v3.1\examples\hostapps\rtdx\engineprog\toggle.ocx
FLAGS = 2
HELPDIR = C:\CCStudio_v3.1\examples\hostapps\rtdx\engineprog
键\HKEY_CLASSES_ROOT\TypeLib\{999EA2C0-F93F-11CF-A40A-444553540000}
1.0 = GMS Toggle ActiveX Control
0\win32 = C:\CCStudio_v3.1\examples\hostapps\rtdx\engineprog\toggle.ocx
FLAGS = 2
HELPDIR = C:\CCStudio_v3.1\examples\hostapps\rtdx\engineprog
键\HKEY_CLASSES_ROOT\TypeLib\{9FC3EB52-1200-11D4-B859-00C04F40A2B3}
1.0 = RTDX Channel Viewer ActiveX Control Type Library
0\win32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxchannelviewer.ocx
FLAGS = 2
HELPDIR = C:\CCStudio_v3.1\plugins\rtdx\
键\HKEY_CLASSES_ROOT\TypeLib\{C1032243-1ADC-11D4-B85A-00C04F40A2B3}
1.0 = RTDX Diagnostics ActiveX Control Type Library
0\win32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxdiagnostics.ocx
FLAGS = 2
HELPDIR = C:\CCStudio_v3.1\plugins\rtdx\
键\HKEY_CLASSES_ROOT\TypeLib\{CD09EAD0-CF43-11D3-B848-00C04F40A2B3}
1.0 = RTDX Configuration ActiveX Control Type Library
0\win32 = C:\CCStudio_v3.1\plugins\rtdx\rtdxconfig.ocx
FLAGS = 2
HELPDIR = C:\CCStudio_v3.1\plugins\rtdx\
---------------------------------------------------------------------------------------------------------------------------
键\HKEY_LOCAL_MACHINE\SOFTWARE\classes\CLSID\{GUID}备份 键\HKEY_CLASSES_ROOT\CLSID\{GUID}
{1D418727-8508-11CF-BBF3-CF5428CCD61F} = BackGround InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\car.ocx
......
{2B55514F-FF72-11CF-A40A-444553540000} = General InprocServer32 = C:\CCSTUD~1.1\examples\hostapps\rtdx\ENGINE~1\toggle.ocx
***---------------------------------------------------------------------------------------------------------------------***
{2FE56670-3E4E-11D2-A964-006097A6A260} = RTDX Exported Interface
InprocServer32 = C:\CCStudio_v3.1\cc\bin\rtdxint.dll
ThreadingModel = Both
ProgID = RTDX
Programmable
VersionIndependentProgID = RTDX
***---------------------------------------------------------------------------------------------------------------------***
{023BD20F-1DC3-11D2-8BC7-0040055AA9DB} = IRtdx
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {7037933C-B77F-11D1-B009-0040055C1953}
Version = 1.29
***---------------------------------------------------------------------------------------------------------------------***
有关RTDXEXP的信息
键\HKEY_LOCAL_MACHINE\SOFTWARE\classes\CLSID\
{2FE5666F-3E4E-11D2-A964-006097A6A260} = IRtdxExp
ProxyStubClsid = {00020424-0000-0000-C000-000000000046}
ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
TypeLib = {2FE56660-3E4E-11D2-A964-006097A6A260}
Version = 1.0
键\HKEY_CLASSES_ROOT\TypeLib\{2FE56660-3E4E-11D2-A964-006097A6A260}
1.0 = RtdxInt 1.0 Type Library
0\win32 = C:\CCStudio_v3.1\cc\bin\rtdxint.dll
FLAGS = 0
HELPDIR = C:\CCStudio_v3.1\cc\bin\
---------------------------------------------------------------------------------------------------------------------------
键\HKEY_CLASSES_ROOT\RTDX\ 备份 键\HKEY_CLASSES_ROOT\CLSID\{GUID}
键\HKEY_CLASSES_ROOT\RTDX\ = RTDX Exported Interface
CLSID = {2FE56670-3E4E-11D2-A964-006097A6A260}
CurVer = 1.0
---------------------------------------------------------------------------------------------------------------------------
键\HKEY_LOCAL_SOFTWARE\classes\CLSID\{GUID}备份 键\HKEY_CLASSES_ROOT\CLSID\{GUID}
{2FE56670-3E4E-11D2-A964-006097A6A260} = RTDX Exported Interface
InprocServer32 = C:\CCStudio_v3.1\cc\bin\rtdxint.dll
ThreadingModel = Both
ProgID = RTDX
Programmable
VersionIndependentProgID = RTDX
注意:
键\HKEY_CLASSES_ROOT\CLSID\{00000001-0000-0000-C000-000000000046} = IClassFactory
键\HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046} = PSOAInterface
键\HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}\InprocServer32 = oleaut32.dll
键\HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}\InprocServer32\ThreadingModel = Both
---------------------------------------------------------------------------------------------------------------------------
重要信息:
1.CCS安装目录
键\HKEY_LOCAL_MACHINE\SOFTWARE\GODSP\CodeComposer\Settings\
InstallationDirectory = C:\CCStudio_v3.1\
2.CCS管理目录
键\HKEY_LOCAL_MACHINE\SOFTWARE\GODSP\CodeComposer\ComponentManager\
Target = G:\Program Files\Common Files\Texas Instruments
键\HKEY_LOCAL_MACHINE\SOFTWARE\GODSP\CodeComposer LastComponentInstalledOn = 5-30-2008 16:16:44
3.CCS28XX目录
键\HKEY_LOCAL_MACHINE\SOFTWARE\GODSP\CodeComposer\ComponentManager\TMS320C28XX
a)CCS28XX目录下ActiveX工具
键\HKEY_LOCAL_MACHINE\SOFTWARE\GODSP\CodeComposer\ComponentManager\TMS320C28XX\Plugins\ActiveX Tools
1.C28x Emulator Analysis
2.C28x Pipeline Display
3.CPULOAD
4.Data Converter Support
5.HST
6.Kernel//Object View
7.Log
8.RtdxChannelViewer
9.RtdxConfig
10.RtdxDiagnostics
11.STS
12.SystemLog
13.TRC
b)CCS28XX目录下Command工具
键\HKEY_LOCAL_MACHINE\SOFTWARE\GODSP\CodeComposer\ComponentManager\TMS320C28XX\Plugins\Command Tools
1.DSP/BIOS Help
2.RtdxConfig
\1.40\AutoRun = true
\1.40\CLSID = {E60BDF61-4E95-11d4-B868-00C04F40A2B3}
\1.40\DisplayName = RtdxConfig
\1.40\GroupDescription = RTDX ActiveX Controls
\1.40\GroupName = RTDX
\1.40\SKU = TI-RTDXCONF
4.CCS54XX目录
键\HKEY_LOCAL_MACHINE\SOFTWARE\GODSP\CodeComposer\ComponentManager\TMS320C54XX
5.CCS配置目录:
键\HKEY_LOCAL_MACHINE\SOFTWARE\GODSP\CodeComposerSetup = C:/CCStudio_v3.1/cc/bin/
a)Device Drivers
1.C54xx XDS510 Emulator
DllPath = C:\CCStudio_v3.1\drivers\tixds54x.dvr
2.C54xx XDS560 Emulator
DllPath = C:\CCStudio_v3.1\drivers\tixds560c54x.dvr
3.Settings
BoardDataPath = C:\CCStudio_v3.1\cc\bin\BrdDat\
b)System Setup
1.xds510_5402 配置如下:
Connection1 = SD510
DataFileLocation = C:\CCStudio_v3.1\cc\bin\BrdDat\ccBrd0.dat
DeviceDriverName = SD510 Emulator
DmaAddr = 0
Emulator I/O Port = 0
Irq = 0x0c
JTAGClockRate = 1
PortAddr1 = 0x378
PortAddr2 = 0x640
TCLKOption = 0
TMS320C5400_0 配置如下:
DeviceDriverLocation = C:\CCStudio_v3.1\drivers\sdgo5xx.dvr
DeviceDriverName = TMS320C5400
DeviceName = TMS320C5400
DeviceType = 0
Family = 0x140
InitIndex = 1
InternalName = device_0
IsBypass = 0
MasterSlave = 2
Revision = 0
StartupGELFile = C:\CCStudio_v3.1\cc\gel\c5402.gel
StartupMode = 0
SubFamily = 0x54
TreatAsBypass = 0
Type = 0
2.xds510_2812 配置如下:
Connection1 = SD510
DataFileLocation = C:\CCStudio_v3.1\cc\bin\BrdDat\ccBrd0.dat
DeviceDriverName = SD510 Emulator
DmaAddr = 0xd000
Emulator I/O Port = 0
Irq = 0x0c
JTAGClockRate = 1
PortAddr1 = 0x378
PortAddr2 = 0x640
TCLKOption = 0
TMS320F2800_0 配置如下:
DeviceDriverLocation = C:\CCStudio_v3.1\drivers\sdgo28x.dvr
DeviceDriverName = TMS320F2800
DeviceName = TMS320F2800
DeviceType = 0
Family = 0x140
InitIndex = 1
InternalName = device_0
IsBypass = 0
MasterSlave = 2
Revision = 0x7f
StartupGELFile = C:\CCStudio_v3.1\cc\gel\c2812.gel
StartupMode = 0
SubFamily = 0x28
TreatAsBypass = 0
Type = 0
---------------------------------------------------------------------------------------------------------------------------*/
typedef interface IRtdxExp IRtdxExp;
typedef struct IRtdxExpVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE __RPC_FAR * Open)(unsigned char * Channel_String, unsigned char * Read_Write);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * Close)(void);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * Read)(VARIANT *pArr, long dataType, long numBytes);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadI1)(unsigned char * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadI2)(short * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadI4)(long * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadF4)(float * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadF8)(double * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadSAI1)(VARIANT * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadSAI2)(VARIANT * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadSAI4)(VARIANT * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadSAF4)(VARIANT * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadSAF8)(VARIANT * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadSAI2V)(VARIANT * pData);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ReadSAI4V)(long * pStatus);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * WriteI1)(unsigned char Data, long * numBytes);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * WriteI2)(short Data, long * numBytes);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * WriteI4)(long Data, long * numBytes);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * WriteF4)(float Data, long * numBytes);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * WriteF8)(double Data, long * numBytes);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * Write)(VARIANT * Arr, long * numBytes);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * Rewind)();
HRESULT (STDMETHODCALLTYPE __RPC_FAR * Flush)();
HRESULT (STDMETHODCALLTYPE __RPC_FAR * Seek)(long MsgNum);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * SeekData)(long numBytes);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * StatusOfWrite)(long * numBytes);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GetNumMsgs)(long * pNum);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GetChannelID)(unsigned char * Channel_String, long * chanId);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GotoNextMsg)();
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GetMsgID)(long * pMsgId);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GetMsgNumber)(long * pMsgNum);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GetMsgLength)(long * pLength);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * EnableRtdx)();
HRESULT (STDMETHODCALLTYPE __RPC_FAR * DisableRtdx)();
HRESULT (STDMETHODCALLTYPE __RPC_FAR * EnableChannel)(unsigned char * ChannelName);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * DisableChannel)(unsigned char * ChannelName);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GetChannelStatus)(unsigned char * ChannelName, long * pChannelStatus);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ConfigureRtdx)(short Mode, long MainBufferSize, long NumOfMainBuffers);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * ConfigureLogFile)(unsigned char * FileName, long FileSize, short FileFullMode, short FileOpenMode);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GetRTDXRev)(long * RevNum);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GetStatusString)(BSTR * StatusString);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GetCapability)(long * Capability);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * RunDiagnostics)(short TestType, long TestMode, long TestInfo);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * GetDiagFilePath)(short TestType);
HRESULT (STDMETHODCALLTYPE __RPC_FAR * SetProcessor)(unsigned char * Board, unsigned char * Cpu);
END_INTERFACE
} IRtdxExpVtbl;
interface IRtdxExp
{
CONST_VTBL struct IRtdxExpVtbl __RPC_FAR *lpVtbl;
};
文章评论(0条评论)
登录后参与讨论