Answer Questions
mesh msvcirt.lib and iostreams.h
I am compiling a set of libraries with nmake from Visual C++ Express 2005, and the linking process for two of the libraries requires both msvcirt.lib and iostreams.h. These files previously shipped with, I think, Visual Studio 2002, and may now be deprecated (I'm not sure). Is there a source or download site for these two files for use with nmake/ Visual C++ Express 2005 /Ross The last p ...Show All
Thomas Wolfram MVP Native C++ Static Library and C++/CLI Code
Hello, What is involved in using a Native C++ Static Library compiled with Visual Studio 2005 from a C++/CLI Application also written using Visual Studio 2005 Thank you for your help, Digital One wrote: Hello, What is involved in using a Native C++ Static Library compiled with Visual Studio 2005 from a C++/CLI Application also written using Visual Studio 2005 Thank you for your help, ...Show All
Raybritton EnumPrinters in Service doesn't work
Hi All, I read in one of the forums that an EnumPrinters() for Network printers when used in a service , does not work because the service is running under SYSTEM account. This is the problem. can any of u give me some inputs on how to solve this.I need to use EnumPrinters() from the service. are there any access rights that need to be given to the SYSTEM Account If yes, how do we set them Any solutions Thanks for the help. ...Show All
Furrukh Baig Visual C++ 2005 - I'm not sure how to run my program, can someone help?
I am trying to learn C++. I installed Visual C++ 2005, and I'm not used to the way it looks or handles. Can someone show me, step by step, how to open a project, write a simple 'hello world' program, and execute it i know how to do this with older versions of visual c++, but this one really got me. thanks all I apprecite it. 1) Create an empty console project. 2) Add a new C++ fi ...Show All
arti_z Windows 64 Bit
Hi I am Compiling an application with 64 configuration. I am unable to run this application. Dependency Walker is giving this error Error: Modules with different CPU types were found. and when i run this application it shows a message application configuration incorrect. What i am missing, i check everything. please tell me what i am missing Regards Manoj Jangid Yes I am using Windows XP 64 Bit/64 Mac ...Show All
G.G. Differences between operator overload in C++/CLI and in native C++
Hi all, I would like to fully understand the differences between the two ways of overloading operators. I've read that CLI provides the ability to overload operator as static members, and that friend function are not allowed with C++/CLI. But what exacly are the advantages in choosing to overload operator with the CLI method. How will it be better (or not) to define overload operator as static members. Thanks for your help, Best regards, Nico ...Show All
Visualcpp Odd HWND Behavior
Hi, I'm using MS Vis Studio .NET 2003 and I am experiencing some odd behavior with HWND pointers. I have the following code in my application HWND hWnd; hWnd = CreateWindow(nom_app, "Reco Fr", WS_DLGFRAME, CW_USEDEFAULT, CW_USEDEFAULT, 200, 200, NULL, NULL, inst, NULL ); Sometimes CreateWindow will return a good HWND, however other times it will return something like this: hWnd {HWND__} { unused=<undefine ...Show All
NFox Warning C4430 not being thrown in friend declaration
class myClass ; class otherClass { public : otherClass ( int x ): valor ( x ) {} inline int sum ( myClass & obj ); private : int valor ; }; class myClass { public : myClass ( int x ): val ( x ) {} friend otherClass :: sum ( myClass &); private : int val ; }; inline int otherClass :: sum ( myClass & obj ) { return obj . val + ...Show All
www.ilkon.com Unmanaged C++ code in VS 2005 changes?
Hi all - Our company has an application that is written in unmanaged C++ code that was built using Visual Studio 2003. The app must remain using unmanaged code for now. Are there any advantages for us to switch to Visual Studio 2005 for unmanaged C++ Disadvantages Any new features that 2005 can do for us Remember, all we care about it unmanaged C++. Thanks, Ethan Yes, there benefits which include b ...Show All
mostaf how to use far pointers to find system memory?
kindly tell me how to use far pointers to find the size of memory a system has(RAM) I know of no way of using pointers to detected how much memory there is in a system (at least not on modern systems with virtual memory). A call to GetSystemInfo will use a pointer: does that count you should use GlobalMemoryStatus to get memory information, and also including the memory a system has. and far pointer is deprecated in win32, the M ...Show All
xian_ve may some master-hand help on this issue?
i'm a newcomer to WIN32 and had trouble while having a Windowproc as menber of my own class. here is the code: //Window.h I'm guessing that the problem is (or is similar to) passing a pointer to the Window::MainWindowProc function to CreateWindow. CreateWindow needs to take a stdcall-style callback. CALLBACK is half of it, since it decorates the function as __stdcall (as opposed to __cdecl or a C++ member function).&n ...Show All
Silvina7407 Using Crystal Reports 10 with Visual C++ and C
Hi All, I have used crystal reports with C# in .Net enviornment, but I am not sure how advisable it is to implement Crystal reports in C++ or C. This report generation is new development and the first tool that came to my mind was Crystal Reports unless there are other tools in the market that would be more useful to use with C++ and C. Any thoughts You can use crystal reports with managed C++ as well. Take a look at http://msdn.mi ...Show All
Pikechan How do you create a single .exe installer file?
I'm a psychology grad student at Miami U. in Ohio, and I need to come up with a way to create an installer for a program that is a single .exe file. I have been using Installshield for Microsoft Visual Studio C++ 6 to create an install disk with all the files needed for install on it. However, I need it to be just one file, so that when someone downloads it and opens it, it will begin the install and extract all the needed program files from jus ...Show All
B. Ritter VC++ Express Messagebox::Show() Coding Question
Hello all, I am trying to take the contents of a textbox, and display it as part of a custom message on a message box. I can display either my message, or the contents, but I'm having trouble getting both. I searched the help, but couldn't find an example. Thanks for any help. Here is my code (with explanatory comments): { // This code is from the button1_Click event. Clicking the button should take the // text from a textbox and displa ...Show All
Dan Thomas - DAGWare TreeNode->NextNode TargetInvocationExeption
Hello, I'm working on an application that checks for certain nodes in a treeview. I did this by setting a treenode variable to the first treenode is my treeview. Then it'll check if it's text contains what I'm looking for, and if it hasn't found it it will do node->NextNode and check if that node contains the text I'm looking for and this will continue untill I find the requested node. It looks something like this: TreeNode^ node = tree ...Show All
