Click here to Skip to main content
15,889,216 members

Platforms, Frameworks & Libraries

Videos on Platforms, Frameworks & Libraries

Discussions

by on Article "WPF : A Simple Color Picker With Preview"
by on Article "WPF : A Simple Color Picker With Preview"
by on A .NET assembly viewer
by on article "Learn WPF MVVM step by step (Basics...
by on tip/trick "WPF Drag&Drop Auto-scroll"
Please Sign up or sign in to vote.
25 Nov 2009scode 2 2 alternatives  
In order to list the filenames from folder:FileName(BSTR path,BSTR* Retname, LONG* counter){ WIN32_FIND_DATA FindData; HANDLE FindHandle = FindFirstFile(path, &FindData); BSTR Filelist[1000]; int i=0; if (FindHandle != INVALID_HANDLE_VALUE) {
Please Sign up or sign in to vote.
25 Nov 2009tolw
First of all: format your question! No one will bother to read the question if you just post it as a random mix of text and code. Secondly in a COM/ATL question it might be a good idea to also post your *.idl file contents.And finally looking at your code one thing pops to mind: BSTR should be alloc
Please Sign up or sign in to vote.
25 Nov 2009PJ Arends
The ostream
Please Sign up or sign in to vote.
27 Nov 2009Richard MacCutchan
Please read the posting guidelines and reformat your question so it is readable.