jimfred


Member since 11/12/2008

Name: Jim Frederick

Location: Temecula, CA

6 snippets

2313 profile views

7 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

jimfred's Recent SnippetsTagged windows



« Prev 1 Next »
This approach allows an application to be embedded in a DLL. This is handy for diagnostic/maintenance utilities that are used with the DLL. Steps to create: * Create a MFC DLL project * Add a dialog * Add an entry point function such as void CA...
0 1143 posted 14 years ago by jimfred
I occasionally need a WinExec function the synchronously executes a command. cwdArg may be null. This example, upon error, pops-up a dialog and exits the app. This is useful for small installation utilities. non-dot.net, with or without MFC.
0 592 posted 14 years ago by jimfred
Determine directory where the .exe is running from. Usually it's CWD - but not always, such as MsiExec Custom Actions. Windows. non-dot.net, with or without MFC.
0 585 posted 14 years ago by jimfred
Simple non-dot.net function to determine if a file exists. Uses the WinBase API. Can be used with or without mfc. Windows, non-dot.net, with or without MFC.
0 799 posted 14 years ago by jimfred
Sometimes I want a complete path to a file in the current working directory to make error messages clearer. The URL has alternate approaches.
0 695 posted 15 years ago by jimfred
0 698 posted 15 years ago by jimfred
« Prev 1 Next »