Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do i insert an image into a ListCtrl ? Pin
Sakthiu6-Dec-06 23:01
Sakthiu6-Dec-06 23:01 
AnswerRe: How do i insert an image into a ListCtrl ? Pin
Hamid_RT6-Dec-06 23:12
Hamid_RT6-Dec-06 23:12 
GeneralRe: How do i insert an image into a ListCtrl ? Pin
Sakthiu6-Dec-06 23:24
Sakthiu6-Dec-06 23:24 
QuestionRe: How do i insert an image into a ListCtrl ? Pin
David Crow7-Dec-06 5:51
David Crow7-Dec-06 5:51 
GeneralRe: How do i insert an image into a ListCtrl ? Pin
Hamid_RT7-Dec-06 18:09
Hamid_RT7-Dec-06 18:09 
AnswerRe: How do i insert an image into a ListCtrl ? Pin
«_Superman_»6-Dec-06 23:16
professional«_Superman_»6-Dec-06 23:16 
AnswerRe: How do i insert an image into a ListCtrl ? Pin
bosfan7-Dec-06 2:24
bosfan7-Dec-06 2:24 
QuestionVBScriptEngine & MSXMLDOM.Document Pin
shadrach_india6-Dec-06 23:00
shadrach_india6-Dec-06 23:00 
hi CPIans

I am struggling with a WebService Project.

I am explaining the issue.

I have created a web services which process ASP Pages. Whenever a client connect to my service I am creating a thread for handling its request. In this thread, I am calling VBScript Engine component for execute ASP Page.



Here my webservice is used as a gateway. In side my ASPPage I am creating XMLDomDcoument and HTTPRequest Object . I have listed here the Code

Processing flow

1. Loading XML Content from Request Object to XMLDOMDocument
2. Opening our DataCenter Server’s ASP Page by MSXML2.XMLHTTP Object
3. Sending the XMLDOMDocument by MSXML2.XMLHTTP object



<!--#include file="dataCenter.asp"--><br />
<%	Set objXMLDocument = CreateObject("MSXML2.DOMDocument")<br />
	dataCenter=dataCenter & Mid(Request.ServerVariables("URL"), InStrRev(Request.ServerVariables("URL"), "/")+1) & "?rt=GWAY"<br />
	Set objHTTPRequest = CreateObject("MSXML2.XMLHTTP")<br />
	objXMLDocument.load(Request)<br />
	objHTTPRequest.open "POST", dataCenter, False <br />
	objHTTPRequest.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"<br />
	objHTTPRequest.send objXMLDocument<br />
	ret = objHTTPRequest.responseText<br />
	Response.Write ret<br />
	Set objXMLDocument = Nothing<br />
	Set objHTTPRequest = Nothing<br />
%>	



Everything working fine for some time (likely1 hour or 55 minutes ) (it is varying for each server) After that , My Script engine is throwing a Error like

“ Failed to Create Object CreateObject("MSXML2.DOMDocument") “ Cry | :((

After restarting my webserice, ii working fine and come to same status as mention above
While running webservice , every execution of ASP , handles are increase gradually


I have question on this issue

1. Whether it is VBScript Engine Issue Sleepy | :zzz:
2. Whether it is MSXML2.DOMDocument Issue Sleepy | :zzz:




Thanks in advance
g.p.swamy
QuestionMutex Pin
ashokvishnu6-Dec-06 22:58
ashokvishnu6-Dec-06 22:58 
AnswerRe: Mutex Pin
«_Superman_»6-Dec-06 23:03
professional«_Superman_»6-Dec-06 23:03 
AnswerRe: Mutex Pin
Michael Dunn6-Dec-06 23:10
sitebuilderMichael Dunn6-Dec-06 23:10 
Questioncin causes infinite loop in my program Pin
Spherelin6-Dec-06 22:30
Spherelin6-Dec-06 22:30 
AnswerRe: cin causes infinite loop in my program Pin
«_Superman_»6-Dec-06 22:46
professional«_Superman_»6-Dec-06 22:46 
AnswerRe: cin causes infinite loop in my program Pin
prasad_som6-Dec-06 23:04
prasad_som6-Dec-06 23:04 
AnswerRe: cin causes infinite loop in my program Pin
bosfan7-Dec-06 2:32
bosfan7-Dec-06 2:32 
AnswerRe: cin causes infinite loop in my program Pin
David Crow7-Dec-06 5:56
David Crow7-Dec-06 5:56 
AnswerRe: cin causes infinite loop in my program Pin
MyFathersSon8-Dec-06 5:39
MyFathersSon8-Dec-06 5:39 
Questionis there a rotate filter Pin
selectgood6-Dec-06 21:32
selectgood6-Dec-06 21:32 
AnswerRe: is there a rotate filter Pin
Mark Salsbery7-Dec-06 6:17
Mark Salsbery7-Dec-06 6:17 
QuestionAdd and access "resource" file in Visual C++ 2005 Express Edition Pin
DesmoPower6-Dec-06 21:05
DesmoPower6-Dec-06 21:05 
AnswerRe: Add and access "resource" file in Visual C++ 2005 Express Edition Pin
«_Superman_»6-Dec-06 22:35
professional«_Superman_»6-Dec-06 22:35 
GeneralRe: Add and access "resource" file in Visual C++ 2005 Express Edition Pin
DesmoPower7-Dec-06 19:49
DesmoPower7-Dec-06 19:49 
QuestionGetCurrentDirectory doesn't work on WinME? Pin
LiYS6-Dec-06 20:07
LiYS6-Dec-06 20:07 
AnswerRe: GetCurrentDirectory doesn't work on WinME? Pin
Rajesh R Subramanian6-Dec-06 20:26
professionalRajesh R Subramanian6-Dec-06 20:26 
GeneralRe: GetCurrentDirectory doesn't work on WinME? [modified] Pin
LiYS6-Dec-06 20:36
LiYS6-Dec-06 20:36 

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.