Type: Posts; User: Mike Pliam
Search took 0.08 seconds.
April 30th, 2013 11:26 AM
In my attempt to capture multiple files using CFileDialog I discovered that there is a limit on the number of characters in the file name buffer. See http://support.microsoft.com/kb/179372
April 24th, 2013 11:55 AM
While those references are generally informative, they don't really tell you how to get a folder address when you drag a folder onto a window. In fact, there so wordy and convoluted and lacking in...
April 24th, 2013 12:00 AM
I am certain that this is possible, but cannot figure out how to do it.
Any ideas greatly appreciated.
April 16th, 2013 07:38 PM
Stupid of me, of course!!
Thank you once again. This works:
size_t nchars = 0;
memset(wbuf, 0x00, 1024 * sizeof(wchar_t));
errno_t ent = mbstowcs_s(&nchars,...
April 16th, 2013 01:54 PM
Thanks. I'll try that. Please note that I edited my last post regarding Unicode just as you posted your last comment.
When I use devenv ueberkrypt.exe from the VS command prompt, a new VS 2010...
April 16th, 2013 01:05 PM
Thanks, Igor. Yours is a far more sophisticated approach than mine and seems to work quite nicely. I removed the single break point in your code, but it still hangs when I attempt to run in debug...
April 15th, 2013 06:28 PM
Thanks for that idea, Igor. It occurred to me also, but I was unable to get the text from memory -- the void * szTemp buffer made it quite difficult for me and my attempts to trace it returned...
April 15th, 2013 12:15 PM
Paul, I do try to use GetLastError whenever I encounter a runtime problem. But getting the error message out is never pleasant, a fact attested to by the many complaints voiced on the internet...
April 15th, 2013 12:07 PM
Do you ever get the feeling that you're wandering in circles?
Even though I finally got InternetOpen and InternetOpenUrl to work to download and read the update file from the website, it will not...
April 14th, 2013 01:17 AM
Thanks, Martin. The InternetOpenUrl error is:
Don't know how to properly initialize WinINetAPI.
Testing the target url file with a browser, it readily downloads the file, but that is not what...
April 13th, 2013 12:53 PM
In fact, there are reliable programs that place dlls, exe's and whathaveyou in the User directory, e.g., Juniper Networks/Setup Client. But that is not the issue here. I agree that it would be much...
April 11th, 2013 01:27 PM
Thanks alot Arjay,
This works after making some minor changes. It is somewhat confusing which panes belong to which CSplitterWnd because there is only 1 column with 2 rows and the upper right...
April 10th, 2013 11:00 AM
I have been working with a MDI 3-way child splitter that works pretty well - but I cannot figure out how to precisely control the split windows.
The basic idea is to split each child window as...
March 31st, 2013 12:49 AM
In order to compare the user's version with the latest and greatest version, the user would have to use his browser to go to the website to check a recent posting, a cumbersome task, or obtain 'the...
March 30th, 2013 01:00 PM
I misspoke about the dll. No dll is placed in the User directory. Sorry. But the *.exe is a simple Win32 CheckForUpdates.exe that the Main App runs via a ShellExecute to do what it's name...
March 30th, 2013 02:00 AM
I have dialog app that requires two external *.exe s to function properly. The most important of these is Init.exe which copies a couple of needed files from the main app root (installation)...
February 27th, 2013 06:48 PM
Through courtesy of:
A basic Windows service in C++ (CppWindowsService)
This code sample demonstrates creating a basic Windows Service application in VC++...
February 27th, 2013 12:41 PM
Igor, thankyou for your most valuable input. I have recalled all the problems I ran into in the past trying to install and run a shared program on a network. Many of the problems are similar. One...
February 26th, 2013 02:07 AM
sorry about the caps. i was in a hurry and once i started, was too lazy to rewrite.
That presents a bit of a problem using the windows installer setup program - I havn't figured out how to do...
February 25th, 2013 10:17 PM
THERE IS A PROBLEM WITH WINDOWS 7 ULTIMATE SECURITY WHEN YOUR PROGRAM IS DEPLOYED IN Program Files (x86):
- IT WILL NOT LET YOU DOWNLOAD A FILE
- IT WILL NOT LET YOU CREATE A NEW DIRECTORY IN THE...
February 18th, 2013 04:22 PM
I agree. But I came across a little app that does exactly that and it seems to work just fine and the System Menu of the dialog is very clean and customized without minimize and move, yet the app...
February 15th, 2013 09:44 AM
Nice. But I think my approach is more instructive for a student because it's so modular. Your methods, while more elegant, assume some prior knowledge of number theory beyond just knowing what a...
February 14th, 2013 09:03 PM
Take a look at the attached console program I wrote. Let me know if you have questions. I did this because it's an interesting problem.
February 14th, 2013 03:37 PM
One final question related to the System Menu of a Dialog app. Is it possible to remove the Move and Minimize items from the menu WITHOUT eliminating that functionality completely when user drags...
February 13th, 2013 03:42 PM
Igor, I don't see much difference between your OnMyHelp code and this one - which doesnt work (note that I cannot use '+' to concatenate strings in my code).
Click Here to Expand Forum to Full Width