Solved

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

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Need to retreive data from .TFS file exported by DVR 8 166
Folder Comparison 12 52
Hibernate methods 2 58
sum13 challenge 24 77
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now