Click here to Skip to main content
15,887,998 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to use GetBitmapBits( ) correctly Pin
Anthony Appleyard24-Dec-07 20:21
Anthony Appleyard24-Dec-07 20:21 
GeneralDLL_THREAD_ATTACH and The Tls Api,s Pin
ForNow24-Dec-07 16:03
ForNow24-Dec-07 16:03 
GeneralRe: DLL_THREAD_ATTACH and The Tls Api,s Pin
peterchen24-Dec-07 20:52
peterchen24-Dec-07 20:52 
GeneralRe: DLL_THREAD_ATTACH and The Tls Api,s Pin
ForNow24-Dec-07 21:48
ForNow24-Dec-07 21:48 
GeneralRe: DLL_THREAD_ATTACH and The Tls Api,s Pin
peterchen25-Dec-07 5:29
peterchen25-Dec-07 5:29 
GeneralRe: DLL_THREAD_ATTACH and The Tls Api,s Pin
ForNow25-Dec-07 7:00
ForNow25-Dec-07 7:00 
GeneralWhich .DLL's may be needed by a program compiled by Visual C++ 2008 (free download version)? [modified] Pin
Anthony Appleyard24-Dec-07 10:53
Anthony Appleyard24-Dec-07 10:53 
GeneralRe: Which .DLL's may be needed by a program compiled by Visual C++ 2008 (free download version)? Pin
Bram van Kampen24-Dec-07 13:11
Bram van Kampen24-Dec-07 13:11 
Anthony Appleyard wrote:
I could presumably run the compiled program on another computer to see which DLL's the program needs; but buying a second


Yeah Probably $ 75.00. You're looking for a Low Spec Machine in order to encounter those problems, so buy a cheap one. If it's too slow to be usefull, does not realy matter. All you want to know is, Does it work at all, and are all required System/MFC DLL's present!

I am familiar with the problem, and have always taken the following approach:-

- My code does not depend on bespoke applications (e.g MS Word etc) to work.

- I work on the lowest level platform that my app is supposed to be supported by. For instance, a current app I am developing is supposed to run on anything from Windows 98 upwards. As a consequence I develop it on a Win98 O/S. Upward compatibility is generally never a problem. i.e. what I write will run under Windows XP

- Where extensions are needed, e.g. In my Current case Named Pipes (Not supported under Win98) I first try to find out from Microsoft what redistributables are available to implement a feature. At least that gives me a List to keep note of, and you know what to include in your package.
On most occasions however, this line runs into the sand. In that case I write my own extension DLL which I own the copyright to, and can freely distribute. This extension DLL is carefully designed to provide the same functionality as the API I want to emulate.

Taking this approach, I found that code generally works without fretting about which System DLL's to distribute with it.

I feel that this problem most often occurs where a developer develops code on a top of the range machine, and sells to customers whith machines not quite so good.

Motto: Make sure you develop on the lowest spec machine that you expect to be supported, and you discover the problems at development stage rather than at the customer support stage. And, believe me, most DLL Distribution questions and problems will either not occur at all, or, if they do you will face them piecemeal during development.

Hope this is helpful

Bram van Kampen

GeneralRe: Which .DLL's may be needed by a program compiled by Visual C++ 2008 (free download version)? Pin
Mark Salsbery24-Dec-07 14:58
Mark Salsbery24-Dec-07 14:58 
GeneralRe: Which .DLL's may be needed by a program compiled by Visual C++ 2008 (free download version)? Pin
Anthony Appleyard24-Dec-07 20:13
Anthony Appleyard24-Dec-07 20:13 
QuestionHow to get DNS addresses from a local pc. Pin
daavena24-Dec-07 3:13
daavena24-Dec-07 3:13 
GeneralDXF solution Pin
Becker24-Dec-07 2:44
Becker24-Dec-07 2:44 
QuestionDWG viewer using VC++ Pin
jakuar24-Dec-07 2:34
sussjakuar24-Dec-07 2:34 
GeneralRe: DWG viewer using VC++ Pin
Joan M29-Dec-07 11:02
professionalJoan M29-Dec-07 11:02 
QuestionCreating views in Top Level MDI Pin
snir_ya24-Dec-07 0:59
snir_ya24-Dec-07 0:59 
QuestionRe: Creating views in Top Level MDI Pin
Nishad S24-Dec-07 2:22
Nishad S24-Dec-07 2:22 
QuestionRe: Creating views in Top Level MDI Pin
snir_ya24-Dec-07 3:10
snir_ya24-Dec-07 3:10 
GeneralRe: Creating views in Top Level MDI Pin
Nishad S24-Dec-07 3:16
Nishad S24-Dec-07 3:16 
GeneralRe: Creating views in Top Level MDI Pin
snir_ya24-Dec-07 5:05
snir_ya24-Dec-07 5:05 
GeneralMy new problem is to copy directory Pin
rajneshmalik23-Dec-07 23:23
rajneshmalik23-Dec-07 23:23 
GeneralRe: My new problem is to copy directory Pin
Nishad S23-Dec-07 23:59
Nishad S23-Dec-07 23:59 
GeneralRe: My new problem is to copy directory Pin
rajneshmalik25-Dec-07 19:42
rajneshmalik25-Dec-07 19:42 
GeneralRe: My new problem is to copy directory Pin
Nishad S25-Dec-07 19:56
Nishad S25-Dec-07 19:56 
GeneralwxWidgets not playing nicely with MFC Pin
Shaheed Legion23-Dec-07 22:06
Shaheed Legion23-Dec-07 22:06 
GeneralRe: wxWidgets not playing nicely with MFC Pin
Shaheed Legion27-Dec-07 1:16
Shaheed Legion27-Dec-07 1:16 

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.