If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
I'm using VC6 and I get strange bug. When I compile my project it gives me "error executing cl.exe" and when I link it does "error executing bscmake.exe". Anyone know's what could cause that and how I could correct it?
well maybe I could rip some of the code, but it's many pages long.... I really don't understand what's going on with it since I used most of my function in an other app with no problems. The one real new thing is that I included a library of microsoft with some problems.... maybe it's that? I often get "unhandled execption in bscmake".
What it looks like to me, is that VC is giving you an error in the way your code is written, and without seeing the code it's rather hard to tell what it means. That isn't like any error I have seen, but sometimes I get errors when I have typos that show unhandled exception faults.
can't tell it's the first time I see that.... normally it compiles without errors/warning... I really force myself to write things correctly and I always use debug level 4 to verify my code.... but this is weird functions works in other app and this one reuse it without any modifications. One 1 of them is new. That function was cut and pasted from the msdn library so it's error free but required the library "mshtml.tbl" I don't even know what's that I just added it and it added me 4 warnings.
The biggest prob in this is that my passwords & usersnames are in that app.... plus my private website.
Spazm
[This message has been edited by spazm_1999 (edited 06 February 2001).]
Just thought about a thing I've noticed... that app used to compile in about 15-20 sec. When I added the function and the import setting it jumped to 3mins. Maybe this is normal I just don't know much about that import but it's just weird.
--------------
#import "C:\winnt\system32\mshtml.tlb" // location of mshtml.tlb
void CMyClass::ExecuteScriptFunction()
{
// m_WebBrowser is an instance of IWebBrowser2
MSHTML::IHTMLDocument2Ptr spDoc(m_WebBrowser.GetDocument());
if (spDoc)
{
IDispatchPtr spDisp(spDoc->GetScript());
if (spDisp)
{
// Evaluate is the name of the script function.
OLECHAR FAR* szMember = L"evaluate";
DISPID dispid;
Okay, I kind of understand what you are doing, you are using ActiveX to pull information from a website, no? What version of IE are you currently running?
I just removed the function I took from microsoft website and the import.... it resolved my problem... but I need that func. Damn seem that this file is really too big for the compiler or something like that.
ActiveX is supposed to be included in my app since I use IE5 function to display the web page. I use win98 so IE5 is installed by default... I didn't install any pacth didn't even check if there was some.
I readded the import only not the func it the problem came back.... so it's not the function that is defect it's some weird prob with the import..... I have 3-4 warning with it do you want 'em?
spazm
[This message has been edited by spazm_1999 (edited 06 February 2001).]
Comment