Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProviding an implementation of virtual void CMyFormView::PreTranslateMessage(MSG* pMsg) in order to know when the user presses return, focus, CListCtrl Pin
Sternocera30-Jul-08 1:24
Sternocera30-Jul-08 1:24 
QuestionC++ MySQL without libmysql Pin
aceralex30-Jul-08 0:35
aceralex30-Jul-08 0:35 
AnswerRe: C++ MySQL without libmysql Pin
Sternocera30-Jul-08 1:26
Sternocera30-Jul-08 1:26 
GeneralRe: C++ MySQL without libmysql Pin
aceralex30-Jul-08 1:39
aceralex30-Jul-08 1:39 
GeneralRe: C++ MySQL without libmysql Pin
Mark Salsbery30-Jul-08 6:56
Mark Salsbery30-Jul-08 6:56 
GeneralRe: C++ MySQL without libmysql Pin
enhzflep30-Jul-08 16:28
enhzflep30-Jul-08 16:28 
GeneralRe: C++ MySQL without libmysql Pin
Mark Salsbery31-Jul-08 7:37
Mark Salsbery31-Jul-08 7:37 
GeneralRe: C++ MySQL without libmysql Pin
enhzflep31-Jul-08 14:39
enhzflep31-Jul-08 14:39 
Mark Salsbery wrote:
Linking to a library and packaging files into single executables
are two different things.


Yup, sure are. If you link to a static lib, then a flaw is discovered you're in the unenviable position of having to roll-out a replacement exe file. It also means that your app may consist of many files.

If on the other hand, you package the DLL-using app with Thinstall for example, if a flaw is discovered in the bundled DLL file, you can just drop the updated DLL file into the application's sandbox folder and the app will use the new DLL rather than the packaged one. So, you still get the best of both worlds with Thinstall. You also get the advantage of a single compressed file, which alone is a good enough reason to package something if it will be used on a usb drive or via a network.


Mark Salsbery wrote:
Can you build a static library from the libmysql sources?

Yeah, course you can build either a static or a dynamic version of a mySQL app. You've just gotta link with mysqlclient.lib rather than libmysql.lib, which simply loads libmysql.dll on demand.
GeneralRe: C++ MySQL without libmysql Pin
Mark Salsbery31-Jul-08 15:34
Mark Salsbery31-Jul-08 15:34 
QuestionVK_BACK is not working when button is clicked [Solved] Pin
ShilpiP30-Jul-08 0:17
ShilpiP30-Jul-08 0:17 
GeneralRe: VK_BACK is not working when button is clicked Pin
Matthew Faithfull30-Jul-08 0:23
Matthew Faithfull30-Jul-08 0:23 
AnswerRe: VK_BACK is not working when button is clicked Pin
_AnsHUMAN_ 30-Jul-08 0:26
_AnsHUMAN_ 30-Jul-08 0:26 
GeneralRe: VK_BACK is not working when button is clicked Pin
ShilpiP30-Jul-08 1:22
ShilpiP30-Jul-08 1:22 
GeneralRe: VK_BACK is not working when button is clicked Pin
_AnsHUMAN_ 30-Jul-08 1:47
_AnsHUMAN_ 30-Jul-08 1:47 
GeneralRe: VK_BACK is not working when button is clicked Pin
ShilpiP30-Jul-08 2:00
ShilpiP30-Jul-08 2:00 
Questionusing iostream header Pin
Mushtaque Nizamani29-Jul-08 23:36
Mushtaque Nizamani29-Jul-08 23:36 
AnswerRe: using iostream header Pin
CPallini29-Jul-08 23:41
mveCPallini29-Jul-08 23:41 
QuestionUnresolved external symbol question Pin
monsieur_jj29-Jul-08 23:12
monsieur_jj29-Jul-08 23:12 
AnswerRe: Unresolved external symbol question Pin
CPallini29-Jul-08 23:20
mveCPallini29-Jul-08 23:20 
AnswerRe: Unresolved external symbol question Pin
Rajesh R Subramanian29-Jul-08 23:22
professionalRajesh R Subramanian29-Jul-08 23:22 
QuestionNext question about CPropertySheet! :( Pin
bosfan29-Jul-08 23:10
bosfan29-Jul-08 23:10 
AnswerRe: Next question about CPropertySheet! :( Pin
sashoalm29-Jul-08 23:25
sashoalm29-Jul-08 23:25 
GeneralRe: Next question about CPropertySheet! :( Pin
bosfan30-Jul-08 1:42
bosfan30-Jul-08 1:42 
Questionhow to handel user defined MESSAGES QUE in VC++ MFC Pin
pallaka29-Jul-08 22:44
pallaka29-Jul-08 22:44 
AnswerRe: how to handel user defined MESSAGES QUE in VC++ MFC Pin
Iain Clarke, Warrior Programmer29-Jul-08 22:53
Iain Clarke, Warrior Programmer29-Jul-08 22:53 

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.