Solved

How to use mshflxgd.ocx in VC++ project?

Posted on 2002-06-22
3
974 Views
Last Modified: 2013-11-20
HI,
     i am trying to use hierarchical flex grid control in my project. I had added the control to my VC project. I have the following statements in my stdafx.h
     // i found them by viewing mshflxgd.ocx through ole viewer
     #import <msdatsrc.tlb> named_guids
     #import <mshflxgd.ocx> named_guids
     
     But i am getting compilation errors in mshflxgd.tlh like "syntax error : missing ';' before identifier 'CellPicture'...."  
     
     How do i solve this???
     
     Thanks in advance
     Karthik
0
Comment
Question by:karthik1979
3 Comments
 
LVL 2

Accepted Solution

by:
tdubroff earned 50 total points
ID: 7101233
Forget using the #import statement.  Its a bit more intuitive to use Class Wizard, create a new class from the tlb or ocx.  The new class will be derived from COleDispatchDriver.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
method notes when mouse over in eclipse 5 87
fizzArray  challenge 1 96
Modbus - whats the maximum I can store in one register? 4 80
wordcount challenge 11 134
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question