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
Solved

COleDateTime

Posted on 1997-12-08
1
394 Views
Last Modified: 2013-11-20
MFCer,

I am new to C++ !!!!!!

I don't know why I can't use COleDateTime and get a error message {uses undefined class 'COleDateTime'} even I had include afxdisp.h ??????

Andrew
0
Comment
Question by:andrewyu
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 10 total points
ID: 1311853
Did you include afxole.h file in your stdafx.h. You must also call AfxOleInit in your application InitInstance function
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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 94
Whole sheet autoscrub still needed 19 51
Complete beginner needs help making a cron job 9 125
Is there a simple front-end menu system. 9 102
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

790 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