Hello, Recently, we move from VisualStudio 2010 to 2013. I use Ultimate Toolbox that I have compiled it with Visual C++ 2013 in a lib. It compiles and links without problem. When I link this lib with my program, I get a link error: LNK2019 unresolved external symbol. With Visual C++ 2010, the link process was correct. The symbol is the MonitorFromRect Windows function in COXToolTipCtrl:: CalculateInfoBoxRect(). We runs on Windows 7 Professionnal 64 bits. We compile on 32 bits Visual C++. Is there a way to bypass this problem? Thanks for any help. Claude
Gagnon Claude
Posts
-
LNK2019 unresolved external symbol with Ultimate Toolbox COXTootlTipCtrl and ::MonitorFromRect -
Print a long CStringHi, I have a C++ program with MFC. I utilize the OnPrint() mechanism to print a Cstring line by line with pDC->TextOut(). That is working the first time I print. If I repeat the print job, the page is blank. I don't understand why. Here is a portion of OnPrint(): CString resToken; I print the Cstring one line at a time. pDC->(TextOut(pt.x, pt.y + j * m_nHautLigne, resToken); Does it have a better way to do the printing? Why the page is blank the second time? Do I have to reset something? Thanks,
-
Printing with a CStringHi, I print a CString with pDC->TextOut(). That is working. But if I print again, the sheet is blank. How to correct that? Do I have to utilize GetBuffer(), etc? Thanks, Claude
-
Menu change in IDE but not in running applicationHi, I have a MFC application. I work with Visual Studio 2010 and C++. I have changed the caption of a menu item in the IDE. When I run the application, the caption is not changed. Do I have to changed the menu in a particular file? Thanks, Claude
-
How to change the name of a tabbed paneHi, I have a project generated by Visual Studio 2010 with a tree view . They are two tabbed pane. I want to change the tabbed pane text and the title of the pane over. I have tried with IDS_CLASS_VIEW, but it changes only the tooltips over the tabbed pane. How can I change the tabbed pane and title text? Thanks, Claude
-
Memory required by a formHi, The fourth one.
-
Memory required by a formHi, Does it has a tool to know the memory occupied by a form in a VB application? Thanks, Claude
-
Runtime error debuggingHi, At my work, I have to test a Visual Basic application. I don't have the code source. Often I get runtime errors. When I get one, I try to understand what is the cause before I contact the developer. Often it is a runtime error. I want to know if a tool can give information about such errors without having access to the code source. Any suggestions? Thanks, Claude
-
Visual Studio 2010Hi, I often bring my program in development from home to office. Each time I have to adjust the directories in the property page of the program. Is it possible to know in wich file are stored these properties? Perhaps an application can permit to move code from home to office? Thanks, Claude
-
How to simulate shift-tab to go to previous control?Hi, How to go to the previous control when I press the up arrow key? Thanks, Claude
-
Print with a PDF printerHi, Is it possible to know that the choosen printer is a PDF printer? And this programmaticaly? Thanks, Claude
-
Render formula in a programNo, I don't mean draw graphic. I want to display math equation in my program the same way we can see with Math Editor in Word. Bye, Claude
-
Render formula in a programHi, I want to know what kind of tool I need to render a formula in my program. I utilize Visual C++. Thanks, Claude
-
Copy protection softwareHi, Can someone suggest a copy protection software ? Now, I evaluate Crypkey Instant and Exe Shield. Thanks, Claude
-
Responds to a menu differently from the toolbar button associatedHi, I utilize Visual C++ 2003 and MFC with document/view architecture.. I want to respond differently when I choose Print from the menu and the Print button from the toolbar. The reason is that I want to select the file to print when I choose from the menu, and I want to print directly the open file when I choose from the Print toolbar button. How can I do that ? Thanks, Claude
-
Greek letter in a dialogHi, With Visual Studio C++ 2008, how can I put a greek letter in a static control ? Thanks, Claude
-
Quitting an applicationHi, I want to know, in a Doc/View MFC application, where is the place to map a message to quitting an application by the File menu and by the X button at the top right of a window ? Thanks. Claude
-
Taget operating systemHi, With Visual Studio 2008, how can I specify the operating system for who I will compile my application? I develop under Vista but I want to utilize on XP. Thanks, Claude
-
Access to a view from a CTreeCtrlHi, I am working in an application with docking window like Visual Studio 2005 interface. I do it with Visual Studio 2008 and MFC. The left pane is a CTreeCtrl. I put items in it. When I click on an item, I want to display a form in the view portion of the application. To do that, I have a member function called void CViewTree::OnTvnSelchanged(NMHDR *pNMHDR, LRESULT *pResult) to catch the event. To display the form associated with the item clicked, I have to access the view class and after that the document class. I access the view like that from the CViewTree::OnTvnSelchanged function: CFrameWnd *pFrameWnd = (CFrameWnd*)AfxGetApp()->m_pMainWnd; CCDSView* pView; pView = (CCDSView*)pFrameWnd->GetActiveView(); I get memory leaks, but the program run anyway. What I can't understand is that the program run under Vista 64 Home premium at home, but not run on an XP computer at office. I compile it with Net Framework 2.0. Does it has another way to access the view or document that does not crash my application ? Thanks, Claude
-
Visual Studio 2005 like interfaceHi, I am working in an application with docking window like Visual Studio 2005 interface. I do it with Visual Studio 2008 and MFC. The left pane is a CTreeCtrl. I put items in it. When I click on an item, I want to display a form in the view portion of the application. To do that, I have a member function called void CViewTree::OnTvnSelchanged(NMHDR *pNMHDR, LRESULT *pResult) to catch the event. To display the form associated with the item clicked, I have to access the view class and after that the document class. I access the view like that from the CViewTree::OnTvnSelchanged function: CFrameWnd *pFrameWnd = (CFrameWnd*)AfxGetApp()->m_pMainWnd; CCDSView* pView; pView = (CCDSView*)pFrameWnd->GetActiveView(); I get memory leaks, but the program run anyway. What I can't understand is that the program run under Vista 64 Home premium at home, but not run on an XP computer at office. I compile it with Net Framework 2.0. Does it has another way to access the view or document that does not crash my application ? Thanks, Claude