Answer Questions
awaterman add class - cannot add mfc and atl items
Hello, the add-class wizard does not allow me to create atl or mfc entries, such as "ATL Simple Object" etc., i.e. the edit fields Name and Location are grayed out and Add does not work. This is even true in a new project, what could be wrong, any ideas thx Alex This is Visual Studio 2005, Version 8.0.50215.44 (beta2.050215-4400) and .net framework 2.0.50215; I have started with an C++ ATL project and used ...Show All
misha_sql Stopping my NT service failed after TimeOut
Hi, I've created a service in VC++ (unmanaged code) on Visual Studio 2005. Everything works fine. But I still have a problem to stop my service. During its termination, my service needs time to communicate with external components (about 5 minutes). When I stop my service from the "Control manager", my service enters in a STOP_PENDING state. I start a independant thread which refresh its status by calling regularly SetServiceStatus. Bu ...Show All
johannal Problem seeing my window
I just got Visual Studio 2005 and I tried to make a program using Win32. The program is just displaying a window. When I compile the code I get no errors at all, but nothing happens after that. My window doesn't pop up. I made sure that I had the functions: ShowWindow() and UpdateWindow, but apparently that wasn't the problem. Please help. nicksmaddog wrote: How do I do that I have never had to do ...Show All
TheQContinuum Dialog editor - Help ID issue
There appears to be a bug in VS 2005 Beta 2. When I edit a dialog, add a control and then assign a help ID to that control, I get the following error message when attempting to save the resource file (or compile the project): "Cannot save file. <path>\resources.rc" It is not possible to go any further than this. Removing the help ID solves the problem. Use http://lab.msdn.microsoft.com/productfeedback/Default.aspx to repo ...Show All
Arik Peltz C++ interface assembly not visible in other .NET projects
I created an interface assembly1 in VC++.net 2005 (debug configuration). By interface assembly I mean just 2 public interface classes within a namespace definition. The interfaces, methods and properties are marked public. Interfaces assembly1 references another interface assembly2 - with the same namespace wrapping its public interface definitons, methods and properties. Build them no problem. Now I add assembly1.dll as a reference in a VB.n ...Show All
kavithasiva Changed the COM signatures....using ildasm.....
Hi, I have a .exe COM which I used in .NET but some signatures got changed....so I opened it with ildasm and changed the signatures so that it should return something from the function....This is the error I'm getting now.... The runtime has encountered a fatal error. The address of the error was at 0x79e8aff6, on thread 0xb4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of us ...Show All
AceWeb very dissappointed with visual c++ 2005
I was astonished on how c++ gained so much added bulk... PLZ... VC++ 2005 is anything but iso C++ compatible... "99.9% iso c++ compatible"... it has like 30 extra keywords that shouldn't be there in the first place... Looks like I will have to go with either c# or start getting to be friends with an old pal called GCC. This is just a feature request. TOMDX wrote: I was astonished on how c++ g ...Show All
KyleHenly How to use vb dll in vc++?
dear all, I had a dll which is developed in VB. And it is registered with regsvr32. How can i use that dll in my vc++ application Please tell me the steps to be followed. The path of dll is c:\CBdll\protest.dll. How can i import and use that dll file in my vc++ mfc dialog based application Thanks in advance . I would encourage you to read on interoperation ( http://msdn2.microsoft.com/en-us/library/sd1 ...Show All
Aaron Marten Working with bytes and bits
I'm writing a program (to be more exactly it's a DLL) that comunicates with some machines through the serial port, so I need to read 17 bytes from the buffer, get the first byte and split it into 7 bits (the serial port configuration specifies that will be 7 the number of data bits). - How can I get this value from the BYTE array and split it into an array of bits - I'm getting the value from a position of the BYTE array a writing to a fil ...Show All
buzzsaw Can't figure out how to make a Win32 App. project in Visual C++ Express Eddition Beta
Hi. I just downloaded Visual C++ Express Eddition Beta last night and can't figure out how to make a Win32 Application Project (it doesn't appear to be in the Visual Studio Installed Templates). I have a few questions: 1. How do I make a Win32 Application Project 2. How do I add a File to a project 3. What folder should I save all my projects, files, etc. in 4. Are these questions in the right forum Thanks for the help. ...Show All
C. Wells Why do my posts keep being deleted?
Does anybody know why all my posts are being deleted I've posted three messages and they disappear without anyone notifying me. Okay, thank you for your reply. I did not realize they were off topic, and with nobody explaining why they were deleted, I just kept posting. I will direct my question towards the newsgroups. I don't know who deleted the posts, but I fo ...Show All
logogamer I decide to be a VC++ MVP in this new forum.
//come on, asked me questions. wrote in message news:3279ecee-5298-4062-afa3-6b97effe360d@discussions.microsoft.com > How to multiply two decimal number and get their result without using > any floating point variables VarDecMul perhaps -- With best wishes, Igor Tandetnik You can't just 'decide' to be a MVP. You must be n ...Show All
LoreHistory Name mangling problem in static library
This question was already asked (thank you, Alexiski) in another thread, but I decided to describe problem in detail. There is third-party static library project compiled in VC++.NET 2003 and exporting some classes. When I am trying to use it in my Windows Forms.NET application (also VC++.NET 2003) linker give me an error: LNK2001: unresolved external symbol "public: int __thiscall CRemoteModbus::openConnection(class ...Show All
debugging problems date
Vb.net had a variable call date so how to work at vc++ .If i provide a date i want to count the totaldayofthemonth.I had try used some software translation vb.net class to c# class fail.And i have problem trying to convert string to int and int to string The code // This is the main project file for VC++ application project // generated using an Application Wizard. #include "stdafx.h" #include "time.h" #include <sstream> // this ...Show All
Carlier Lauer compile failure past anything except extremely simple code
I recently downloaded and installed "Visual Studio C++ 8: Express Edition Beta 2", in order to learn C++ (I know Java). After installing, during which everything appeared to work as intended, I created a shortcut to the command prompt located in the start-menu\visual C++ studio\ directory. When I attempt to compile the following: ----------------------------------------------------------- #include "stdafx.h" ... --------------------------- ...Show All
