![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
bool CDirectory(String^ path) { DirectoryInfo^ d = Directory::CreateDirectory(path); return (d->Exists(path)); } -- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/ . |
#4
| |||
| |||
|
|
_declspec (dllexport) bool _stdcall CDirectory(char path) |
|
2. What do ^ and * do? |
|
3. Do I need to #include ? for String^ path to compile? |
#5
| |||
| |||
|
|
I want to bury this in a C++ Win32 Project. My effort so far (that does not work and I do not understand the error messages) is: #using <mscorlib.dll using namespace System; using namespace System::IO; bool* _clrcall;bool CDirectory(String path) { DirectoryInfo d = Directory::CreateDirectory(path); return (d.Exists(path)); } |
#6
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |