Does anyone know how to use these new Vista COM objects in a C# project. I am talking about the IFileDialog objects/classes/libraries/idl's and all that inherit from it. Thanks, Adam
jonesap5
Posts
-
Using IFileOpenDialog in C# -
Printing an SDI applicationthere are a few things that I don't understand in this code example. one i don't know what the variable m_dib is and where it came from. I also don't understand GDIUtil::GrabDIB function call. I get an error that the compiler doesn't know that it exist. any help would be great. thanks
-
Printing an SDI applicationI have an SDI application that has inherited CFormView as the base class. When the application was created it disabled all print functionality. I would like to be able to add this functionality. I know that I can add virtual functions but I am confused on what to put in these functions. I would like to print the application as it looks. Is that even possible? Any help would be great. thanks, adam
-
fatal error U1034Crow, hey I found the problem, everytime I would build it would seem to recreate the makefile. I had a line in the makefile as follows: "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\nmake.exe" /nologo that particular line was causing problems. I am building in the Rational Rose Environment and within a particular field called CodeGenMakeInsert on a C++ Generation tab for a Component Specification I had that line inserted. I know that it may mean nothing to you but it fixed the problem just wanted you to know. Thanks for you help. It took me a while to figure it out but I think it makes sense after looking at another generated makefile from the same environment that didn't have a line like that. Sorry for the ramble hope this helps someone else out. :doh:
-
fatal error U1034So this I think is the make file and I can't see anything wrong with line 11. I even compared it to another makefile similar to this one. Can you see a problem. RTS_HOME = C:/Program Files/Rational/Rose RealTime/C++/TargetRTS include <$(RTS_HOME)/codegen/rtgen.mk> MODEL = C:/ERRT/ScreenSwitchTest/ScreenSwitchTest.rtmdl COMPONENT = "Component View::MainCapsuleTest" RTGEN_FLAGS = -model $(MODEL) -component $(COMPONENT) -spacedeps dq include TARGETS = $(MainCapsuleTest_SYSTARGET) RTGENERATE_TARGET = $(TARGETS) RTGENERATE_DAT = rtgenerate.dat "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\nmake.exe" /nologo RTgenerate : $(RTGENERATE_TARGET) //my comment - is this not line 11? .PRECIOUS : $(TARGETS) $(MainCapsuleTest_SYSTARGET) : $(MainCapsuleTest_SYSDEPS) $(RTGENERATE_DAT) $(RTGEN) $(RTGEN_FLAGS) -system -- modified at 14:51 Tuesday 18th April, 2006
-
fatal error U1034I look in the project directory and there is a make file, I look in the source directory and there is another Makefile. I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile? :sigh:
-
fatal error U1034I think this is the Makefile it is called Makefile.dep and it is as follows: Makefile_TARGETS = \ Makefile.dep \ src/Makefile \ build/Makefile Makefile_DEPS = \ "C:/ERRT/ScreenSwitchTest/ScreenSwitchTest.rtmdl" \ "C:/Program Files/Rational/Rose RealTime/C++/RTComponents.rtcmppkg" I tried to place the ':' as follows but that didn't seem to work. Makefile_TARGETS = \ Makefile.dep \ src/Makefile \ build/Makefile : Makefile_DEPS = \ "C:/ERRT/ScreenSwitchTest/ScreenSwitchTest.rtmdl" \ "C:/Program Files/Rational/Rose RealTime/C++/RTComponents.rtcmppkg" any ideas? :confused:
-
fatal error U1034In the make file I don't know how to identify the target and the dependent and where to put it. I also don't know which make file I am placing this in. I don't know if that makes sense?:confused:
-
fatal error U1034I think it does but I don't know where to put the separator that is missing. Any ideas? I can't tell which make file it is refrencing.
-
fatal error U1034Does anyone know what this error is supposed to mean? I have an auto generated makefile and I don't quite know what this error means. Any help would be appreciated. Thanks,
-
C++ Mouse Event ListenerI am trying to create an event listener for a left mouse button event in c++. Does anyone have any idea how to create this so that I can register the listener at the beginning and then when the event happens it will call a function of what I want to happen. If this makes no sense let me know. Thanks
-
Directory ControlI need to know how to control a directory structure from the "Open" dialog window from an application. I need to be able to restict the user from going to directories that have been determined they should not enter and restrict them to a certain directory. Anyone have any idea how to do this not in MFC, win32 api format. Thanks,
-
How do I keep menu attributes that exist when the menu refreshes?I am not using MFC, I am actually using a Win32 project.
-
How do I keep menu attributes that exist when the menu refreshes?What happens is I select submenu item from the 'Tool' Menu and it refreshes or recreates the main menu. At that point the sub menu items I disabled in the 'File' Menu are re-enabled. Does that make sense?
-
How do I keep menu attributes that exist when the menu refreshes?I am trying to disable some menu items in a menu. I am successful in getting the menu items disabled using the function SetMenuItemInfo; but when the menu refreshes the items are re-enabled and I don't want that. Is there anything that I can do to disable menu items from refresh or recreate of the menu? thanks,