|
Prasad,
After adding new dll's , i could open the application but a popup window is comming say that this application will be closed sent to Microsoft, if we debug the error then it gives like
Unhandled exception at 0x781442d0 (msvcr80.dll) in LabChipHTSMain.exe: 0xC0000005: Access violation reading location 0x00000000.
PLease help
|
|
|
|
|
Jeeva Mary Varghese wrote: i could open the application but a popup window is comming say that this application will be closed sent to Microsoft,
This means that, you aplication is crashing.
Its necessarily because of reasons I mentioned earlier.
Try to create log, and see where its crashing.
And what about question I asked earlier.
Have you searched registry if ID mentioned ?
|
|
|
|
|
I have an object IWebBrowser2. I would like to receive notifications from the object into interface IHttpNegotiate (implemented in my code) – to have information about all HTTP requests that the IWebBrowser2 receives. Is this possible?
|
|
|
|
|
Hi to all.I'm new to XML.Can any one help me ,how to use MSXML in sending and retrieving bulk amounts of data in COM/DCOM.Please also mention some websites for MSXML to learn as a beginner.
Thans in advance.
|
|
|
|
|
Here is where you can find some XML info.[^]
Except that it is a COM component, MSXML has little to do with COM/DCOM, and nothing to do with the mechanics of sending/retrieving data, since XML is only a format, and MSXML is the MS implementation of various bits (DOM, SAX, et al) that deal with XML.
Steve S
Developer for hire
|
|
|
|
|
You can send data via XMLHTTP which is a part of MSXML3 and MSXML4. Web Services send data serialized into a special XML document (SOAP, WSE).
|
|
|
|
|
Hi, I have a problem with a win 2003 server Standard edition.
Sometimes when I'm working in my web application the session hangs
(but not the ASP-application). In the application log I find the
following error:
Event Type: Error
Event Source: COM+
Event Category: Unknown
Event ID: 4689
User: N/A
The run-time environment has detected an inconsistency in its internal
state. This indicates a potential instability in the process that
could be caused by the custom components running in the COM+
application, the components they make use of, or other factors. Error
in d:\nt\com\complus\src\comsvcs\threads\st
awork.cpp(156), hr =
80010108:
Callback failure handled by IAsyncErrorNotify
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
The ASP-application is built in VB and uses four different dll-files
for things like uploading files etc.
When I run the application on a win 2000 server everything worked out
perfect.
Anybody who has a clue, thanks in advance!
Best regards
Manuel
|
|
|
|
|
The function CoGetClassObjectFromURL, which is used to download the object from the web server.
In IE6, IE7 Beta 2 this works.
In IE7 RC1 it returns a status of E_NOTIMPL!!!!
Is there a work around for this in IE7-land?
|
|
|
|
|
|
When I call SetName on my activeX control with some danish character (æøå) as parameter I get some wired text in my Edit control. How can I solved this problem?. Thx in advance.
test.h
afx_msg void SetName(LPCTSTR name);<br />
DECLARE_DISPATCH_MAP()<br />
test.cpp
<br />
BEGIN_DISPATCH_MAP(CMyMFCCtrl, COleControl)<br />
DISP_FUNCTION(CSignScanMFCCtrl, "SetName", SetName, VT_EMPTY, VTS_BSTR) <br />
END_DISPATCH_MAP()<br />
<br />
<br />
void MyCtrl::SetName(LPCTSTR name) <br />
{<br />
std::string myname = name;<br />
}
CMyDialog dlg = new CMyDialog();<br />
dlg.m_name = myname.c_str();
void CMyDialog::OnInitDialog() <br />
{<br />
CString defaultText = m_name;<br />
SYSTEMTIME systemTime;<br />
GetLocalTime(&systemTime);<br />
<br />
char formatDate[20];<br />
memset(formatDate, (char)NULL, sizeof(formatDate));<br />
<br />
sprintf(formatDate," %4.4d%2.2d%2.2d %2.2d%2.2d", <br />
systemTime.wYear, <br />
systemTime.wMonth,<br />
systemTime.wDay,<br />
systemTime.wHour,<br />
systemTime.wMinute);<br />
<br />
defaultText += formatDate;<br />
SetDlgItemText(IDC_DESCRIPTON_EDIT, defaultText);<br />
}
|
|
|
|
|
Wild guess. Are you building an MBCS version, or a UNICODE version?
If the former, there may be an implied WideCharToMultiByte() happening somewhere which is unable to convert the Danish characters to MBCS encoding, and they are showing up as boxes or similar.
Steve S
Developer for hire
|
|
|
|
|
hello!
i need an articles to know com object? where i start ?
please help me.
Zo.Naderi-Iran
|
|
|
|
|
Have you tried this[^] as a starting point?
Steve S
Developer for hire
|
|
|
|
|
Thank you
Zo.Naderi-Iran
|
|
|
|
|
hello!
how to replace an ActiveX with our created ActiveX?
do it possible?
Zo.Naderi-Iran
|
|
|
|
|
In theory, yes. You have to know which class objects (in the COM sense) and interfaces the ActiveX supports, and then you could update the information in the registry to load your component instead. Having read your next question, that might take some time...
Steve S
Developer for hire
|
|
|
|
|
Using the MessageClass property on a MailItem object, I can check if it is an Out of Office reply by comparing it to "IPM.Note.Rules.OofTemplate.Microsoft".
Does anybody here know, if this is a feature that is supported by Lotus Notes, and if so, what would the string be for an Out of Office reply?
"God doesn't play dice" - Albert Einstein
"God not only plays dice, He sometimes throws the dices where they cannot be seen" - Niels Bohr
|
|
|
|
|
Hi,
I am having a issue in creating a substorage with more that 32 characters as it name(Substorage name). I came to know that the limitation of IStorage->CreateStorageEx is this issue. But is there any other way so that i can break this barrier. I think microsoft is doing this(Breaking the barrier). Can anyone help me in this. Thank you,
Manu
Manu
|
|
|
|
|
I have composed and built a Service DCOM using ATL(vC6.0), also a ClientApp.
They can work well when they run at the same computer. Problems start to arise, when i install the Server to another computer.
the interface i design is custom, but i've alreay install the _ps.dll both in
Server and Client computer.
who can help me on how to install DCOM.
|
|
|
|
|
Yaki_15 wrote: Problems start to arise,
What problems, exactly?
0. Have you enabled DCOM on both machines?
1. Have you registered your DCOM service on the remote machine?
2. Have you checked that the access/launch permissions are correct on both machines?
3. Have you checked that the client is configured to talk to the server?
Supplementary questions;
What identity is your service launched as?
What identity is your client launched as?
Have you used explicit security (security blanket) or are you using DCOM registry settings?
Steve S
Developer for hire
|
|
|
|
|
Steve S wrote: 0. Have you enabled DCOM on both machines?
1. Have you registered your DCOM service on the remote machine?
2. Have you checked that the access/launch permissions are correct on both machines?
3. Have you checked that the client is configured to talk to the server?
Supplementary questions;
What identity is your service launched as?
What identity is your client launched as?
Have you used explicit security (security blanket) or are you using DCOM registry settings?
Firstof all, Thanks aton for your advising questions. Aatually I didn't kown
to install a DCOM shuould take so "many"(i use many 'cause each is to much for me to crack through) essentials into consideration. To tell your the true, i am a beginer with DCOM, I've just finished serval key and basic cousres on COM subject,such as COM Principle, IDL , Objcet Module... those courses discuss little on the issues you put forward. anyway, your reply does help alot to me, at least it let me know where i am on the way to succeed in DCOM. Maybe before i start to compose a Service, i need to load up
some knowledge about NT Security,right? I wander if you can advise me some helpful books or Website on this subject.
|
|
|
|
|
Steve S wrote: What identity is your service launched as?
What identity is your client launched as?
Have you used explicit security (security blanket) or are you using DCOM registry settings?
Steve S wrote: 0. Have you enabled DCOM on both machines?
i don't know how to enable DCOM.
Steve S wrote: 1. Have you registered your DCOM service on the remote machine?
i am sure i have done this step.
Steve S wrote: 2. Have you checked that the access/launch permissions are correct on both machines?
how to do this?
Steve S wrote: 3. Have you checked that the client is configured to talk to the server?
can i do this by using stucture COSERVERINFO AND COATHNINFO?
as to the Supplementary questions, i think i still need your help.
|
|
|
|
|
0. Enable DCOM
OS specific. For XP, you run dcomcnfg from the command line or the 'Run...' prompt. In the tree in the left pane, expand component services, then computers.
Right-click 'My Computer' in list (probably only entry) and select properties.
In 'Default properties' tick 'Enable Distributed COM on this computer'.
2. In DCOMCNFG, under 'My Computer' (see above), there's a 'DCOM Config' option.
This lists apps which are registered. (You need entries on the client for this too) and you can set permissions and locations.
Q: Are you using explicit location by specifying COSERVERINFO etc at launch time, or using DCOM 'default' settings (from the registry/DCOMCNFG)?
Q: If you're running XPSP2, is the firewall running?
With a f/w, you have to tell DCOM which ports to use, and punch the appropriate holes in the firewall.
Steve S
Developer for hire
|
|
|
|
|
Steve S wrote: Q: Are you using explicit location by specifying COSERVERINFO etc at launch time, or using DCOM 'default' settings (from the registry/DCOMCNFG)?
i am using explicit location by specifying COSERVERINFO etc at launch time,
i have already shut down firewall for both local and remote machine which are
both running xpsp2.
|
|
|
|
|
they can work now. thank you, Steve S
|
|
|
|