Solved

Creating a directory using VC++

Posted on 2004-09-01
1
231 Views
Last Modified: 2013-11-25
Hi,
  I need to write a function that would create a directory at the specified location.
I'm making a component using ATL-COM. Does ATL have any classes for this purpose?

...Cosinex
0
Comment
Question by:manoj_johar
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 125 total points
Comment Utility
You don't really need an ATL class for that,

::CreateDirectory ( "c:\\somepath\\newdir", NULL);

will do...
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

772 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

10 Experts available now in Live!

Get 1:1 Help Now