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

C / C++ / MFC

 
AnswerRe: Double buffering Pin
Stefan_Lang15-May-14 22:21
Stefan_Lang15-May-14 22:21 
QuestionCan I properly derive from CMFCPropertyGridColorProperty ? Pin
Maximilien14-May-14 4:10
Maximilien14-May-14 4:10 
QuestionRe: Can I properly derive from CMFCPropertyGridColorProperty ? Pin
CPallini14-May-14 6:42
mveCPallini14-May-14 6:42 
AnswerRe: Can I properly derive from CMFCPropertyGridColorProperty ? Pin
Maximilien14-May-14 7:30
Maximilien14-May-14 7:30 
GeneralRe: Can I properly derive from CMFCPropertyGridColorProperty ? Pin
CPallini14-May-14 7:32
mveCPallini14-May-14 7:32 
GeneralRe: Can I properly derive from CMFCPropertyGridColorProperty ? Pin
Maximilien14-May-14 8:02
Maximilien14-May-14 8:02 
GeneralRe: Can I properly derive from CMFCPropertyGridColorProperty ? Pin
CPallini14-May-14 9:17
mveCPallini14-May-14 9:17 
QuestionCFile Error When Writing Pin
AmbiguousName14-May-14 1:52
AmbiguousName14-May-14 1:52 
QuestionRe: CFile Error When Writing Pin
CPallini14-May-14 2:34
mveCPallini14-May-14 2:34 
AnswerRe: CFile Error When Writing Pin
AmbiguousName14-May-14 6:57
AmbiguousName14-May-14 6:57 
AnswerRe: CFile Error When Writing Pin
Software_Developer14-May-14 6:36
Software_Developer14-May-14 6:36 
GeneralRe: CFile Error When Writing Pin
AmbiguousName14-May-14 6:56
AmbiguousName14-May-14 6:56 
GeneralRe: CFile Error When Writing Pin
Software_Developer14-May-14 7:27
Software_Developer14-May-14 7:27 
GeneralRe: CFile Error When Writing Pin
Richard MacCutchan14-May-14 21:55
mveRichard MacCutchan14-May-14 21:55 
GeneralRe: CFile Error When Writing Pin
leon de boer15-May-14 4:26
leon de boer15-May-14 4:26 
AnswerRe: CFile Error When Writing Pin
Jonathan Davies14-May-14 7:42
Jonathan Davies14-May-14 7:42 
QuestionIf I use a library, do I need DLL file ? Pin
_Flaviu12-May-14 21:50
_Flaviu12-May-14 21:50 
AnswerRe: If I use a library, do I need DLL file ? PinPopular
«_Superman_»12-May-14 22:11
professional«_Superman_»12-May-14 22:11 
GeneralRe: If I use a library, do I need DLL file ? Pin
AssemToCode14-May-14 17:46
AssemToCode14-May-14 17:46 
AnswerRe: If I use a library, do I need DLL file ? Pin
Legor14-May-14 21:59
Legor14-May-14 21:59 
GeneralRe: If I use a library, do I need DLL file ? Pin
_Flaviu14-May-14 23:54
_Flaviu14-May-14 23:54 
GeneralRe: If I use a library, do I need DLL file ? Pin
Legor15-May-14 0:30
Legor15-May-14 0:30 
GeneralRe: If I use a library, do I need DLL file ? Pin
_Flaviu15-May-14 1:32
_Flaviu15-May-14 1:32 
Regor, kindly thank you. I am trying to compile their SampleMFC project, that has following CMakeList.txt:
C++
cmake_minimum_required(VERSION 2.8)
PROJECT(Win32SampleMFC)
FIND_PACKAGE(VTK)
IF(NOT VTK_DIR)
  MESSAGE(FATAL_ERROR "Please set VTK_DIR.")
ENDIF(NOT VTK_DIR)
INCLUDE(${VTK_USE_FILE})
# This VTK_DIR usage only works in the VTK build tree...
# Make it work in the "make install" tree, too.
#
INCLUDE("${VTK_DIR}/GUISupport/MFC/VTKMFCSettings.cmake")
IF(VTK_MFC_DELAYLOAD_VTK_DLLS)
  VTK_MFC_ADD_DELAYLOAD_FLAGS(CMAKE_EXE_LINKER_FLAGS
    vtkRendering.dll
    vtkIO.dll
    vtkFiltering.dll
    vtkCommon.dll
    )
ENDIF(VTK_MFC_DELAYLOAD_VTK_DLLS)
SET(SRCS
ChildFrm.cpp
MainFrm.cpp
Sample.cpp
Sample.rc
SampleDoc.cpp
SampleView.cpp
StdAfx.cpp
vtkMFCDocument.cpp
vtkMFCRenderView.cpp
vtkMFCView.cpp
res/Sample.rc2
)
ADD_EXECUTABLE(Win32SampleMFC WIN32 ${SRCS})
IF(VTK_MFC_EXTRA_LIBS)
  TARGET_LINK_LIBRARIES(Win32SampleMFC ${VTK_MFC_EXTRA_LIBS})
ENDIF(VTK_MFC_EXTRA_LIBS)
TARGET_LINK_LIBRARIES(Win32SampleMFC vtkRendering)

well, in VTK, version 6, I didn't have
<br />
   vtkRendering.dll<br />
    vtkIO.dll<br />
    vtkFiltering.dll<br />
    vtkCommon.dll<br />

and I don't know how to adapt CMakeList.txt in order to compile the project ...
and I got linking error:
fatal error LNK1104: cannot open file 'vtkRendering.lib'

Also, I didn't have any vtkRendering.lib, just vtkRenderingCore-6.1.lib
Any help that you give, will be very appreciated !
GeneralRe: If I use a library, do I need DLL file ? Pin
Legor15-May-14 2:29
Legor15-May-14 2:29 
GeneralRe: If I use a library, do I need DLL file ? Pin
_Flaviu15-May-14 4:01
_Flaviu15-May-14 4:01 

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.