Answer Questions
DawnJ Resolve Partial Assembly failed for Microsoft.VC80.DebugCRT
I have re-written an ISAPI wildcard extension using VC++ 2005 that uses both MFC and some Managed code. It complies ok but when I try to use it the IIS says: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. When I look in the Event log I get two different errors: Resolve Partial Assembly failed for Microsoft.VC80.DebugCRT. Reference error ...Show All
bojingo ofstream problem, I think!
Hello All, Just wondering if anybody can help me with this problem. I think it's a fairly trivial problem but at this stage I'm probably seeing pass it. I have a big integer array(307200) which consists of 1's and 0's. My plan is to print each pixel out to a txt file with the number of pixels on each row = 640. So that would leave me with 480 rows with each row containing 640 pixels. As you have probably already gathered this array is something ...Show All
KiranK Help for Newbies
Hello Everyone, I am very new to C++. I am taking my first course at College, a Computer Science Course - Intro to C++. The problem is that at school, the teacher is using Visual C++ 6.0, of which I cannot manage to find or get a copy of this software. I have tried downloading the new Visual .Net 2005 Beta. But either it doesn't do what I need it to do or I simply cannot figure out how to do it. I am very new t ...Show All
Dmitry Shatilov .NET, VC++ and COM
I have an API written in C++ that exposes all the interfaces as COM objects. This API is current ly used in a few VB6 Projects. I am migrating some of these VB6 Projects to VB.NET and although I can use the current API with COMInterop, it would be better if I could actually use a NET API. I am also not going to be able to port all my VB6 applications so my questions are: a) Is there any way to expose my API as a NET API instead of a traditional ...Show All
Guillermo Proano MSFT Problem with VS6->VS2005
Hi need help... lots of help... 1] What the hell happened to stprintf function 1.a] How can i convert a char* to TCHAR* 1.b] why in nine hells does VS2005 say sprintf - undeclared identifier when stdio is included I tried looking for some reasonable answers, but god forsake me, i wasn't able to get from either MSDN library or anywhere else something useful... 2] VS2005 for some mysterious reason doesn't know anymore LVITEM, ...Show All
Henry Chan problems with cstdlib + stdlib.h?
These errors are stumping me. There seems to be a problem with cstdlib and/or stdlib.h. Has anyone seen these types of errors before I am using Visual Studio 2005. Error 47 error C2873: 'realloc' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\cstdlib 26 Error 45 error C2873: 'malloc' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\cstdlib ...Show All
SQL GAL Error with istream_iterator
Hi, I am new to using Microsoft VC++and STL . Just wrote a test program but doesnt seem to be working. Can any one tell me what the problem is #include <iostream> #include <algorithm> #include <list> using namespace std; int main(){ int a[10] = {12, 3, 25, 7, 11, 213, 7, 123, 29, -31}; int *ptr = find(&a[0], &a[10], 7); list<int> list1(&a[0], &a ...Show All
L M htonl source code
Hi All, My first ever posting. I am lookling for the sourec code for htonl, htons, ntohl etc function calls. I need to generate my own implmentation of these calls and hence need the source code for the same. All Suggestions are welcome!!! Thanks in advance -Sachin Is there any reason why you must use the byte ordering provided by htonl etc Why can't you create your own byte ordering The purpose of the functions htonl, hto ...Show All
Khan16688 Mixing Templates and Generics
I think I've raised this questions a couple of times and the first time some three years ago - and have never got a real answer. Why does the language disallow mixing templates and generics. What's wrong with: template < typename T > value struct outer { generic < typename U > void foo(); }; or generic < typename T > ref struct outer { template < typename U > void foo(); }; ...Show All
Vinoth Unmannaged Dll
Hello everybody, i`m new with vc++ ,i wrote an unmannaged class and still cant use it ,because when i added it to my project this error generate: error C2871: 'some-namespace' : a namespace with this name does not exist and when i use its class compiler dont know that, how can i do it because i`m new with vc++ answer me completly thanks a lot Toghian wrote: Dear oshah your answer was very helpful for ...Show All
Chris D Jones GDI Plus
Hello, Is there any possibility to use the gdiplus files in a pure WIn32 C project. I know gdiplus was made for C++ but maybe it exist a version with extern 'c' headers. Thanks for your help No! The headers for GDI+ need C++. There are no wrappers for C! What is the problem to mix C and C++ There is none! You can simply add a cpp file and write your own wrapper to GDI+. Why do you want to stay on t ...Show All
mike an problem having vc7.1 and vc 8.0 express on same machine
hi, i have installed vc 8.0 express + platform sdk on my machine where i had already a working vc 7.1 C++ standard installation. btw: i work only with C++. vc 8.0 worked fine after installation, but vc 7.1 studio has now a problem with linking. i get always a fatal error in following form: ... fatal error LNK1173: unable to find entrypoint 'DllGetObjHandler' in E:\Programme\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll i have deinsta ...Show All
filippg good books on win32 programming
i am a computer engineering student and i have been a .net developer for a few years now. i want to delve deeper into the world of windows api programming using vc++. please suggest good introductory texts, books and resources for begining my journey. please recommend books for windows api porgramming and not introductory C++ stuff. Of course it will. There is the C++/CLI (part of VC2005) that enables you to take advantage of the mana ...Show All
Ken Noland Writeing all listview elements to file
hi. i am using ListView and i need to save all list view elements to file :S is there any way to save whole ListView i am writeing to list this way: Meritve is the name of listView this->StatiskitaNalisti= gcnew ListViewItem(this->EditImeRobota->Text->ToString()); this->StatiskitaNalisti->SubItems->Add("NE DELA"); this->StatiskitaNalisti->SubItems->Add(this->VCasi->PovprecenSpeed.ToString()); this-> ...Show All
bob_m10 form send a message to form
can a windows form send message (string text) to another windows form how can i do this thanks Yes, you can do that indirectly. For example, let form A have a method GetMessage and from Form B you can just call A.GetMessage ("Any message"); In GetMessage you can process the string the way you want Of course the actual implementation might be harder but this is just an idea. Thanks, Ayman Shoukry VC++ Team ...Show All
