Solved

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

Posted on 2002-06-22
3
980 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

707 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