Click here to Skip to main content
15,914,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Application Crash [modified] Pin
Stephen Hewitt22-May-06 13:58
Stephen Hewitt22-May-06 13:58 
AnswerRe: Application Crash Pin
Stephen Hewitt24-May-06 21:28
Stephen Hewitt24-May-06 21:28 
QuestionDll load problem Pin
swatgodjr22-May-06 11:25
swatgodjr22-May-06 11:25 
AnswerRe: Dll load problem Pin
Laxman Auti22-May-06 18:56
Laxman Auti22-May-06 18:56 
GeneralRe: Dll load problem Pin
swatgodjr22-May-06 19:09
swatgodjr22-May-06 19:09 
GeneralRe: Dll load problem Pin
Laxman Auti22-May-06 19:19
Laxman Auti22-May-06 19:19 
GeneralRe: Dll load problem Pin
swatgodjr22-May-06 20:06
swatgodjr22-May-06 20:06 
GeneralRe: Dll load problem [modified] Pin
bob1697223-May-06 5:22
bob1697223-May-06 5:22 
Pay special attention to the search order in the LoadLibrary documentation. Where your dll is in relation to the "Paths" searched is important. A_Laxman mentioned the COM based way of how the dll path is "registered" in the registry so an app can search the ProgId or CLSID of the component to obtain the info such as what it's path is. You are basically trying to achieve the same end via whatever means you have at your disposal.

If you don't ensure your dll is located in one of the paths mentioned in the LoadLibrary documentation (Try not to rely on the PATH environment variable as this is a user configurable item and subject to change when users jack around with their settings), you might want to have your app installation msi place the path in your registry space for your installation. I do this and then retrieve the settings (including the path to the apps "bin" directory which is where I place my dll's).

If your using VC++ 6.0, you will probably need the Visual Studio Enterprise Installer 1.1 to quickly build your MSI's. You really shouldn't be deploying apps that have dll's and other components without an MSI (at least in native C++ deployment)

here's the link..
Visual Studio Installer[^]

This also make COM component registration/unregistration an automated process and simplifies things since it puts your app in the add/remove programs applet window.




-- modified at 11:23 Tuesday 23rd May, 2006
GeneralRe: Dll load problem [modified] Pin
swatgodjr23-May-06 10:37
swatgodjr23-May-06 10:37 
GeneralRe: Dll load problem Pin
bob1697222-May-06 19:19
bob1697222-May-06 19:19 
Questionif failures Pin
Shane Ragone22-May-06 10:31
Shane Ragone22-May-06 10:31 
AnswerRe: if failures Pin
Chris Losinger22-May-06 10:40
professionalChris Losinger22-May-06 10:40 
AnswerRe: if failures Pin
Ryan Binns22-May-06 18:35
Ryan Binns22-May-06 18:35 
Questionisinf function Pin
jayashri200622-May-06 10:08
jayashri200622-May-06 10:08 
AnswerRe: isinf function Pin
peterchen22-May-06 10:17
peterchen22-May-06 10:17 
GeneralRe: isinf function Pin
jayashri200622-May-06 11:01
jayashri200622-May-06 11:01 
GeneralRe: isinf function Pin
David Crow22-May-06 11:06
David Crow22-May-06 11:06 
GeneralRe: isinf function Pin
jayashri200623-May-06 4:20
jayashri200623-May-06 4:20 
GeneralRe: isinf function Pin
David Crow24-May-06 2:36
David Crow24-May-06 2:36 
GeneralRe: isinf function Pin
jayashri200624-May-06 11:56
jayashri200624-May-06 11:56 
GeneralRe: isinf function Pin
David Crow25-May-06 2:40
David Crow25-May-06 2:40 
GeneralRe: isinf function Pin
jayashri200626-May-06 9:06
jayashri200626-May-06 9:06 
QuestionPasting into a CEdit Control on a Dialog Pin
Doug Knudson22-May-06 9:55
Doug Knudson22-May-06 9:55 
AnswerRe: Pasting into a CEdit Control on a Dialog Pin
zt978822-May-06 17:58
zt978822-May-06 17:58 
GeneralRe: Pasting into a CEdit Control on a Dialog Pin
Doug Knudson23-May-06 2:20
Doug Knudson23-May-06 2:20 

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.