Solved

COleDateTime

Posted on 1997-12-08
1
384 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
Comment Utility
Did you include afxole.h file in your stdafx.h. You must also call AfxOleInit in your application InitInstance function
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
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…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

12 Experts available now in Live!

Get 1:1 Help Now