I’ve been toying with ActiveX components in Visual studio 2005. I start with creating a ATL project and then adding and ‘ATL Simple Object’ Class and then adding a method like Test(). Debugging this method is very easy if I have created the project as an exe.
I just create a simple web page with some vbScript in it that uses CreateObject(“foo.bar”) and that calls the method Test() on the object.
Press F5 in Visual Studio to start debugging and load the web page into IE. And any break points in Test() are hit.
However if I create the project as a dll, when I hit F5 to start debugging it asks me to choose a program that will call the component. I pick Internet Explorer and I get the following message:
Debugging information for ‘IEXPLORE.EXE’ cannot be found or does not match. No symbols loaded.
Can anyone tell me the best way of debugging this dll?
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ...
Some objects defined and used in this source include:
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.