Solved

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

Posted on 2002-06-22
3
970 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bobThere java chalenge 45 92
Doc'in system (example?) BA 7 112
ShiftLeft challenge 21 82
Remove Password Protection from pdf (with password) using an command line executable 5 52
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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