Click here to Skip to main content
15,887,135 members
Home / Discussions / COM
   

COM

 
GeneralRe: Class Object Release Pin
ThatsAlok26-Feb-08 22:12
ThatsAlok26-Feb-08 22:12 
GeneralRe: Class Object Release Pin
User 21559727-Feb-08 8:50
User 21559727-Feb-08 8:50 
GeneralRe: Class Object Release Pin
John M. Drescher7-Mar-08 23:03
John M. Drescher7-Mar-08 23:03 
GeneralVisual C++ Excel Addin causes Excel to crash Pin
ssaddi25-Feb-08 18:24
ssaddi25-Feb-08 18:24 
GeneralRe: Visual C++ Excel Addin causes Excel to crash Pin
Ernest Laurentin5-Mar-08 7:19
Ernest Laurentin5-Mar-08 7:19 
GeneralUsing C# managed DLL in C++ unmanaged code Pin
dany_ch20-Feb-08 23:26
dany_ch20-Feb-08 23:26 
AnswerRe: Using C# managed DLL in C++ unmanaged code Pin
ritz12344-Mar-08 23:10
ritz12344-Mar-08 23:10 
QuestionTrouble with using COM in Window Service Pin
kamal.chauhan18-Feb-08 21:14
kamal.chauhan18-Feb-08 21:14 
Hi

I’m facing one major issues mentioned below in my HostEmulatorClient application which is using "Attachmate EXTRA! X-treme 9.0" COM component.

- I created a windows form to connect with ORBIT system using EXTRA component. It is
working fine. I can open & view PTs with Phase status as “Await”. Now I have converted this
form into a window service as being a project requirement but my window service is not able to
connect with ORBIT system using the EXTRA component. My Window Service is updating a local log
file. Even in this log file there is no error/exception logged. I’m not able to trace the issue
here.

From code level I do not see any problem. These problems may be because of some missed configuration which I’m not aware about. Below is the code where I try to connect
with ORBIT system.

public bool Open()
{
try
{
EXTRA._System sys = new EXTRA.ExtraSystemClass();
EXTRA.Sessions sss = new EXTRA.ExtraSessionsClass();
EXTRA._Session ses;
EXTRA.Screen scr;
string str = sys.DefaultFilePath;
LogHelper.WriteLog("Path : " + str + "\\" + _AccessDetail.EmulatorFileName + ".EDP", LoggingCategory.AllLoggingMessgesLog);
//LOG IS GENERATED ONLY TILL THIS LEVEL. THERE IS NO LOG FOR LATER LOG STATEMENTS, LIKE LOG FOR EXCEPTION OCCURRED ETC
ses = (EXTRA.ExtraSession)sss.Open(str + "\\" + _AccessDetail.EmulatorFileName + ".EDP");
scr = (EXTRA.ExtraScreen)ses.Screen;
LogHelper.WriteLog("Session instance created ", LoggingCategory.AllLoggingMessgesLog);
return true;
}
catch (Exception ex)
{
LogHelper.WriteLog("Exception occured : " + ex.ToString(), LoggingCategory.AllLoggingMessgesLog);
throw ex;
}
}

Please if anyone around there has faced such issue & has got the solution or at least the cause for
this issue please share it.

Thanks
Kamal Chauhan
GeneralRe: Trouble with using COM in Window Service Pin
Garth J Lancaster18-Feb-08 21:45
professionalGarth J Lancaster18-Feb-08 21:45 
GeneralRe: Trouble with using COM in Window Service Pin
kamal.chauhan18-Feb-08 22:25
kamal.chauhan18-Feb-08 22:25 
QuestionHow to get Recycle Bin Files/folders name Pin
john563213-Feb-08 2:29
john563213-Feb-08 2:29 
GeneralExcel.WorksheetFunction.RTD - Did anyone know how to retrieve data programmatically from rtd server with callback function Pin
bangbangbigolo11-Feb-08 10:07
bangbangbigolo11-Feb-08 10:07 
GeneralReleasing Interface Pin
john56328-Feb-08 0:42
john56328-Feb-08 0:42 
GeneralRe: Releasing Interface Pin
CPallini8-Feb-08 4:41
mveCPallini8-Feb-08 4:41 
GeneralPlease need some help - Multiple Interface - activex control Pin
sv147-Feb-08 22:29
sv147-Feb-08 22:29 
GeneralProblem inregistring Com Class. Pin
Royaltvk7-Feb-08 20:08
Royaltvk7-Feb-08 20:08 
GeneralRe: Problem inregistring Com Class. Pin
User 2155978-Feb-08 0:48
User 2155978-Feb-08 0:48 
GeneralRe: Problem inregistring Com Class. Pin
Royaltvk18-Feb-08 18:23
Royaltvk18-Feb-08 18:23 
QuestionCoCreateInstance failing Pin
KellyR7-Feb-08 9:26
KellyR7-Feb-08 9:26 
GeneralRe: CoCreateInstance failing Pin
Royaltvk7-Feb-08 19:02
Royaltvk7-Feb-08 19:02 
QuestionRe: CoCreateInstance failing Pin
CPallini7-Feb-08 23:09
mveCPallini7-Feb-08 23:09 
GeneralRe: CoCreateInstance failing Pin
KellyR8-Feb-08 4:00
KellyR8-Feb-08 4:00 
GeneralRe: CoCreateInstance failing Pin
CPallini11-Feb-08 21:36
mveCPallini11-Feb-08 21:36 
QuestionRe: CoCreateInstance failing Pin
KellyR14-Feb-08 12:01
KellyR14-Feb-08 12:01 
GeneralRe: CoCreateInstance failing Pin
john56328-Feb-08 0:44
john56328-Feb-08 0:44 

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.