View Single Post
  #3 (permalink)  
Old 09-14-2007, 11:05 AM
ifitzgerald ifitzgerald is offline
Newbie
 
Join Date: Sep 2007
Posts: 3
Rep Power: 0
ifitzgerald is on a distinguished road
Default Solution

I found the solution to my problem:

Checking the "ActiveX Controls" support checkbox does a few things:
1) Adds #include <afxdisp.h> to StdAfx.h
2) Adds a call to AfxEnableControlContainer(); in the application's InitInstance function.

Once I added those two things to my larger, more complex application it ran fine.

Ian
Reply With Quote