| why ifstream object can be used as a basic_istream object? (2 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| i study the iostream's source code and did not found any virtual function other than virtual destructor. then why did the following function can extract data correctly in despite of whether the stream object is a ifstream or a istringstream. char get(basic istream char & is) { return is.get(); } how did it implment polymophism not using "virtual"? Or i have miss it? Regards, booker |
|
| incompatibilites between run-time dll's? (11 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| Hi all, Are there any possible problems if an application is using multiple versions of the shared C runtime dlls e.g. msvcp60.dll, msvcp70d.dll /and/ msvcp71.dll? The reason I ask is, the app I'm developing suddenly decided yesterday to refuse to start up, throwing up a dialog titled "Microsoft Visual C Runtime Library" with the text "Runtime Error!... This application has requested the Runtime t... |
|
| how can i export a function return a std::string safely? (2 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| my dll (linked with static multithread debug c runtime)export such a function: class declspec(dllexport) DOC { std::string GetText(void) const { stringstream sstrm; sstrm "something"; return sstrm.str(); } }; and i use this class from another application(linked with the same c runtime with the dll).I call GetText many time in may functions.Except the function stated below got an runtime error,most... |
|
| "...instruction at xxxxx referenced by xxxxx could be written.... " (2 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| I encountered a problem in my C program. When the code runs for a short time, there is no error at all. But when it runs for 1 or 2 hours, it terminates with the message: "...instruction at xxxxx referenced by xxxxx could be written.... " Anybody can give me some idea of what kind of problem it is and how should I deal with it? Thanks a lot! Regards |
|
| Windows Media Encoder C++ SDK - RunTime error (2 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| We have an application that controls the windows encoder. It was written in C using windows encoder SDK. It works fine with encoder 7 but with encoder 9 it crashes with Run Time error. I was able to isolate the problem to a very small piece of code. The following is the sequence(also please see the code below): 1) Create an encoder object loop: 2) Load it with .wme file(this file works just fine i... |
|
| Where to find program VC++ .NET on 3D-Graphics? (9 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| Hello. Inform, please, where to find programs for Visual C .NET 2002 or 2003 on building the three dimensional solid and surface z f(x, y) in 3D space (without usage of other libraries such as DirectX and OpenGL)? In the answer I can inform, where to find these programs on Visual Basic ..NET 2003. Beforehand I thank for the answer, Dr. Zharkov V.A., Moscow, Russia. |
|
| How to export an array from VB .NET in VC++ .NET? (6 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| We want to export myArrayVB (2000, 2) of VB .NET 2003 in myArrayVó [2000, 2] of VC .NET 2003 on scheme "component client". But there is an error. For development of a component in VB .NET 2003 we make: File, New, Project, Visual Basic Projects, Class Library, name of project: ComponentVB. We write the code: Public Function myFunction1(ByVal N i As Integer, ByVal N j As Integer) As Array N i 2000 N... |
|
| Passing STL references across DLL boundaries in VS.Net 2003 (VC++ 7.1) (4 replies, VIP) |
| microsoft.public.dotnet.languages.vc.libraries |
| I am thinking about moving my app to VC 7.1 I wanted to know if the annoying problem of access violations when passing STL related structures across DLL EXE boundaries and accessing them has been resolved (assume both link to the same CRT). Thanks! |
|
| runtime crashes using MS STL libraries in VS .Net. (3 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| Hi all, I was using earlier using Dinkumware STL librarires in VC6.0, now while migrating to VC7.1 i started using MS lib ( for e.g. xtree file). Everything compiled fine with minor changes but now I am getting strange memory corruptions while using the Queue (gives access violation while trying to delete). I wonder if this is a bug with MS library, or what else could be the problem? Does anyone f... |
|