Answer Questions
Mike Ogilvie Change in C++ Project Property Sheet Editing 2005??
When editing a property sheet for a project (e.g., adding compiler options), in previous versions of VC++ .Net, if the "All Configurations" selection was selected as the configuration to modify, the common settings between the different configurations were displayed. You could modify these common settings or add new common settings (e.g., add compiler options to the command line). In VC++ 2005, when "All Configurations" is selected, the co ...Show All
mrabah GDI+ Display JPG
Hi all, I am new in Visual C++ and GDI+. I am currently using VC++ express to display a jpg file. I basically, copy from PSDK example and paste it on my program as follow: WM_paint: Image myImage(L"Climber.jpg"); myGraphics.DrawImage(&myImage, 10, 10); It didn't even compile. I am sure, I must have done something incorrectly or not doing something else in the first place. All other example I see in the internet ...Show All
StevenW Help on choosing the right product
Hello, I'm facing the problem of choosing the right product for my developer's group, and I find myself somewhat confused. First of all I'd like to use a stable and tested product, not a beta one, so I excluded the upcoming 2005, because the Beta 2 version to which I gave a try presents a long list of bugs and annoyances at the moment, and there's too much uncertainty on its real final release date. So let's go ...Show All
Bogdan Bratosin shortcut to access the scope and function droplist in the text editor
what is the shortcut to access the scope and function droplist in the text editor if no, what is the corresponding command so that I can set one in the Tools->Customize... thanks C++, C#, or VB C++ ParamInfo Shift+Ctrl+Space Complete Word Ctrl+Space no, I suppose this is not what I asked for;) I want to know the shortcut to open the scope and function list in the top of the test editor, instead of click ...Show All
ramexx CFile object Crashes with paths of mapped network drives...
When i try to Construct a CFile object (dll file) from a path of a mapped network drive, the program crashes.... when i use another path, from local drives, it works... Any idea how to resolve it CString File1_Name; CFile File1((LPCTSTR) File1_Name, CFile::modeRead | CFile::typeBinary); -> CABUMMM!!! DEBUG INFO: CFile exception: sharingViolation, File g:\night\bags.dll, OS error information = 32. First-chance exception in f ...Show All
mme0927 C++ Support Library in Visual C++ 2005 Beta 2 (Express edition)
I have Visual C++ 2005 Beta 2 (Express edition) installed. In the help for VC++ I found a topic about the “C++ Support Library”. It requires some header files ( <msclr\lock.h> for example) from a folder named “msclr”. Unfortunately I cannot find those headers anywhere. My question is: Is the “C++ Support Library” part of Express edition of VC++ 2005 Beta 2 Thank you for the response. Unfort ...Show All
AndyB C# Can I write/read a struct binary to/from a file
In native C++ you can write classes or structs to a file, and I wonder if there is a way to do that in .NET In my forms application I want to save applicationsettings to a file binary, using a struct like this: struct appSettings{ int setting1; int setting2; int setting3; int setting4; }; appSettings settings; //fill settings with info (integers) ofstream fout("settings.dat", ios_base::trunc | ios_base::bi ...Show All
Blade68 Linking to static lib created with vc7.1
I am trying to do a program where i need to use some static lib's created with vc7.1( i am new to this) so what is best practice since i get linker errors that msvcp80.dll missing and if i exclude then i get 10 thousend other error. co how to use a static lib wich is compiled with vc 7.1 lib should i use 7.1 lib, and if howto set this up Or you can just contact the owner of the of the lib and get the sources if applicable. Thanks, ...Show All
gokhan.altinoren symbols (*, #, %, @, etc)
If you will, list or explain the nature, language rules, and-or syntax of symbols used in C++ code. So rarely used that I didn't even know about it! Ok I'll restate the last comment: '@' is not part of the Standard C++ character set. (note: I have previously coded in Java and am now attempting to learn C++) I did not post this thread as a code specific inquiry. I merely wanted a vague listing o ...Show All
Gopi Any one know how to compile this makefile in VC6
#----- Include the PSDK's WIN32.MAK to pick up defines------------------- !include <win32.mak> LINK32_OBJS= \ $(OUTDIR)\amextra.obj \ $(OUTDIR)\amfilter.obj \ $(OUTDIR)\amvideo.obj \ $(OUTDIR)\combase.obj \ $(OUTDIR)\cprop.obj \ $(OUTDIR)\ctlutil.obj \ $(OUTDIR)\ddmm.obj \ $(OUTDIR)\dllentry.obj \ $(OUTDIR)\dllsetup.obj \ $(OUTDIR)\mtype.obj \ $(OUTDIR)\outputq.ob ...Show All
Lance199 How to access strings from unmanaged satellite dll for vs 2005 addin
I wish to extract strings from an unmanaged satellite dll, (created in c++) from a c++ visual studio add in. I am not using MFC because of a header conflict between addins and MFC (reported as a bug elsewhere). I have read Huizhong Long's WebLog article on changing the default icon in an addin and also the MSDN article "How to: Display a Custom Icon on the Add-in Button" . I have the custom icon working fine, but neither of these ...Show All
talbers YA DllImport question...
Hi - Here's another dllimport question. I'm attempting to access native code from managed code. In this case, I'm using the open source tinyXml - a C++ library and wrapping it with a C++/CLI class. I'm able to compile the source code into a win32 dll. I'm exposing a class - TiXmlDocument using __declspec(dllexport). I also expose the base classes. No problem. On the C++/CLI side (VS2005), I can create an object pointer, i.e. ...Show All
EricT How do I? Complete Newby.
I've got following problem. I'm working with Visual Studio .NET and I need to populate my typed DataSet object with some data. It's a table, which is stored in a simple text file. But the number of columns is not defined (can vary from 5-10), so I have to create a new DataColumn object dynamically, as I read the column from the file stream. I have no idea, how to do this. I'm really sorry, if I'm wrong here. It seems, that this foru ...Show All
Tanmoy007 Why MsgWaitForMultipleObjects returns 0xFFFFFFFF?
I wonder why this fairly simple code makes MsgWaitForMultipleObjects to return 0xFFFFFFFF The result from GetLastError is Access Denied. What access could be denied in this code HANDLE l_hComm = CreateFile("COM1", GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0); if (l_hComm == INVALID_HANDLE_VALUE) { l_this->m_staticText.SetWindowText("Couldn't open COM port."); AfxMessageBox("Couldn't open COM port."); ifs.close(); l_thi ...Show All
Brian_369 Does someone know vc++ class diagram
Dear all Does someone know any tools i can use for vc++ 6 to transfer class diagram Could you please explain what you mean What is a class diagram Hi thank's u reply for example some thing like UML diagram , does any tools support this funnctions in vc++6 Rational used to have some tools that supported Visual C++ 6.0 (and later versions) but since they were gobbled up by IBM I don't know what the status of these tool ...Show All
