Click here to Skip to main content
16,005,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: pausing a for loop Pin
Cedric Moonen7-Jun-05 4:49
Cedric Moonen7-Jun-05 4:49 
GeneralRe: pausing a for loop Pin
Rick York10-Jun-05 8:18
mveRick York10-Jun-05 8:18 
Generalerror C2146 in the IADs.h Pin
cpapen7-Jun-05 3:54
cpapen7-Jun-05 3:54 
GeneralRe: error C2146 in the IADs.h Pin
Blake Miller7-Jun-05 4:43
Blake Miller7-Jun-05 4:43 
GeneralRe: error C2146 in the IADs.h Pin
cpapen7-Jun-05 4:57
cpapen7-Jun-05 4:57 
GeneralRe: error C2146 in the IADs.h Pin
Blake Miller7-Jun-05 5:20
Blake Miller7-Jun-05 5:20 
GeneralRe: error C2146 in the IADs.h Pin
cpapen8-Jun-05 3:01
cpapen8-Jun-05 3:01 
GeneralRe: error C2146 in the IADs.h Pin
Blake Miller8-Jun-05 5:10
Blake Miller8-Jun-05 5:10 
I am really out of ideas, so anything at this point is going to be trial and error Unsure | :~

MS says the 'interface library' is embedded within the DLL. Normally you would use the #import directive to get at that, and it does not currently work ... WTF | :WTF:

Perhaps, try running RegServer on the Dll and see if it will show up as an ActiveX or else at least allow you to #import after doing that. Maybe it is not 'registered' yet?

Maybe there needs to be a TLB generation run against the DLL so you can include the type library in your project instead of importing the DLL directly.

Another thing I found on MDSN was this - (assume it is an ActiveX control for a moment..)

The following procedure adds dispatch class and header files for an ActiveX control to a Visual C++ project.

To add an ActiveX control to a Visual C++ Project:
On the Project menu, click Add to Project. A shortcut menu appears.
Click Components and Controls. The Components and Controls Gallery dialog box appears.
Click the component to add to your project. Visual C++ displays a dialog box from which you can select a subset of the component's classes to add to your project.
Click to select the check boxes of the classes you want to add, and click OK.
Visual C++ generates dispatch class and header files for the component and adds them to your project.

GeneralRe: error C2146 in the IADs.h Pin
Blake Miller8-Jun-05 6:02
Blake Miller8-Jun-05 6:02 
GeneralRe: error C2146 in the IADs.h Pin
cpapen9-Jun-05 3:45
cpapen9-Jun-05 3:45 
GeneralRe: error C2146 in the IADs.h Pin
cpapen10-Jun-05 1:31
cpapen10-Jun-05 1:31 
QuestionHow to change default icons in MDI application. Pin
Member 34198917-Jun-05 3:20
Member 34198917-Jun-05 3:20 
AnswerRe: How to change default icons in MDI application. Pin
David Crow7-Jun-05 3:36
David Crow7-Jun-05 3:36 
GeneralRe: How to change default icons in MDI application. Pin
Member 34198917-Jun-05 19:42
Member 34198917-Jun-05 19:42 
QuestionHow to migrate ATL Automation from VS 7.0 to 7.1 Pin
volodimir7-Jun-05 1:38
volodimir7-Jun-05 1:38 
GeneralGetting the DPI value in C++ code Pin
chethu6657-Jun-05 1:35
chethu6657-Jun-05 1:35 
GeneralRe: Getting the DPI value in C++ code Pin
David Crow7-Jun-05 2:32
David Crow7-Jun-05 2:32 
GeneralRe: Getting the DPI value in C++ code Pin
chethu6657-Jun-05 2:46
chethu6657-Jun-05 2:46 
GeneralRe: Getting the DPI value in C++ code Pin
David Crow7-Jun-05 3:11
David Crow7-Jun-05 3:11 
GeneralRe: Getting the DPI value in C++ code Pin
chethu6657-Jun-05 3:31
chethu6657-Jun-05 3:31 
GeneralRe: Getting the DPI value in C++ code Pin
David Crow7-Jun-05 3:34
David Crow7-Jun-05 3:34 
GeneralRe: Getting the DPI value in C++ code Pin
chethu6657-Jun-05 2:40
chethu6657-Jun-05 2:40 
GeneralRe: Getting the DPI value in C++ code Pin
Blake Miller7-Jun-05 4:44
Blake Miller7-Jun-05 4:44 
GeneralRe: Getting the DPI value in C++ code Pin
David Crow7-Jun-05 7:17
David Crow7-Jun-05 7:17 
QuestionHow to write source code documentation? Pin
loobian7-Jun-05 0:36
loobian7-Jun-05 0:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.