Answer Questions
DiegoV mbsrtowcs link errors
I'm using mbsrtowcs to convert a char[] to a wide, and I'm getting link errors I can't comprehend. The actual code is in a C++ library, which compiles OK, but when I use this library in a C or C++ exe I get unresolved external symbols __imp__mbsrtowcs and void __stdcall _com_issue_error(long)" ( _com_issue_error@@YGXJ@Z ). Can anyone explain what is happening here Thanks! Could you send a repro of the problem Feel f ...Show All
CSharpitpro Unlinking the CRT...
Here's a fun question: how do I get the CRT out of a project, utterly and completely The project in question is a mixed-mode C++ DLL. /NODEFAULTLIB leaves me with dozens of link errors to CRT functions that I'm not calling from my code so I'm assuming the compiler is sneaking stuff in on my behalf (how very kind of it). What functions do I need to implement on my own and how do I do that Some of the more obvious ones like atexit I've already ta ...Show All
JennyGMM DirList ActiveX usage problem on localized VS .NET
Hi, As I know, VS uses DirList ActiveX component for showing some properies (see VC++ Linker's "Additional Directories" for example). In our integration we used the same approach. We crteated a dialog with DirList ActiveX on it. Here is the fragment from rc-file (part of DIALOGEX section ): CONTROL "",IDC_SLE_PATHLIST, "{442502BA-D873-4a37-9F19-3E38C42A3DDB}",NOT WS_VISIBLE | WS_TABSTOP,6,68,190,59 Gui ...Show All
Very Anonymous Resource Editor: Add/Remove Operation impossible code read only - Release VS2005
I've seen this bug discussed frequently with regard to the beta release of VS2005, but not often in the release version. I've tried former resolutions suggested. I'm running the release version of VS2005, Professional Edition, XP Pro, all latest service releases. Source Safe 6.0b We only recently moved to VS2005 from VS 6.0 and project was upgraded from a 6.0 project. Symptoms: - Dialog control event handlers do not appear in the proper ...Show All
vthacker CFileDialog.DoModal() Crashes When Hint box is about to appear.
I have a strange crashing problem in an application developed on Visual Studio 2005 Standard Edition. The crash comes during a function call to CFileDialog.DoModal(). The problem seems to relate to the "hint" box that appears if you let the mouse pointer linger over a file. If the mouse pointer registers over a file with an unregistered file type, then a hint box appears indicating the file type (e.g. ".slg file"). You the ...Show All
arithie Trouble getting a project that compiles w/ mingw compiler to compile with VS C++ 2005 compiler...
Thanks in advance (novice VS C++ user)!!! So I ran across some interesting code to host MSHTML, to be able to display HTML within your application.... this code was at: http://www.adp-gmbh.ch/win/misc/mshtml/ I've pasted in the makefile below: 'CC_FLAGS_AND_OPTS = -Wall -c $(CC_ENV_OPTS) LIB_PATH=c:\tools\mingw.3.1.0\lib all: MSHTMLTest.exe DisplayHTML.exe MSHTMLTest.exe : MSHTMLTest.o HTMLWindow.o OleClientSite.o OleInPlaceSite.o DocHostUiHand ...Show All
Itsme18 Buliding BaseClasses in .net2003
How can I build the base Class Library. I’m a C++ newbie, and I don’t know how to build it in Visual C++ of the .NET 2003. Thanks a lot! I have to build BaseClasses to generate "Strmbase.lib" and "Strmbasd.lib". In the BaseClasses folder I have *.cpp and *.h files and a makefile. I don’t know how to build the project using "makefile" Thanks For usi ...Show All
GOsborne Adding ActiveX support to a project that doesn't support it!!!
Hello, I have a MFC dialog based project that I have been working on and I want to add some activeX controls to it. The problem is that I created the project with Project Wizard without ActiveX support. I'm using Visual Studio 6 and I suppose (hope) the solution is the same for newer version as I am going to port my work to VS2005 (but this is another problem ). So, the Million $ question is: How can I add ActiveX support to a project that doe ...Show All
ZippyV where is mfc80d.dll
I converted a VC6.0 application that uses MFC in DLL's and when I attempt to run the debug version from within the IDE it reports "The application failed to start because mfc80d.dll was not found" I can't find this DLL either. Where is it In VS8.0, it is in the SxS directory, that is under %windir%\SxS. In most cases that is windows\SxS Here is a nice link regarding the SxS and fusion in general (Thanks t ...Show All
DougP C++/CLI dll will not load in C# project (repost, with more info )
I have written some code to create high dynamic range images in C++. I need to call this code from C# now, so I've wrapped it using C++/CLI. I've tested it, and it works well. I sent it to my employer, and he got this error: ************** Exception Text ************** System.IO.FileLoadException : Could not load file or assembly ' HDRLib , Version=1.0.2144.16487, Culture=neutral, PublicKeyToken =null' or one of its de ...Show All
Artral Version problem MSVCR80.dll
Hello, I just downloaded VS C++ Express Edition, and tried to build a console application using command-line. When I start the app it does not find MSVCR80.DLL. I digged into the problem, and found out that my installation of VS is version 8.0.50727.42, but the header file crtassem.h says it is version 8.0.50608.0. The latter version number is entered into the manifest file when it is generated, and I actually don't have this version of the DLL ...Show All
Eddie Tse Software controlling mouse in WinXP
Hi, I've been trying to write a program in VC++ .NET which controls mouse movement in WinXP. Sadly I'm a little lost as to how I should achieve this. All I want to be able to do is to set the position of the mouse cursor to an arbitrary place on the screen. I was hoping there was a straight forward system call I could use to fake a mouse interrupt, but I haven't had much luck finding that. Does anyone know how this is done, or if the approach is ...Show All
Claudiu-Teodor B /clr and /Gm compiler options not compatible
I am using Visual C++ 2005 Express Edition. I want to use incremental compilation (Enable Minimal Rebuild - /Gm) option to avoid having to recompile everything every time I make a small change in one of my source and/or header files. But it seems that the /Gm switch is not compatible with any of the /clr options. Why is that How can I avoid having to rebuild everything in my managed /clr application Regards, David. ...Show All
Thaddeus Add member variable wizard takes long to display
Adding a member variable in a Dialog class may take a long time in Visual Studio .NET 2003. Does anybody has a suggestion for the cause of this problem and how to resolve it Erwin Note added: An interesting finding is that when I disable the LAN connection, the "Add member variable" dialog appears immediately, and when I enable it again, the dialog hangs again before displaying. Erwin ...Show All
M,Ramesh Visual Studio 2005 Compilation problem
Hi, we have some compilation problems with VS2005. It seems that sometimes it doesn't recompile some files ( when we have h files with template or anything else ) and we have to perform a full rebuild to make it work. Sometimes it's worst, because it outputs it recompiles the related cpp but no change is made ! Does anyone encountered a problem like this one Thanks in advance, We will need to reproduce the is ...Show All
