Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ATL function reference problem

Status
Not open for further replies.

JasonDBurke

Programmer
Jun 20, 2001
54
US
Hello,
I've again run into problems with ATL..no surprise. I have a Dialog Box that is generated through the APP wizard. I can reference my ATL object and its functions through the methods in the dialog setting. However in my project i have some .cpp source files that also need to use the methods of the ATL object. The .cpp files have no relationship with the Dialog box or its rc file. I include the header in the .cpp files and instantiate an object of the class. Call some of the methods and everything builds and runs. The only problem is that the methods are being executed but the code within them is not. What do I need to do to exectute the ATL code in my .cpp files?
 
how about CoInitialize? John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top