Answer Questions
Rajesh Maskara Shortcut to switch between tabs in Visual Studio 2003
Hi, is there any You mean between open dcouments Use Ctrl+Tab. Switchingbetween other windows with Tabs use Ctrl+PgUp/PgDn ...Show All
oguevarra this one works
vc++ using htnol ulNetVal = htonl (lNow); 9191701 -> 356617216 ---------------------------------------------------------------------------- vb.net htnol Public Declare Function htonl Lib "wsock32.dll" ( ByVal hostlong As Long ) As Long Public Declare Function htons Lib "wsock32.dll" ( ByVal hostshort As Integer ) As Integer ulNetVal = htonl (lNow); 9191703 -> 1539320180602 ...Show All
Deep Thought Problems using DLL with WinForms in WinForms App
I've setup an DLL project, I've added several WinForm forms to the project via Add New item Windows Form. I've added the controls and code to those forms that I need, want. I've exported some functions from the DLL that then do code, create the Winforms, call their ShowDialog method and do other code depending on the result. I've gotten the DLL project to compile without error. Now I'm trying to use the DLL in a WinForm ...Show All
The Markus C++ Express... ERROR C2664
These are the errors i am getting when i build... error C2664: 'CreateWindowExW' : cannot convert parameter 2 from 'const char [5]' to 'LPCWSTR' error C2664: 'UnregisterClassW' : cannot convert parameter 1 from 'const char [5]' to 'LPCWSTR' error C2440: '=' : cannot convert from 'const char [5]' to 'LPCWSTR' Heres the code: #include "WinMain.h" int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, ...Show All
Gregg Payne Using classes from dynamically linked DLL
I am attempting to use classes that are defined in my custom written DLLs. I am dynamically loading the DLLs using LoadLibrary. I already know how to access functions using GetProcAddress. Is it possible to do something similar for classes ACK! This is the most simple design, that hides every complexity inside the plugin and the way how the interface cooperates is simple enough too! Thats the way COM wo ...Show All
Claus P How to add an event handler for a toolbar button
I'm using VC++ 2005 and in my application I have a toolbar with some button inside. The button IDs are not replicated inside a menu. The problem is that I cannot find how to a add a message handler for my buttons (of course I can write the code manually). I see that right-clicking on a menu item I can choose Add event handler but there isn't the same commad when I right-click on a toolbar button. Also, on the message section of the property wind ...Show All
mikE____ Visual Studio 2005 (MFC Project)
Hello, i'm working on a MFC Project by Visual Studio 2005, all ok, but i can't find the Messages Window (when i am on Resource Editor and i select the Application Dialog) to handle event messages (click, pretranslate, mouseon, etc...). There is bug or how i can view the Messages List If i click on Messages Icon the list is empty. Thanx Lewix Ive got the same problem ...Show All
jmartin505 no compile tool is associated with the file extension
I have been using C++ for a long time, but have just recently been forced onto a new compiler. I've installed MSDN and Visual C++. Now I can't get anything to compile. So I'm back to the basics with a simple Hello World program. I still get: Cannot compile the file 'c:\c++\HelloWorld\HelloWorld.cpp'; no compile tool is associated with the file extension. Where should I be looking for the compiler settings and what should they look l ...Show All
Konstantin T Problem to delete unmanaged object
Hello, I would like to know why I'm unable to delete an unmanaged object : Here is the code : public ref class SpeGui : public System::Windows::Forms::Form { private : String^ m_sCompassPort; int m_nCompassBaudRate; int m_nCompassDataBits; int m_nCompassStopBits; int m_nCompassParity; int m_nCompassRefreshPeriod; int m_nCompassAccuracy; PI_DigitalCompass * m_pThCompass; MyCom ...Show All
xied75 why are the NCB files so large in VC++ 2005?
Hello, I am really puzzled about the NCB store in Visual Studio 2005. I understand that some improvements have been made to the IntelliSense, but the size of NCB files in really huge. I have noticed that on average a NCB file is 10 times largers than the file for the same project under VS 6 and 7.x. For instance, an NCB file of 50KB under VS 2003 now has 500-600 KB, a 200 KB NCB under VS 2003 now has about 2 MB. And NCB files that used ...Show All
RickSmithers Use methods as Callback
Hi all, I’m asking for help. I’m developing a user interface for a cross platform simulation that is using glut. I would like to create a C++ wrapper for the initialization of glut. I’ve created the following objects: Class CApp { public: CApp(); virtual void __cdecl displayFn(void); virtual void __cdecl keyFn(unsigned char, int, int); ... private: virtual void __init(); ... } ...Show All
Rob G C++ Build Failure
I get stuck on the easiest of codes, the "Hello World!" code. What I do, is start a Visual C++ Win32 Console Application, Empty Project... And Application Type Console Application. Then, I add a file to the Source Files called HelloWorld.cpp. This is my code I type: #include <iostream> main() { std::cout << "Hello World!" << std::endl; } Then I try to build, compile, anything, but I keep getting this err ...Show All
dbloke XML Documentation Comments
In new development I've selected to use .NET 2005 and of its features the one leveraged most in moving old code is the XML Commenting from which I hope to product documentation. I've found a problem on the C++/CLI side that I hope someone can help with -- whenever I have a method with a parameter such as array<char> ^ the documenting for that method does not display in Object Browser. As an example of this problem add the ...Show All
Terrence Nevins im a beginner/ need help
How do I delete projects and files i have done and messed up on in visual studio c++ They are located in your my documents directory under visual studio 2005\projects. All you have to do is delete the corresponding directory and it will remove the project. If you click on them the IDE will say that the project cannot be found, do you want to remove them. That will remove them from the list. I haven't foun ...Show All
Kangaloosh symbols (*, #, %, @, etc)
If you will, list or explain the nature, language rules, and-or syntax of symbols used in C++ code. forum389, can I suggest that you get a book or try Google first Here is a good start for you. Here is a very short description of what these characters mean: * - reserved: can be used to: declare a pointer type: T* dereference a pointer: ...Show All
