Como puedo usar un componente ActiveX en .Net, pero un componente que usa una libreria .tbl

01/03/2004 - 19:09 por Herky Mezarina | Informe spam
De antemano les agradezco la ayuda, me esta sirviendo mucho.

La componente de la que les hable ya trabaja parcialmente con .Net y en
C#, pero lo que sucede ahora es que hay errores con algunas funciones.
He revisado el codigo de la componente y trabaja al cien por ciento con
API y usa la libreria stole2.tbl. Presumo que este archivo es la causa
de los errores ya que el unico que interopera con .Net es swfchart.dll.
Les adjunto el codigo de la componente para que se hagan una idea.
Que puedo hacer?

Herky


// Generated .IDL file (by the OLE/COM Object Viewer)
//
// typelib filename: swfchart.dll

[
uuid(CC4B4308-035B-11D6-83D2-525400E80BD5),
version(1.0),
helpstring("SwiffChartObject 1.0 Type Library"),
custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 83951780),
custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 1060100123)

]
library SWIFFCHARTOBJECTLib
{
// TLib : // TLib : OLE Automation :
{00020430-0000-0000-C000-000000000046}
importlib("stdole2.tlb");

// Forward declare all types defined in this typelib
interface IChartObj;

typedef enum {
E_SERIES_OUTOFBOUNDS = 512,
E_INVALID_SERIES_INDEX = 513,
E_VALUE_OUTOFBOUNDS = 514,
E_CATEGORY_OUTOFBOUNDS = 515,
E_FILE_NOT_FOUND = 516,
E_FILE_NOT_RECOGNIZED = 517,
E_FILE_VERSION_NOT_SUPPORTED = 518,
E_FILE_BAD_FORMAT = 519,
E_INVALID_FILENAME = 520,
E_GENERATION_ERROR = 521,
E_UNSUPPORTED_VALUES_ARRAY = 522,
E_UNSUPPORTED_CATEGORIES_ARRAY = 523,
E_UNSUPPORTED_CAPTIONS_ARRAY = 524,
E_INVALID_WIDTH = 525,
E_INVALID_HEIGHT = 526,
E_INVALID_FPS = 527,
E_TXTFILE_DATA_IMPORT_FAILED = 528,
E_INVALID_AXIS = 529,
E_INVALID_DIRECTORY = 530,
E_INVALID_DOCROOTDIR = 531,
E_CANNOT_WRITE_TO_DIRECTORY = 532,
E_DISK_FULL = 533,
E_INVALID_LOCALE_INFO_TYPE = 534,
E_INVALID_OUTPUT_FORMAT = 535
} Failures;

[
uuid(D6E26727-037F-11D6-83D2-525400E80BD5),
helpstring("ChartObj Class")
]
coclass ChartObj {
[default] interface IChartObj;
};

[
odl,
uuid(D6E26726-037F-11D6-83D2-525400E80BD5),
helpstring("IChartObj Interface"),
dual,
oleautomation
]
interface IChartObj : IDispatch {
[id(0x60020000)]
HRESULT OnStartPage([in] IUnknown* piUnk);
[id(0x60020001)]
HRESULT OnEndPage();
[id(0x00000001), helpstring("method GetVersion")]
HRESULT GetVersion([out, retval] BSTR* version_string);
[id(0x00000002), helpstring("method LoadStyle")]
HRESULT LoadStyle([in] BSTR filename);
[id(0x00000003), helpstring("method SetStyle")]
HRESULT SetStyle([in] BSTR style_data);
[id(0x00000004), helpstring("method SetWidth")]
HRESULT SetWidth([in] long width);
[id(0x00000005), helpstring("method GetWidth")]
HRESULT GetWidth([out, retval] long* width);
[id(0x00000006), helpstring("method SetHeight")]
HRESULT SetHeight([in] long height);
[id(0x00000007), helpstring("method GetHeight")]
HRESULT GetHeight([out, retval] long* height);
[id(0x00000008), helpstring("method CompressSWF")]
HRESULT CompressSWF([in] long swf_compressed);
[id(0x00000009), helpstring("method IsSWFCompressed")]
HRESULT IsSWFCompressed([out, retval] long* swf_compressed);
[id(0x0000000a), helpstring("method SetCompressed")]
HRESULT SetCompressed([in] long compressed);
[id(0x0000000b), helpstring("method IsCompressed")]
HRESULT IsCompressed([out, retval] long* compressed);
[id(0x0000000c), helpstring("method AnimateChart")]
HRESULT AnimateChart([in] long animate);
[id(0x0000000d), helpstring("method IsAnimated")]
HRESULT IsAnimated([out, retval] long* animated);
[id(0x0000000e), helpstring("method SetFrameRate")]
HRESULT SetFrameRate([in] long fps);
[id(0x0000000f), helpstring("method GetFrameRate")]
HRESULT GetFrameRate([out, retval] long* fps);
[id(0x00000010), helpstring("method SetLooping")]
HRESULT SetLooping([in] long looping);
[id(0x00000011), helpstring("method IsLooping")]
HRESULT IsLooping([out, retval] long* looping);
[id(0x00000012), helpstring("method ProtectSWF")]
HRESULT ProtectSWF([in] long swf_protected);
[id(0x00000013), helpstring("method IsSWFProtected")]
HRESULT IsSWFProtected([out, retval] long* swf_protected);
[id(0x00000014), helpstring("method SetSeparators")]
HRESULT SetSeparators(
[in] BSTR separators,
[in] long ignore_multiple_separators);
[id(0x00000015), helpstring("method GetSeparators")]
HRESULT GetSeparators([out, retval] BSTR* sep);
[id(0x00000016), helpstring("method SetLocaleInfo")]
HRESULT SetLocaleInfo(
[in] long type,
[in] BSTR data);
[id(0x00000017), helpstring("method SetTitle")]
HRESULT SetTitle([in] BSTR title);
[id(0x00000018), helpstring("method GetTitle")]
HRESULT GetTitle([out, retval] BSTR* title);
[id(0x00000019), helpstring("method SetSubtitle")]
HRESULT SetSubtitle([in] BSTR subtitle);
[id(0x0000001a), helpstring("method GetSubtitle")]
HRESULT GetSubtitle([out, retval] BSTR* subtitle);
[id(0x0000001b), helpstring("method SetUnicode")]
HRESULT SetUnicode([in] long is_unicode);
[id(0x0000001c), helpstring("method SetDataFromTxtFile")]
HRESULT SetDataFromTxtFile(
[in] BSTR filename,
[in] long seriesincolumn,
[in] long titlesinfirstrow,
[in] long titlesinfirstcolumn);
[id(0x0000001d), helpstring("method SetDataFromQuery")]
HRESULT SetDataFromQuery();
[id(0x0000001e), helpstring("method SetCategoriesFromString")]
HRESULT SetCategoriesFromString([in] BSTR categories);
[id(0x0000001f), helpstring("method SetCategoriesFromArray")]
HRESULT SetCategoriesFromArray([in] VARIANT* categories);
[id(0x00000020), helpstring("method GetCategory")]
HRESULT GetCategory(
[in] long cat_index,
[out, retval] BSTR* category);
[id(0x00000021), helpstring("method ClearAll")]
HRESULT ClearAll();
[id(0x00000022), helpstring("method AddSeries")]
HRESULT AddSeries();
[id(0x00000023), helpstring("method
SetSeriesCaptionsFromString")]
HRESULT SetSeriesCaptionsFromString([in] BSTR captions);
[id(0x00000024), helpstring("method
SetSeriesCaptionsFromArray")]
HRESULT SetSeriesCaptionsFromArray([in] VARIANT* captions);
[id(0x00000025), helpstring("method SetSeriesCaption")]
HRESULT SetSeriesCaption(
[in] long series_index,
[in] BSTR caption);
[id(0x00000026), helpstring("method GetSeriesCaption")]
HRESULT GetSeriesCaption(
[in] long series_index,
[out, retval] BSTR* ret_caption);
[id(0x00000027), helpstring("method GetSeriesCount")]
HRESULT GetSeriesCount([out, retval] long* plnSeries);
[id(0x00000028), helpstring("method GetValuesCount")]
HRESULT GetValuesCount([out, retval] long* plnValues);
[id(0x00000029), helpstring("method
SetSeriesXValuesFromString")]
HRESULT SetSeriesXValuesFromString(
[in] long series_index,
[in] BSTR values);
[id(0x0000002a), helpstring("method SetSeriesXValuesFromArray")]
HRESULT SetSeriesXValuesFromArray(
[in] long series_index,
[in] VARIANT* values);
[id(0x0000002b), helpstring("method
SetSeriesYValuesFromString")]
HRESULT SetSeriesYValuesFromString(
[in] long series_index,
[in] BSTR values);
[id(0x0000002c), helpstring("method SetSeriesYValuesFromArray")]
HRESULT SetSeriesYValuesFromArray(
[in] long series_index,
[in] VARIANT* values);
[id(0x0000002d), helpstring("method
SetSeriesXYValuesFromString")]
HRESULT SetSeriesXYValuesFromString(
[in] long series_index,
[in] BSTR values);
[id(0x0000002e), helpstring("method GetSeriesXValue")]
HRESULT GetSeriesXValue(
[in] long series_index,
[in] long value_index,
[out, retval] double* value);
[id(0x0000002f), helpstring("method GetSeriesYValue")]
HRESULT GetSeriesYValue(
[in] long series_index,
[in] long value_index,
[out, retval] double* value);
[id(0x00000030), helpstring("method SetSeriesValuesFromString")]
HRESULT SetSeriesValuesFromString(
[in] long series_index,
[in] BSTR values);
[id(0x00000031), helpstring("method SetSeriesValuesFromArray")]
HRESULT SetSeriesValuesFromArray(
[in] long series_index,
[in] VARIANT* values);
[id(0x00000032), helpstring("method GetSeriesValue")]
HRESULT GetSeriesValue(
[in] long series_index,
[in] long value_index,
[out, retval] double* value);
[id(0x00000033), helpstring("method SetAxisMinValue")]
HRESULT SetAxisMinValue(
[in] long axis_number,
[in] VARIANT* min_value);
[id(0x00000034), helpstring("method SetAxisMaxValue")]
HRESULT SetAxisMaxValue(
[in] long axis_number,
[in] VARIANT* max_value);
[id(0x00000035), helpstring("method SetAxisCrossValue")]
HRESULT SetAxisCrossValue(
[in] long axis_number,
[in] VARIANT* cross_value);
[id(0x00000036), helpstring("method ResetAxisBounds")]
HRESULT ResetAxisBounds([in] long axis_number);
[id(0x00000037), helpstring("method SetAxisTitle")]
HRESULT SetAxisTitle(
[in] long axis_number,
[in] BSTR title);
[id(0x00000038), helpstring("method GetAxisTitle")]
HRESULT GetAxisTitle(
[in] long axis_number,
[out, retval] BSTR* title);
[id(0x00000039), helpstring("method SetOutputFormat")]
HRESULT SetOutputFormat([in] BSTR format);
[id(0x0000003a), helpstring("method SetJPGQuality")]
HRESULT SetJPGQuality([in] long quality);
[id(0x0000003b), helpstring("method SetPNGCompLevel")]
HRESULT SetPNGCompLevel([in] long comp_level);
[id(0x0000003c), helpstring("method ExportAsBinary")]
HRESULT ExportAsBinary([out, retval] VARIANT* bin_res);
[id(0x0000003d), helpstring("method ExportAsBase64")]
HRESULT ExportAsBase64([out, retval] BSTR* base64_data);
[id(0x0000003e), helpstring("method ExportAsFile")]
HRESULT ExportAsFile([in] BSTR filename);
[id(0x0000003f), helpstring("method ExportAsResponse")]
HRESULT ExportAsResponse();
[id(0x00000040), helpstring("method SetDocumentRoot")]
HRESULT SetDocumentRoot([in] BSTR document_root_dir);
[id(0x00000041), helpstring("method GetHTMLTag")]
HRESULT GetHTMLTag([out, retval] BSTR* html_tag);
[id(0x00000042), helpstring("method GetOutputLocation")]
HRESULT GetOutputLocation([out, retval] BSTR* location);
[id(0x00000043), helpstring("method GetHTTPContentType")]
HRESULT GetHTTPContentType([out, retval] BSTR* content_type);
[id(0x00000044), helpstring("method ClearCache")]
HRESULT ClearCache();
[id(0x00000045), helpstring("method SetCacheName")]
HRESULT SetCacheName([in] BSTR cache_name);
[id(0x00000046), helpstring("method SetPrivateCacheDir")]
HRESULT SetPrivateCacheDir([in] BSTR private_cache_dir);
[id(0x00000047), helpstring("method SetMaxCacheSize")]
HRESULT SetMaxCacheSize([in] long max_cache_size);
[id(0x00000048), helpstring("method UseCache")]
HRESULT UseCache([in] long use_cache);
[id(0x00000049), helpstring("method BatchCommands")]
HRESULT BatchCommands([in] BSTR commands);
[id(0x0000004a), helpstring("method SetDebugMode")]
HRESULT SetDebugMode([in] long debug_mode);
};
};


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 

Leer las respuestas

#1 pablo crosio
01/03/2004 - 19:29 | Informe spam
hola!

pues te diria que casi todos los componentes COM
implementan esa libreria...
no creo que sea ese el problema...

¿cual es el error?

salu2!!

pablo

De antemano les agradezco la ayuda, me esta sirviendo


mucho.

La componente de la que les hable ya trabaja parcialmente


con .Net y en
C#, pero lo que sucede ahora es que hay errores con


algunas funciones.
He revisado el codigo de la componente y trabaja al cien


por ciento con
API y usa la libreria stole2.tbl. Presumo que este


archivo es la causa
de los errores ya que el unico que interopera con .Net es


swfchart.dll.
Les adjunto el codigo de la componente para que se hagan


una idea.
Que puedo hacer?

Herky


// Generated .IDL file (by the OLE/COM Object Viewer)
//
// typelib filename: swfchart.dll

[
uuid(CC4B4308-035B-11D6-83D2-525400E80BD5),
version(1.0),
helpstring("SwiffChartObject 1.0 Type Library"),
custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 83951780),
custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 1060100123)

]
library SWIFFCHARTOBJECTLib
{
// TLib : // TLib : OLE Automation :
{00020430-0000-0000-C000-000000000046}
importlib("stdole2.tlb");

// Forward declare all types defined in this typelib
interface IChartObj;

typedef enum {
E_SERIES_OUTOFBOUNDS = 512,
E_INVALID_SERIES_INDEX = 513,
E_VALUE_OUTOFBOUNDS = 514,
E_CATEGORY_OUTOFBOUNDS = 515,
E_FILE_NOT_FOUND = 516,
E_FILE_NOT_RECOGNIZED = 517,
E_FILE_VERSION_NOT_SUPPORTED = 518,
E_FILE_BAD_FORMAT = 519,
E_INVALID_FILENAME = 520,
E_GENERATION_ERROR = 521,
E_UNSUPPORTED_VALUES_ARRAY = 522,
E_UNSUPPORTED_CATEGORIES_ARRAY = 523,
E_UNSUPPORTED_CAPTIONS_ARRAY = 524,
E_INVALID_WIDTH = 525,
E_INVALID_HEIGHT = 526,
E_INVALID_FPS = 527,
E_TXTFILE_DATA_IMPORT_FAILED = 528,
E_INVALID_AXIS = 529,
E_INVALID_DIRECTORY = 530,
E_INVALID_DOCROOTDIR = 531,
E_CANNOT_WRITE_TO_DIRECTORY = 532,
E_DISK_FULL = 533,
E_INVALID_LOCALE_INFO_TYPE = 534,
E_INVALID_OUTPUT_FORMAT = 535
} Failures;

[
uuid(D6E26727-037F-11D6-83D2-525400E80BD5),
helpstring("ChartObj Class")
]
coclass ChartObj {
[default] interface IChartObj;
};

[
odl,
uuid(D6E26726-037F-11D6-83D2-525400E80BD5),
helpstring("IChartObj Interface"),
dual,
oleautomation
]
interface IChartObj : IDispatch {
[id(0x60020000)]
HRESULT OnStartPage([in] IUnknown* piUnk);
[id(0x60020001)]
HRESULT OnEndPage();
[id(0x00000001), helpstring("method GetVersion")]
HRESULT GetVersion([out, retval] BSTR*


version_string);
[id(0x00000002), helpstring("method LoadStyle")]
HRESULT LoadStyle([in] BSTR filename);
[id(0x00000003), helpstring("method SetStyle")]
HRESULT SetStyle([in] BSTR style_data);
[id(0x00000004), helpstring("method SetWidth")]
HRESULT SetWidth([in] long width);
[id(0x00000005), helpstring("method GetWidth")]
HRESULT GetWidth([out, retval] long* width);
[id(0x00000006), helpstring("method SetHeight")]
HRESULT SetHeight([in] long height);
[id(0x00000007), helpstring("method GetHeight")]
HRESULT GetHeight([out, retval] long* height);
[id(0x00000008), helpstring("method CompressSWF")]
HRESULT CompressSWF([in] long swf_compressed);
[id(0x00000009), helpstring("method


IsSWFCompressed")]
HRESULT IsSWFCompressed([out, retval] long*


swf_compressed);
[id(0x0000000a), helpstring("method


SetCompressed")]
HRESULT SetCompressed([in] long compressed);
[id(0x0000000b), helpstring("method


IsCompressed")]
HRESULT IsCompressed([out, retval] long*


compressed);
[id(0x0000000c), helpstring("method


AnimateChart")]
HRESULT AnimateChart([in] long animate);
[id(0x0000000d), helpstring("method IsAnimated")]
HRESULT IsAnimated([out, retval] long* animated);
[id(0x0000000e), helpstring("method


SetFrameRate")]
HRESULT SetFrameRate([in] long fps);
[id(0x0000000f), helpstring("method


GetFrameRate")]
HRESULT GetFrameRate([out, retval] long* fps);
[id(0x00000010), helpstring("method SetLooping")]
HRESULT SetLooping([in] long looping);
[id(0x00000011), helpstring("method IsLooping")]
HRESULT IsLooping([out, retval] long* looping);
[id(0x00000012), helpstring("method ProtectSWF")]
HRESULT ProtectSWF([in] long swf_protected);
[id(0x00000013), helpstring("method


IsSWFProtected")]
HRESULT IsSWFProtected([out, retval] long*


swf_protected);
[id(0x00000014), helpstring("method


SetSeparators")]
HRESULT SetSeparators(
[in] BSTR separators,
[in] long


ignore_multiple_separators);
[id(0x00000015), helpstring("method


GetSeparators")]
HRESULT GetSeparators([out, retval] BSTR* sep);
[id(0x00000016), helpstring("method


SetLocaleInfo")]
HRESULT SetLocaleInfo(
[in] long type,
[in] BSTR data);
[id(0x00000017), helpstring("method SetTitle")]
HRESULT SetTitle([in] BSTR title);
[id(0x00000018), helpstring("method GetTitle")]
HRESULT GetTitle([out, retval] BSTR* title);
[id(0x00000019), helpstring("method SetSubtitle")]
HRESULT SetSubtitle([in] BSTR subtitle);
[id(0x0000001a), helpstring("method GetSubtitle")]
HRESULT GetSubtitle([out, retval] BSTR* subtitle);
[id(0x0000001b), helpstring("method SetUnicode")]
HRESULT SetUnicode([in] long is_unicode);
[id(0x0000001c), helpstring("method


SetDataFromTxtFile")]
HRESULT SetDataFromTxtFile(
[in] BSTR filename,
[in] long seriesincolumn,
[in] long titlesinfirstrow,
[in] long titlesinfirstcolumn);
[id(0x0000001d), helpstring("method


SetDataFromQuery")]
HRESULT SetDataFromQuery();
[id(0x0000001e), helpstring("method


SetCategoriesFromString")]
HRESULT SetCategoriesFromString([in] BSTR


categories);
[id(0x0000001f), helpstring("method


SetCategoriesFromArray")]
HRESULT SetCategoriesFromArray([in] VARIANT*


categories);
[id(0x00000020), helpstring("method GetCategory")]
HRESULT GetCategory(
[in] long cat_index,
[out, retval] BSTR* category);
[id(0x00000021), helpstring("method ClearAll")]
HRESULT ClearAll();
[id(0x00000022), helpstring("method AddSeries")]
HRESULT AddSeries();
[id(0x00000023), helpstring("method
SetSeriesCaptionsFromString")]
HRESULT SetSeriesCaptionsFromString([in] BSTR


captions);
[id(0x00000024), helpstring("method
SetSeriesCaptionsFromArray")]
HRESULT SetSeriesCaptionsFromArray([in] VARIANT*


captions);
[id(0x00000025), helpstring("method


SetSeriesCaption")]
HRESULT SetSeriesCaption(
[in] long series_index,
[in] BSTR caption);
[id(0x00000026), helpstring("method


GetSeriesCaption")]
HRESULT GetSeriesCaption(
[in] long series_index,
[out, retval] BSTR* ret_caption);
[id(0x00000027), helpstring("method


GetSeriesCount")]
HRESULT GetSeriesCount([out, retval] long*


plnSeries);
[id(0x00000028), helpstring("method


GetValuesCount")]
HRESULT GetValuesCount([out, retval] long*


plnValues);
[id(0x00000029), helpstring("method
SetSeriesXValuesFromString")]
HRESULT SetSeriesXValuesFromString(
[in] long series_index,
[in] BSTR values);
[id(0x0000002a), helpstring("method


SetSeriesXValuesFromArray")]
HRESULT SetSeriesXValuesFromArray(
[in] long series_index,
[in] VARIANT* values);
[id(0x0000002b), helpstring("method
SetSeriesYValuesFromString")]
HRESULT SetSeriesYValuesFromString(
[in] long series_index,
[in] BSTR values);
[id(0x0000002c), helpstring("method


SetSeriesYValuesFromArray")]
HRESULT SetSeriesYValuesFromArray(
[in] long series_index,
[in] VARIANT* values);
[id(0x0000002d), helpstring("method
SetSeriesXYValuesFromString")]
HRESULT SetSeriesXYValuesFromString(
[in] long series_index,
[in] BSTR values);
[id(0x0000002e), helpstring("method


GetSeriesXValue")]
HRESULT GetSeriesXValue(
[in] long series_index,
[in] long value_index,
[out, retval] double* value);
[id(0x0000002f), helpstring("method


GetSeriesYValue")]
HRESULT GetSeriesYValue(
[in] long series_index,
[in] long value_index,
[out, retval] double* value);
[id(0x00000030), helpstring("method


SetSeriesValuesFromString")]
HRESULT SetSeriesValuesFromString(
[in] long series_index,
[in] BSTR values);
[id(0x00000031), helpstring("method


SetSeriesValuesFromArray")]
HRESULT SetSeriesValuesFromArray(
[in] long series_index,
[in] VARIANT* values);
[id(0x00000032), helpstring("method


GetSeriesValue")]
HRESULT GetSeriesValue(
[in] long series_index,
[in] long value_index,
[out, retval] double* value);
[id(0x00000033), helpstring("method


SetAxisMinValue")]
HRESULT SetAxisMinValue(
[in] long axis_number,
[in] VARIANT* min_value);
[id(0x00000034), helpstring("method


SetAxisMaxValue")]
HRESULT SetAxisMaxValue(
[in] long axis_number,
[in] VARIANT* max_value);
[id(0x00000035), helpstring("method


SetAxisCrossValue")]
HRESULT SetAxisCrossValue(
[in] long axis_number,
[in] VARIANT* cross_value);
[id(0x00000036), helpstring("method


ResetAxisBounds")]
HRESULT ResetAxisBounds([in] long axis_number);
[id(0x00000037), helpstring("method


SetAxisTitle")]
HRESULT SetAxisTitle(
[in] long axis_number,
[in] BSTR title);
[id(0x00000038), helpstring("method


GetAxisTitle")]
HRESULT GetAxisTitle(
[in] long axis_number,
[out, retval] BSTR* title);
[id(0x00000039), helpstring("method


SetOutputFormat")]
HRESULT SetOutputFormat([in] BSTR format);
[id(0x0000003a), helpstring("method


SetJPGQuality")]
HRESULT SetJPGQuality([in] long quality);
[id(0x0000003b), helpstring("method


SetPNGCompLevel")]
HRESULT SetPNGCompLevel([in] long comp_level);
[id(0x0000003c), helpstring("method


ExportAsBinary")]
HRESULT ExportAsBinary([out, retval] VARIANT*


bin_res);
[id(0x0000003d), helpstring("method


ExportAsBase64")]
HRESULT ExportAsBase64([out, retval] BSTR*


base64_data);
[id(0x0000003e), helpstring("method


ExportAsFile")]
HRESULT ExportAsFile([in] BSTR filename);
[id(0x0000003f), helpstring("method


ExportAsResponse")]
HRESULT ExportAsResponse();
[id(0x00000040), helpstring("method


SetDocumentRoot")]
HRESULT SetDocumentRoot([in] BSTR


document_root_dir);
[id(0x00000041), helpstring("method GetHTMLTag")]
HRESULT GetHTMLTag([out, retval] BSTR* html_tag);
[id(0x00000042), helpstring("method


GetOutputLocation")]
HRESULT GetOutputLocation([out, retval] BSTR*


location);
[id(0x00000043), helpstring("method


GetHTTPContentType")]
HRESULT GetHTTPContentType([out, retval] BSTR*


content_type);
[id(0x00000044), helpstring("method ClearCache")]
HRESULT ClearCache();
[id(0x00000045), helpstring("method


SetCacheName")]
HRESULT SetCacheName([in] BSTR cache_name);
[id(0x00000046), helpstring("method


SetPrivateCacheDir")]
HRESULT SetPrivateCacheDir([in] BSTR


private_cache_dir);
[id(0x00000047), helpstring("method


SetMaxCacheSize")]
HRESULT SetMaxCacheSize([in] long max_cache_size);
[id(0x00000048), helpstring("method UseCache")]
HRESULT UseCache([in] long use_cache);
[id(0x00000049), helpstring("method


BatchCommands")]
HRESULT BatchCommands([in] BSTR commands);
[id(0x0000004a), helpstring("method


SetDebugMode")]
HRESULT SetDebugMode([in] long debug_mode);
};
};


*** Sent via Developersdex http://www.developersdex.com


***
Don't just participate in USENET...get rewarded for it!
.

Preguntas similares