Click here to Skip to main content
15,902,635 members

Platforms, Frameworks & Libraries

Videos on Platforms, Frameworks & Libraries

Discussions

by on Article "WPF Runtime Localization"
by on Article "WPF Runtime Localization"
by on Remote Library
by on tip/trick "Adapting Event and Callback Based...
by on article "Using FluentMigrator with MSBuild"
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.