Dear experts:
Hi!
I am trying to learn how to use MS Visual Studio 2003. Firs of all, I would like to learn how to compile and run a
.cpp file. It has been a long time since I last use...
Hi, anyone know how to make a masked textbox in VC++ .Net? I want to have textboxes which the user can only input i.e. IP address such as 127.0.0.1
Thanks.
I have a C application, compiled in VC++ 6.0 for Windows 98/2000/XP/Vista.
When the user chooses to exit the application, the program typically confirms that they really want to exit.
I woul...
setup: XP, using VC++ 6.0
Does anyone know if the size of the UDP receiving FIFO buffer for a socket is setable? It seems like setsockopt() might allow setting the buffer size for other p...
I wish to create a simple dialog-based application (using MFC) with a tooltip that can display different text according to where the mouse pointer is located, and also switch off this tooltip ...
i am using the following code to get handle of windows notepad and write in some text in the window. But using this method I have to know the name of child window before hand. What if I dont k...
hi i need help in making a non graphic slot machine program. I have to use object oriented programming but i am confused about what classes to use and to relate them.Also i have no idea how to...
Hi,
I am a newbie to visual c++ environment although i do programming in c++.
I am trying to read a filename from a file open dialog box and then trying to read its contents so that they ca...
I'm doing a window forms program with vc++.
I have a menu that opens a file.
But, when I click on the open menu, it does not show the openfiledialog box. My first queestion is that why i...
experts,
does anybody have a solution to convert a timestamp in C (time_t datatype) into a .NET compatible datatype?
After that, this type should be useable for inserting it into a Stored Pr...
Could anyone tell me how to convert BSTR to string and vice versa?
Also, how can I convert between BSTR and CString?
In VC++ 6 there is a tool - OLE/COM Object Viewer.
I am currently looking at the Visual Studio 2005 (Beta) and can't find a tool like that.
So, is it there under another name? Has it ...
I'm trying to convert a .eml file into a .msg file. I have a bit of code (in VB .NET) that reads the .eml file from disk and creates a CDO.Message object, and I have a code snippet (C++, from ...
hio=]
i need a buffer to read binary data into .so i will ues this method:
===========================
System.Int32 Read(System.Byte[] buffer, System.Int32 index, System.Int32 count)
...
Hi there,
I wrote an Outlook add-in in Visual C++ 2005. When I run dependency walker on my own machine (where I wrote and generated the project) for my dll, I get 2 error messages.
DWMAP...
All,
we have an application which always reports memory leak. How can i use GetPerformanceInfo to get an application process memory usage?
i found some code samples:
#include <windows.h> ...
This Linker warning is occurring in a project that I have converted from VC++ 6.0 to VC++ .NET. It didn't occur before I converted the project. It is only occurring on the Release build config...
Guys,
I am using the GDI+ libraries to load up images. I have loaded up the image into a Bitmap structure. I then need to get a handle to the HBITMAP so I used GetHBITMAP(). Then I get the ...
Hi, we have an client -server VC++ application, quite old, still working on Microsoft Visual Studio 6.0 ver.
currently there is a plan to move the project to higher version to Microsoft Visua...
There should be no need to compile or test anything. Someone familiar with C++ arrays can nail this one down with a suggested code change. Thank you.
The following C++ wrapper code correctl...
Hello,
I have a C++ program written in Visual studio 2005. I need to add a GUI to it. I have never done any GUI programming before and the examples Ive seen arent really for .Net or visual st...
Here is the code, why it don't work?
And what should i do to make it to work :/
For console it worked perfectly :/ using sentence.c_str
i tried also sentence.c_str() but same error :/
: ...
hi all,
i am having a hard time understanding all this stuff. i mean, i have gotten help in doing it, but i don't really understand what is going on...
for instance:
What is WAIT_...
I am writing a vc++ .Net dll, and this dll will be used under vb.Net.
The function in vc++ would be look like:
int _stdcall AbcCapData(char * pkt_data) {...}
I wish to fill bytes in pkt...
Not familiar with Visual C++. This code compiles ok but I get a memory exception error when the GetDlgItemText function tries to execute. I am trying to get the text entered by the user and ...