Solved

Creating a directory using VC++

Posted on 2004-09-01
1
234 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
ID: 11951971
You don't really need an ATL class for that,

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

will do...
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best way to accomplish this task? 3 88
Is IHttpActionResult a promise pattern? 2 68
Beginner to Unreal Engine 4 5 94
Licensing Sharepoint 2016 for developers 11 60
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

829 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