| Thread | Last Post | Replies |
|
| Windows Compile | 15 Dec 2006 16:19 GMT | 2 |
I'm a VB programmer by trade (hold the tomatoes please), and I have a very small C utility that I need to compile into a windows executable. It's a widely used utility in academia for meteorological purposes, but generally in the Unix/Linux environment.
|
| Problem with BEGIN_TEMPLATE_MESSAGE_MAP (long) | 15 Dec 2006 16:11 GMT | 3 |
Consider the following code: --- template <class T> class TMyCWndWrapper : public T
|
| VC++ 2005 - Compilation Errors using "ifstream" | 15 Dec 2006 15:00 GMT | 4 |
I tried your advice, and replaced "ifstream" with "std::ifstream". I also replaced instances of "ofstream" with "std::ofstream". Those syntax errors were resolved. When I added "std" to the following statement: m_InFile.open(m_sFileName,
|
| Smart Pointer | 14 Dec 2006 14:52 GMT | 1 |
Hi Frendz, I am working in VC++ MFC. The application comsumes lot of memory resources. Can anyone help me out with an idea of how to reduce the memory consumption. Now am working to implement Smart Pointers for
|
| How to use DrawDibDraw | 14 Dec 2006 14:36 GMT | 1 |
I'm trying to learn programming and I've got quite far so far, but I've run into a few problems, the main ones involving DrawDibDraw. First, 12 bytes seem to be missing from "bitmapinfoheader" that I see in the hex edittor. Second, I'm puzzled about the difference with the Dst ...
|
| incrementing an STL list interator | 13 Dec 2006 17:59 GMT | 2 |
lets say I have a iterator of the type: list<string>::const_iterator itr; lets say its at some position in a given list. Now I can goto the next item by simply doing a itr++. But I want to increment more than just 1. Lets says
|
| Managed C++ to C++/CLI Convertor tool now available | 13 Dec 2006 15:36 GMT | 3 |
http://blogs.msdn.com/vcblog/archive/2006/12/08/managed-extensions-for-c-to-c-cl i-conversion-tool.aspx It's not perfect, but people have found it useful. The tool is totally unsupported, but includes source code so those needing a more elaborate tool can use it as a starting ...
|
| Access Denied opening device with CreateFile? | 13 Dec 2006 00:17 GMT | 1 |
I have been wading through using SetupDi... API to get a device path to use in CreateFile so that I could open a USB HID device. I can now get a device path, but when I try to open for GENERIC_READ|GENERIC_WRITE, I get an error that only tells me "Access
|
| wrapping C++ API with virtual functions | 12 Dec 2006 20:51 GMT | 6 |
I have an unmanaged C++ API that uses virtual functions, like this: class A { public:
|
| How do I call WTSOpenServer in VC++? | 12 Dec 2006 19:35 GMT | 3 |
This is my first attempt at using the Terminal Services API, and I'm stumped. I can't get WTSOpenServer to work for the life of me (this is in VS2005, by the way). Specifically, the argument has me baffled. It's my understanding that it wants a LPWSTR (at least on this machine,
|
| Writing raw data to a USB printer | 12 Dec 2006 07:51 GMT | 1 |
What I am trying to do is write raw data to a USB to parallel adapter to control an external device (as I dont have a parallel port) using VC++.net or C# The adapter is not a true parallel port and is hence treated as a USB
|
| C Runtime Error R6034 | 12 Dec 2006 00:05 GMT | 3 |
We are writing a MSI installer using a setup project in Visual Studio 2005. All dll's are built with VC 8 so each dll uses a Manifest embedded in a resource. The installer does the following. 1) install VC8 runtime on the target machine,
|
| using SetupDiGetDeviceInterfaceDetail | 11 Dec 2006 21:50 GMT | 2 |
This is my first attempt at posting to the newsgroup. My apologies if I have directed this question to the wrong bunch. I am trying to use SetupDiGetDeviceInterfaceDetail function in order to get a handle to a USB HID device so that I can open it using CreateFile.
|
| Implementation changes for function pointers | 11 Dec 2006 21:20 GMT | 2 |
It seems something's going on with regard to the way Visual Studio 2005 implements function pointers. Once upon a time, it was possible to have unmanaged code as follows: __declspec(naked) void HookJump(...)
|
| Newbie: Add 2 strings together | 11 Dec 2006 01:23 GMT | 9 |
I am trying to have a label show the X and Y positions of the mouse, but I am getting bogged down with string handling void MyForm::OnMouseMove(MouseEventArgs *e){ // Display the x position
|