-
- VS .Net 2005, how to disable intellisense...
by ChandraP
- 14 Replies
- Last post
by Boris Jabes
- Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra
-
- gcroot and polymorphism
by Anjo Gasa
- 2 Replies
- Last post
by Anjo Gasa
- I am using gcroot in combination with a std::map to store a key and an associated (handle of a) managed object:
The objects however, are part of an inheritance heirachy:
ref class A; ref class B : public class A; ref class C : public class A;
The declaration of the map is as follows:
std::map< int, gcroot<A^> > collection;
I then populate the collection
-
- Need comments for which language to be used to connect unmanaged C++ code with C# code?
by daniel mark
- 2 Replies
- Last post
by Holger Grund
- Hello all:
I have been given DLL written in unmanaged C++ code and I have to connect these DLL with C# application.
I knew a little Managed C++ and CLI/C++.
I need some comments from experts here to tell me which way is best way for me to learn and go through.
Thank you for any comments.
Best wishes
-Daniel
-
- Set VC++ Directories in Options dialog (Visual C++ Express)
by Boris Jabes
- 14 Replies
- Last post
by BJT
- Details : The VC++ Directories page on the Options dialog does not have a list box for viewing and modifying the directories used during a build. Consequently, it is not possible to modify the build directories using the IDE UI. Workaround : C++ Directories can be added, removed or changed by modifying the VCProjectEngine.dll.express.config file located in the .\vc\vcpackages subdirectory o
-
- How to fix Incremental Link Error?
by yabansu
- 5 Replies
- Last post
by stinosky
- Hi all,
I implemented a basic client application. It communicates with server and works properly. Building processes succeed just by giving the following warning:
LINK : D:\DOC\Visual Studio 2005\Projects\Client01\Debug/Client01.exe not found or not built by the last incremental link; performing full link
This warning occurs when building/rebuilding the project after cleaning the inter
-
- C++ Web Reference Problem - Calls to proxy class fail with WSAECONNREFUSED
by AnonymousJeff
- 1 Replies
- Last post
by Bite Qiu - MSFT
- Hi
I believe I have found a bug in ZEvtSyncSocket. A proxy class generated by adding a web reference to the project fails with the following error:
10061 WSAECONNREFUSED The attempt to connect was forcefully rejected.
ZEvtSyncSocket is implemented in atlspriv.inl. The problem is caused by the call to address.FindAddr in line 115 returning an address in IP6 format that is subs
-
- CFileDialog
by giorgiosf
- 22 Replies
- Last post
by giorgiosf
- Environment: C++ VisualStudio 2005 under XP
Type of code: MFC with /crl
The Framework function File | Open works normally and opens the standard FileDialog with the new EXPLORE format.
I have another menu option: File | Load Module that is used to select and load an additional data file. I used CFileDialog for this purpose, but the first time I select this menu option the dialog does
-
- Need help
by Big Bill
- 3 Replies
- Last post
by Big Bill
- when i install the program on a differnent computer it says i need to reinstall it
-
- Stop Dll Injection
by brietje698
- 14 Replies
- Last post
by rtpninja
- Hello, I'm wondering how i could stop people from injectinf Dll's into my app, anyone could tell me
-
- dlls revisited...
by bob_monkhouse_book_of_gags
- 1 Replies
- Last post
by Holger Grund
- Hi all,
I'm massacring this question to death because I'm quite sure there's a way to work around it. I'm certain it has to be surmountable.
We have toto.dll that was built with VS 2003. Its a sad fact of life that this dll is in no way modifiable, recompilable... nothing-able We cannot change anything about it. We're on visual studio 2005 and we make calls into toto.dll. Now during
-
- Read VGA Palette
by nice_group
- 5 Replies
- Last post
by AZEH
- Hi
I am trying to read the VGA palette color table using the following code in c:
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
#include <ctype.h>
#include <stdio.h>
#include <dos.h>
#ifdef __cplusplus
extern "C" {
#endif
//#include <iostream>
-
- CreateThread() and private class functions.
by metz-
- 3 Replies
- Last post
by SvenC
- Is their a way to create a thread with the thread function being a private function within a class. If that makes sence, thanks.
-
- Strings in VC++
by programmer127
- 6 Replies
- Last post
by Simple Samples
- Can anyone help me understand strings in VC++ I just learned the basics of C++ from a book, teach yourself c++ in 21 days. I want to apply these concepts to creating a windows forms application in vc++, and i don't know where i should start. If anyone can point me in the right direction to learn the basics of vc++, as well as anything you think I should know, i would really appreciate it.
-
- class template conditional
by ronniew
- 2 Replies
- Last post
by ronniew
- I'm using VS 2005 Express Edition for C++, and I'm having problems specifying an object template. The following code example does NOT work, but I show it to illustrate what I am thinking. I want the isString() method to return true if Type is string, and false otherwise.
template < typename Type>
class Object {
private :
Type objval;
public :
Object: bject( const Typ
-
- vcproj: How to save debugging settings into portable vcproject?
by Stuart Reynolds
- 13 Replies
- Last post
by Simple Samples
- I want to be able to distribute vcproj files to customers with custom debug settings in the project configuration. It seems that whenever I set the fields in the project's Properties dialog, the changes are saved into some new non-portable ".user" file, and not in the ".vcproj". For example, if I do:
Open MyProject.vcproj
Go to: Project > Properties > Configurati
-
- scanf type specifier for double
by Oli
- 1 Replies
- Last post
by einaros
- If I have the following:
double x;
scanf("%somethinggoeshere",&x);
what should appear instead of somethinggoeshere
I have had to use:
double x;
scanf("%Lf",&x);
but I assume %Lf really matches long, not double And simply %f fails to work...
-
- My doubt with CFileDialog under xp64
by hupo1982
- 4 Replies
- Last post
by hupo1982
- I compiled a 64bit MFC project under Windows xp64 with SDK 2003 and VC6.0. I want to build a CFileDialog, but I found I can't build a new style Open File Dialog.
My simple source:
CFileDialog dlg(1, "", "", OFN_OVERWRITEPROMPT,"", NULL); dlg.m_ofn.lStructSize = 88; dlg.DoModal();
I found that if the code with "dlg.m_ofn.lStructSize = 88;" or
-
- IWebBrowser2
by MEder
- 3 Replies
- Last post
by SHibit
- Hi, I'm writing an application that prints bills from HTML files. Because I don't want that the header and footer from IE is added, I want to create an own print template. My big problem is that I have to get a IWebBrowser2 interface from the ActiveX. The WebBrowser::ActiveXInstance returns an Object^ but how can I convert it to an IWebBrowser2 The source code of the sample application in http://
-
- Heap corruption ...
by bookysmell2004
- 5 Replies
- Last post
by bookysmell2004
- Hi everyone. I am experiencing a common problem with a native c++ project. The project consists of a class and a main function file.
Code Snippet
//LString.h - class declaration
#pragma once class LString { private: char *Chars; void Copy(const char *); public: int Length(void); int IndexOf(char); int IndexOf(const char *); int IndexOf(LString); int LastIndexOf
-
- ?: or if-else (c++)
by Kanonball
- 4 Replies
- Last post
by Kanonball
- Anyone know if there is a difference between code generated using simple if-else statements and that using the : operator Does use of : avoid generating branching code, and thus lessening branch mispredictions in the code compared to the if-else version I was under the impression that : would generate a short branch but then I came across this article (section: Branch Avoidance) that suggests othe
-
- WinSock issue
by dellthinker
- 3 Replies
- Last post
by Andreas Masur
- Hi all. I have three problems trying to bind()/getsockbyname() and listen(). The problem code is as follows:
Code Block
SOCKET socketbuffer = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if(socketbuffer == SOCKET_ERROR){ cout << "SOCKET error: " << WSAGetLastError() << endl; } if(bind(socketbuffer, reinterpret_cast<SOCKADDR*>(&addr)
-
- Dialog Box in DLL not shown in vc++2005
by VIPUL GARG
- 2 Replies
- Last post
by pintu*
- hi
my is appliocation calling a method of dll(abc.dll) which is supposed to show a dialog box but not showing. when i go to module tab while debugging, there is a red icon on abc.dll and mouse tool tip shows "the module did not load at the default load address". i have ported my app from vc6.0 to vc++2005.
any help will be appreciated.
thanks!!
_VIPUL
-
- data to string
by Nikhil Ranjan Kumar
- 9 Replies
- Last post
by Nikhil Ranjan Kumar
- Hello All;
Can somebody help me to write one general function which will convert value to string.
Here main problem is that data type of value might be anything.
so in brief function will handle conversion of integer to string, same function should also handle long integer to string. It would be good if that function will handle char * also.
data_type number;
so funct
-
- Possible compiler error with a value class implementing a generic interface
by eldiener
- 6 Replies
- Last post
by eldiener
- If there is a function which takes an interface as a parameter, and I have a value class which implements that interface, I can pass in instance of that value class and the compiler accepts it without error, converting the value class to the interface reference. For instance: // Header File
Code Snippet
namespace TestII { interface class Y { void FunctionY(int value); }; value class YV
-
- STL set problem
by Rusputin
- 3 Replies
- Last post
by Sdi
- Could someone please help me with this problem I have found that the following code that used to build on VC++ 7.0 fails on VC++ 8.0:
//test1.h
//defines a simple class TNode and a function object, NodeCompare, for sorting of TNode*.
#define ATOL 0.0001
class TNode {
private : // User declarations
public : // User declarations
T Node();
~TNode();
TNode( c