Click here to Skip to main content
15,888,401 members
Home / Discussions / COM
   

COM

 
GeneralRe: pass character string to COM Pin
MKUser2-Jul-08 23:02
MKUser2-Jul-08 23:02 
GeneralRe: pass character string to COM Pin
Vi22-Jul-08 17:38
Vi22-Jul-08 17:38 
GeneralRe: pass character string to COM Pin
CPallini1-Jul-08 22:08
mveCPallini1-Jul-08 22:08 
GeneralRe: pass character string to COM Pin
CPallini1-Jul-08 3:25
mveCPallini1-Jul-08 3:25 
QuestionHow to add another activex control to web page dynamically. Pin
vies0028-Jun-08 22:28
vies0028-Jun-08 22:28 
AnswerRe: How to add another activex control to web page dynamically. Pin
pascal9181-Mar-10 16:48
pascal9181-Mar-10 16:48 
QuestionDefine a enum type variable on the Interface (ATL project) ? Pin
iman_kh27-Jun-08 10:31
iman_kh27-Jun-08 10:31 
AnswerRe: Define a enum type variable on the Interface (ATL project) ? Pin
Stephen Hewitt1-Jul-08 15:03
Stephen Hewitt1-Jul-08 15:03 
Don't be afraid to search through the .IDL files that come with the compiler or SDK. On my system I searched all the .IDL files in "C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE" for the word enum. Here's the first example:
typedef enum tagSCRIPTSTATE {
	SCRIPTSTATE_UNINITIALIZED       = 0,
	SCRIPTSTATE_INITIALIZED         = 5,
	SCRIPTSTATE_STARTED             = 1,
	SCRIPTSTATE_CONNECTED           = 2,
	SCRIPTSTATE_DISCONNECTED        = 3,
	SCRIPTSTATE_CLOSED              = 4,
 
} SCRIPTSTATE ;
 
/* ....Later.... */
 
[
	object,
	uuid(DB01A1E3-A42B-11cf-8F20-00805F2CD064),
	pointer_default(unique)
]
interface IActiveScriptSite : IUnknown
{
	HRESULT GetLCID(
		[out] LCID *plcid
	);
 
	HRESULT GetItemInfo(
		[in]  LPCOLESTR pstrName,
		[in]  DWORD     dwReturnMask,
		[out] IUnknown  **ppiunkItem,
		[out] ITypeInfo **ppti
	);
 
	HRESULT GetDocVersionString(
		[out] BSTR      *pbstrVersion
	);
 
	HRESULT OnScriptTerminate(
		[in]  const VARIANT     *pvarResult,
		[in]  const EXCEPINFO   *pexcepinfo
	);
 
	HRESULT OnStateChange(
		[in]  SCRIPTSTATE       ssScriptState
	);
 
	HRESULT OnScriptError(
		[in]  IActiveScriptError *pscripterror
	);
 
	HRESULT OnEnterScript(void);
 
	HRESULT OnLeaveScript(void);
}


Steve

AnswerRe: Define a enum type variable on the Interface (ATL project) ? Pin
Vi21-Jul-08 17:33
Vi21-Jul-08 17:33 
QuestionPassing an array from an ActiveX class Pin
Hampus@foi26-Jun-08 2:55
Hampus@foi26-Jun-08 2:55 
AnswerRe: Passing an array from an ActiveX class Pin
KarstenK26-Jun-08 3:22
mveKarstenK26-Jun-08 3:22 
GeneralRe: Passing an array from an ActiveX class Pin
Hampus@foi26-Jun-08 3:39
Hampus@foi26-Jun-08 3:39 
AnswerRe: Passing an array from an ActiveX class Pin
Lim Bio Liong26-Jun-08 7:21
Lim Bio Liong26-Jun-08 7:21 
GeneralRe: Passing an array from an ActiveX class Pin
Hampus@foi26-Jun-08 20:40
Hampus@foi26-Jun-08 20:40 
GeneralRe: Passing an array from an ActiveX class Pin
Lim Bio Liong26-Jun-08 21:26
Lim Bio Liong26-Jun-08 21:26 
QuestionAutomation, COM, server destruction Pin
ON_Vlad23-Jun-08 9:07
ON_Vlad23-Jun-08 9:07 
AnswerRe: Automation, COM, server destruction Pin
KarstenK26-Jun-08 3:29
mveKarstenK26-Jun-08 3:29 
GeneralRe: Automation, COM, server destruction Pin
ON_Vlad26-Jun-08 5:19
ON_Vlad26-Jun-08 5:19 
QuestionCOM Addin registery setting on Terminal server Pin
manisghouri23-Jun-08 1:06
manisghouri23-Jun-08 1:06 
Questionhow to export com dll(have created with c#) to .lib type library? Pin
iman_kh20-Jun-08 9:22
iman_kh20-Jun-08 9:22 
QuestionProgrammtically Unregister COM Server Pin
Brady Kelly19-Jun-08 1:59
Brady Kelly19-Jun-08 1:59 
AnswerRe: Programmtically Unregister COM Server Pin
CPallini19-Jun-08 2:09
mveCPallini19-Jun-08 2:09 
AnswerRe: Programmtically Unregister COM Server Pin
KarstenK19-Jun-08 2:29
mveKarstenK19-Jun-08 2:29 
QuestionASPTypeLibrary.Request and HttpRequest in COM Pin
mfmaneef18-Jun-08 21:58
mfmaneef18-Jun-08 21:58 
QuestionRegistration Free COM Pin
Brady Kelly17-Jun-08 3:42
Brady Kelly17-Jun-08 3:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.