Click here to Skip to main content
15,898,222 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralWrappers for Win32 classes Pin
AshishM6-Mar-05 23:42
AshishM6-Mar-05 23:42 
GeneralRe: Wrappers for Win32 classes Pin
Christian Graus8-Mar-05 14:46
protectorChristian Graus8-Mar-05 14:46 
GeneralCLR interpretation (type conversion between managed c++ and c#) Pin
sympthom 96-Mar-05 4:02
sympthom 96-Mar-05 4:02 
GeneralRe: CLR interpretation (type conversion between managed c++ and c#) Pin
ursus zeta6-Mar-05 12:38
ursus zeta6-Mar-05 12:38 
GeneralRe: CLR interpretation (type conversion between managed c++ and c#) Pin
sympthom 96-Mar-05 20:27
sympthom 96-Mar-05 20:27 
GeneralRe: CLR interpretation (type conversion between managed c++ and c#) Pin
sympthom 96-Mar-05 20:41
sympthom 96-Mar-05 20:41 
GeneralRe: CLR interpretation (type conversion between managed c++ and c#) Pin
ursus zeta12-Mar-05 9:03
ursus zeta12-Mar-05 9:03 
GeneralPertaining to ReadDirectoryChangesW -windows file system function Pin
lms0073-Mar-05 18:35
lms0073-Mar-05 18:35 
EDIT: I have no idea which forum to post this in, I would put it in a MFC or windows programming forum, but none exists, nor does a standard C++ forum - very strange why you don’t have a c++ or general windows programming board. I see .NET, but this is not a .NET function, I also see VC++, but that’s a software application. I tried, so please don’t give me hell for posting here :P

I an error after calling this function "6" which implies an invalid handle. I call CreateFile prior to ReadDirectoryChangesW as instructed by the MSDN documentation to get the handle to a folder and it succeeds. The handle looks plenty valid, but when I pass it to ReadDirectoryChangesW things dont seem to work. My buffer does not get formatted. I'm not even sure what its supposed to look like, but it doest change, and my Bytes Returned DWORD is unchanged too. I have tried using the asynchronous and synchronous method with no luck.

Without posting code, is there anything obvious that I am missing? My buffer is just an array of char’s. I call createfile exactly how it is described in MSDN under the ReadDirectoryChangesW documentation.

Form what I understand, once my buffer is set up using ReadDirectoryChangesW, I can then type cast it as a FILE_NOTIFY_INFORMATION* and then pull the info out of that it using that struct. However, I’m not even getting that far. GetLastError returns a 6 after ReadDirectoryChangesW.

Please help, I have spent way too much time in the debugger a this stupid function call, it is driving me up the wall, and it should not be this difficult. grrr!
QuestionQuickest Way to Wrap Standard Win32 DLL? Pin
RichB3-Mar-05 5:25
RichB3-Mar-05 5:25 
AnswerWhy didn't Microsoft think of this? Pin
ursus zeta5-Mar-05 12:05
ursus zeta5-Mar-05 12:05 
GeneralUnzip the file in vb.net Pin
Thirumalaraj3-Mar-05 4:28
Thirumalaraj3-Mar-05 4:28 
GeneralRe: Unzip the file in vb.net Pin
Christian Graus6-Mar-05 13:00
protectorChristian Graus6-Mar-05 13:00 
Generaladd a button on Save As dialogue tool bar Pin
MihaiChioariu2-Mar-05 0:44
MihaiChioariu2-Mar-05 0:44 
GeneralRe: add a button on Save As dialogue tool bar Pin
Christian Graus2-Mar-05 11:10
protectorChristian Graus2-Mar-05 11:10 
Generallibc usage in managed code Pin
Eric Schaefer1-Mar-05 21:20
Eric Schaefer1-Mar-05 21:20 
Generalconfused Pin
ursus zeta5-Mar-05 12:28
ursus zeta5-Mar-05 12:28 
GeneralRe: confused Pin
Eric Schaefer6-Mar-05 18:50
Eric Schaefer6-Mar-05 18:50 
GeneralC# and Custom C++ interfaces Pin
vad_kr27-Feb-05 21:06
vad_kr27-Feb-05 21:06 
GeneralRe: C# and Custom C++ interfaces Pin
ursus zeta28-Feb-05 14:20
ursus zeta28-Feb-05 14:20 
GeneralSyntax for storing an adress to a function pointer from outside a class in GNU g++ Pin
Armini25-Feb-05 7:29
Armini25-Feb-05 7:29 
GeneralSimple 'DateTimePicker' Question Pin
lior654#hotmail.com24-Feb-05 21:07
lior654#hotmail.com24-Feb-05 21:07 
GeneralRe: Simple 'DateTimePicker' Question Pin
lms0073-Mar-05 22:02
lms0073-Mar-05 22:02 
GeneralC++ Functions Pin
opan24-Feb-05 19:49
opan24-Feb-05 19:49 
GeneralRe: C++ Functions Pin
Christian Graus28-Feb-05 10:04
protectorChristian Graus28-Feb-05 10:04 
GeneralFile I/O problem Pin
Anonymous22-Feb-05 13:27
Anonymous22-Feb-05 13:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.