*** DLL, is this POSSIBLE???****************
-
Hi everyone, I have this question regarding DLL. I'm currently working on a project that contains an application( A FRAME ) that is using DLL functions. I have A MENU on the frame and in the menu, I have functions that uses DLL. Let say for example, in the MENU, I would have an option named CACULATIONS, and under CALCULATIONS, I would have a ADDITION option. So when I click on the ADDITION, a dialog box would pop up and allow me to use the addition function created by a ADDITION DLL. What I would like to know is the following, Is it possible for me to add new DLL's into the application without adding codes to the application itself (i.e without adding new codes to the frame)?? For example, let's say I have a new Calculation method called SUBTRACT and it's a separate DLL from the original adding dll. Then if I have a option in the MENU called ADD DLL, I would have a dialog box pop up in which allows me to add the new dll. The dialog box will contain edit boxes that asks the user to enter where the new DLL file is, and what the user would like to call the new DLL method that he's adding. So when the user enter the values and runs the program, a SUBTRACT option will now be listed under the CALCUATION MENU and the application will now be able to refer to the SUBTRACT DLL without adding new codes to the application itself. IS THIS POSSIBLE??? It's sort of like a plugin thing. IF ANYONE HAVE ANY IDEAS, PLEASE LET ME KNOW. THANK YOU VERY MUCH. Steve P.S: One more thing, is there a code that allows me to call up the OPEN AND SAVE dialog boxes. (i.e when you want to open an existing document in Words, a dialog pop up.) How do I write codes for those dialog boxes for OPEN, SAVE, AND SAVE AS??? PLMK. THANKS AGAIN!
-
Hi everyone, I have this question regarding DLL. I'm currently working on a project that contains an application( A FRAME ) that is using DLL functions. I have A MENU on the frame and in the menu, I have functions that uses DLL. Let say for example, in the MENU, I would have an option named CACULATIONS, and under CALCULATIONS, I would have a ADDITION option. So when I click on the ADDITION, a dialog box would pop up and allow me to use the addition function created by a ADDITION DLL. What I would like to know is the following, Is it possible for me to add new DLL's into the application without adding codes to the application itself (i.e without adding new codes to the frame)?? For example, let's say I have a new Calculation method called SUBTRACT and it's a separate DLL from the original adding dll. Then if I have a option in the MENU called ADD DLL, I would have a dialog box pop up in which allows me to add the new dll. The dialog box will contain edit boxes that asks the user to enter where the new DLL file is, and what the user would like to call the new DLL method that he's adding. So when the user enter the values and runs the program, a SUBTRACT option will now be listed under the CALCUATION MENU and the application will now be able to refer to the SUBTRACT DLL without adding new codes to the application itself. IS THIS POSSIBLE??? It's sort of like a plugin thing. IF ANYONE HAVE ANY IDEAS, PLEASE LET ME KNOW. THANK YOU VERY MUCH. Steve P.S: One more thing, is there a code that allows me to call up the OPEN AND SAVE dialog boxes. (i.e when you want to open an existing document in Words, a dialog pop up.) How do I write codes for those dialog boxes for OPEN, SAVE, AND SAVE AS??? PLMK. THANKS AGAIN!
Read the article: How to do run-time (or explicit) linking of C++ plug-in components and objects By Gert Boddaert here at Codeproject. http://www.codeproject.com/dll/plug-in.asp I hope this helps Best regards