Click here to Skip to main content
15,667,949 members
Home / Discussions / COM
   

COM

 
AnswerRe: using interface Pin
Jonathan Davies5-Dec-09 5:03
Jonathan Davies5-Dec-09 5:03 
AnswerRe: using interface Pin
«_Superman_»5-Dec-09 5:04
professional«_Superman_»5-Dec-09 5:04 
QuestionCalling Com object From C# to add 2 numbers Pin
Chrispie1232-Dec-09 7:47
Chrispie1232-Dec-09 7:47 
AnswerRe: Calling Com object From C# to add 2 numbers Pin
Chrispie1233-Dec-09 18:32
Chrispie1233-Dec-09 18:32 
AnswerRe: Calling Com object From C# to add 2 numbers Pin
KarstenK14-Dec-09 22:48
mveKarstenK14-Dec-09 22:48 
AnswerRe: Calling Com object From C# to add 2 numbers Pin
Md. Marufuzzaman15-Dec-09 4:04
professionalMd. Marufuzzaman15-Dec-09 4:04 
QuestionIs it possible to attach the manifest info to a dll for SxS? Pin
levinp29-Nov-09 21:41
levinp29-Nov-09 21:41 
QuestionUsing COM component invalid pointer error Pin
Ash_VCPP27-Nov-09 1:19
Ash_VCPP27-Nov-09 1:19 
Hi All,

I have created COM component(dll) and created one client to use it, Please finnd the code of client:-

HRESULT hr = CoInitialize(0);		//CoCreateInstance(		SCRIPTOBJLib::IScriptObjPtr sobj;		//sobj->QueryInterface(IId_,void* &vp);		//HRESULT hRes = CComObject<CScriptObj>::CreateInstance(&sobj);		//CreateInstance(NULL,IID_IUnknown,(void*)&vp);		//HRESULT hres = sobj.CreateInstance  ( __uuidof(SCRIPTOBJLib::IScriptObj) );		//HRESULT hres = sobj.CreateInstance("ScriptObj 1.0 Type Library");		//at this point i am getting the error		sobj->SetLanguage((unsigned short *)"VBScript");		CoUninitialize();

Please give me some solutions coz i tried every possible way.

Thanks A Ton
Ash_VCPP
walking over water is just knowing where the stones are.....

AnswerRe: Using COM component invalid pointer error Pin
KarstenK27-Nov-09 1:34
mveKarstenK27-Nov-09 1:34 
GeneralRe: Using COM component invalid pointer error Pin
Ash_VCPP27-Nov-09 2:15
Ash_VCPP27-Nov-09 2:15 
AnswerRe: Using COM component invalid pointer error Pin
User 121625727-Nov-09 2:24
User 121625727-Nov-09 2:24 
GeneralRe: Using COM component invalid pointer error Pin
Ash_VCPP27-Nov-09 2:31
Ash_VCPP27-Nov-09 2:31 
GeneralRe: Using COM component invalid pointer error Pin
KarstenK27-Nov-09 2:50
mveKarstenK27-Nov-09 2:50 
GeneralRe: Using COM component invalid pointer error Pin
Richard MacCutchan27-Nov-09 3:46
mveRichard MacCutchan27-Nov-09 3:46 
QuestionCOM Error: error LNK2001: unresolved external symbol "public: virtual long __stdcall Pin
Ash_VCPP25-Nov-09 23:09
Ash_VCPP25-Nov-09 23:09 
AnswerRe: COM Error: error LNK2001: unresolved external symbol "public: virtual long __stdcall Pin
cariolihome27-Nov-09 10:20
cariolihome27-Nov-09 10:20 
Questionnew to COM Pin
mailgirish99@yahoo.com25-Nov-09 4:26
mailgirish99@yahoo.com25-Nov-09 4:26 
AnswerRe: new to COM Pin
Stuart Dootson25-Nov-09 21:33
professionalStuart Dootson25-Nov-09 21:33 
Questioncom component in asp.net Pin
pravinmishra24-Nov-09 5:42
pravinmishra24-Nov-09 5:42 
QuestionIn Socket server How insert into Oracle? Pin
TheCodeVB21-Nov-09 16:03
TheCodeVB21-Nov-09 16:03 
QuestionOutlook 2007 automation Pin
NiceNaidu19-Nov-09 23:18
NiceNaidu19-Nov-09 23:18 
AnswerRe: Outlook 2007 automation Pin
ScottM129-Nov-09 20:01
ScottM129-Nov-09 20:01 
Questionproblem access com methods - unhandled exception [modified] Pin
Vijjuuu.18-Nov-09 20:40
Vijjuuu.18-Nov-09 20:40 
AnswerRe: problem access com methods Pin
Jonathan Davies19-Nov-09 1:55
Jonathan Davies19-Nov-09 1:55 
AnswerRe: problem access com methods - unhandled exception [modified] Pin
cariolihome27-Nov-09 10:17
cariolihome27-Nov-09 10:17 

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.