-
- What happened with IntelliSense in Visual C++ 2005 SP1 ?
by Catalin Stavaru
- 10 Replies
- Last post
by Legyndir
- Hi,
I am having a big problem using Visual C++ 2005 SP1. IntelliSense works awful, I barely get some IntelliSense now and then. Before, when using Visual C++ 2003 and 2005 without SP1, it worked beautifully. If I added a member to a class, it was immediately intellisense-visible in the class functions. In SP1, I add a member and it is not visible for a very long time.
Also, the current v
-
- missing dll
by mjmillertime72
- 0 Replies
- Last post
by mjmillertime72
- thank you for the info about the search for the Training file for the missing .dll it worked
-
- How to set Hotkeys
by Sach@VC_Beginner
- 3 Replies
- Last post
by einaros
- I am totally new to Visual C++. I want to know how to set system hotkeys to my application I have searched for this, I found some source codes also, but I could not understand them! Please can anybody give me a simple example how to do it Thanx in advance.
-
- Get name of MFC controls
by Anonymous4683
- 9 Replies
- Last post
by Korendir
- Hi all
Is there a way to get the name of a MFC control, just like C# control property Name
It seems like the MFC controls do not have such a property listed and that the closest would be ID. However, I would prefer the ID in the "text" form (e.g. ID_OK instead of 1001). Is there a possiblity of doing so
Thanks in advance...
-
- mfcs80u.lib(dllmodul.obj) : error LNK2005: _DllMain@12
by bharath-k
- 10 Replies
- Last post
by yan11
- Hi everybody,
I getting two errors in my project.
a) "mfcs80u.lib(dllmodul.obj) : error LNK2005: _DllMain@12 " already defined in CMyproj.obj
b) fatal error LNK1169: one or more multiply defined symbols found
I am unable to resolve the error. Please help me in resolving this error.
TIA,
Regarads,
K. Bharath.
-
- Error PROJ003 -- Error Spawning cmd.exe
by slender_bamboo
- 6 Replies
- Last post
by slender_bamboo
- I'm using Visual Studio 2005 C++ compiler/linker. My build had been working, but builds of both debug and release versions of my project now exit with an error when trying to embed the manifest into the output file. When I change my Project settings to not embed the Manifest information, then it goes through OK, but I want the Manifest embedded. How can I fix this And what may have caused this I
-
- dll and exe application
by cruiseoveride
- 1 Replies
- Last post
by cruiseoveride
- i have project A, which produces A.dll and contains only 1 cpp file
Code Snippet
#include <stdio.h> void depster(void){ printf("Hello World\n"); return; } i also have project B, which produces B.exe, and contains only 1 cpp file.
Code Snippet
void depster(); int main(void){ depster(); return 0; } Even though I have added A to B's dependency list,
-
- Random generator, need a normal distribution
by _Chrissy_
- 3 Replies
- Last post
by einaros
- Hi, I need to generate random numbers within a certain range. I do this with a basic random function, which is seeded by a QueryPerformanceCounter. But the distribution I get is uniform and to get closer to reality as I am simulating network flows, I need to generate a normal (gaussian) distribution. Do you have any idea of how I can do this Thank you for your help. Chris
-
- using dll built in vc++ 2005 in a vc++ 6.0 application
by Mickey13
- 11 Replies
- Last post
by Jonathan Caves - MSFT
- Hi all, I'm trying to use a DLL I built in Visual C++ 2005 (Express Edition) in a pre-existing application built in Visual C++ 6.0. I want to use STL classes (such as the standard string) in my parameter list, but according to help I received earlier, this causes two differing runtimes (hence two differing memory managers) to be used. This results in an access violation when the function (in DLL A
-
- Is there a Guide available for VC++ 05 Express, like a compiler manual in PDF format?
by R. Roseman
- 2 Replies
- Last post
by Simple Samples
- I have searched through the database here for a manual of sorts, or some kind of guide on how to use the compiler thouroughly, I have programmed alittle with VC++ 2.0 back in the day when i was in high school, and havent done much since. However, I got the developer fever again, and decided to torture myself and start learning C++ all over again. I have found that we now can download from microsof
-
- DELAYLOAD in C++/CLI
by Alex Farber
- 4 Replies
- Last post
by Alex Farber
- I have C++/CLI library which is linked to unmanaged library FGCamera.lib. I want to use FGCamera.lib as delay-loaded Dll. In the Linker Properties, Input, I have FGCamera.lib in the Additional Dependencies. Now I add FGCamera.dll to Delay Loaded Dlls. Result of linking: LINK : warning LNK4199: /DELAYLOAD:FGCamera.dll ignored; no imports found from FGCamera.dll C++/CLI Dll is called from C# exe cli
-
- VC++ security problem using WMI
by Indian Ocean
- 3 Replies
- Last post
by Bruno van Dooren
- Hi, I found some code from codeproject site using WMI in VC++. I have created a method having the following code in it. It works fine when I am running into "Admin" accound in Windows XP Pro while in "Restricted user account", its not able to run. It's giving error messsage "Could not enumerate" so it seems "pEnumObject" seems null or empty. Please help, Tha
-
- LNK 2001 for default parameter
by unforgiven
- 2 Replies
- Last post
by nikinil
- //node.h #include <string> template <class DT, class KT> class BST; template <class DT, class KT> class BST_node { public: BST_node() { left = right = 0; } BST_node(DT d, KT k, BST_node<DT,KT> *l = 0, BST_node<DT,KT> *r = 0) { data = d; key = k; leftptr = l; rightptr = r; } DT data; KT key; BST_node<DT,KT> *leftptr, *rig
-
- Calling a function from a DLL - couterintuitive
by iterationx
- 14 Replies
- Last post
by Nishant Sivakumar
- Hi This is a bit tricky, so I thought I'd ask before I get too deep. I'm building a DLL in C++ that will be called by a VB program. The DLL is an unmanaged to managed wrapper. I call unmanaged functions in VB with the DLL - no problem. The problem is the unmanaged C++ receives data from a socket that needs to get to the VB program. So I need to do two things 1) Have the unmanaged C++ call a manag
-
- Memory leaks when starting program
by MustangCobra
- 5 Replies
- Last post
by Simple Samples
- Hi All
I thought this was a debugger issue in Vista but it now appears to be a specific program issue so have re-posted the original question.
Sometimes when I run our program in debug, the splash screen loads and when the mainframe is about to appear for our program, it unloads itself.
In the output window the following is noted:
Warning: failed to load menu for CFrameWnd.
-
- setup project
by Aljkljl
- 2 Replies
- Last post
by Simple Samples
- Windows forms, c++. With this i make the basic.
On the File menu, point to Add , then click New Project .
In the resulting Add New Project dialog box, in the Project Types pane, open the Other Project Types node and select Setup and Deployment Projects .
In the Templates pane, choose the type of deployment project you want to create. For more information, see Setup and Dep
-
- Visual studio templates
by akash2004u
- 1 Replies
- Last post
by Marius Bancila
- i wanted to know how can i add new templates from web to my current installation of visual studio 2005
i m using visual studio c++ 2005 express edition
i tried clicking on the online templates but all in vain
-
- wininet crash/hang - why?
by brad_edelman
- 2 Replies
- Last post
by Damien Watkins - MSFT
- #include <shlobj.h> #include <wininet.h>
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { char dir[MAX_PATH]={0}; SHGetFolderPath(NULL,CSIDL_COMMON_APPDATA|CSIDL_FLAG_CREATE,0, 0, dir); HINTERNET internet = InternetOpen( "testagent" , INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0); HINTERNET mStream = I
-
- CString
by m1n
- 5 Replies
- Last post
by Simple Samples
- Hi, i have one CString variable, and i have one file, about 600 characters, i try to put all the data file in the Cstring, my algorithm is :
Code Snippet
CString strTemp; while( ar.ReadString(strTemp) ) m_strFileBuffer += strTemp + _T(" "); ar is CArchive. Proble is that: when algorithm go few times throught 'ReadString' data readed in 'strTemp' are not aded to 'm_strF
-
- error in lib: unresolved external symbol
by Janulka
- 2 Replies
- Last post
by FrankVaughn
- Hi! I had a problem: cannot open LIBC.lib, so I ignored it in Project properties, but it doesn't work anyway. Now it prints : 1>jpeg.lib(JERROR.obj) : error LNK2019: unresolved external symbol __iob referenced in function "void __cdecl output_message(struct jpeg_common_struct *)" ( output_message@@YAXPAUjpeg_common_struct@@@Z) What can I do It seems the error is in the library which I
-
- How to detect accesses to unallocated memory?
by jdh989
- 3 Replies
- Last post
by aao123
- I am looking for a free library to help find memory related bugs, such as memory leaks and accesses to unallocated memory. my code uses new/delete, and I don't want to change it so ideally I'd like something that could print errors (most of the time) when I do something like this. int* intptr = new int[2]; intptr[100]=5; intptr[2]=5; I've tried FORTIFY but it didn't work on that example above Can
-
- About variable in MFC
by YaelS
- 11 Replies
- Last post
by Marius Bancila
- Hi, I have a general question about what is the difference between:
1) long -- LONG
2) CString -- LPCSTR
And, if I have a method that get long to (calculate date numbers):
I send: It's OK
Code Snippet remainderDelay(5,0,0);
to:
Code Snippet
void CListViewDlg::remainderDelay( long m, long h, long d)
or I neet to casting...it
-
- Unable to build even "Hello World!" in VS 2005.
by snakekiller
- 10 Replies
- Last post
by snakekiller
- Greetings! I have VS 2005 with only VisualC++ and Crystal Reports installed and I'm getting the same message every time I try to build something: SXS: Unable to resolve storage root for assembly directory x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f in 2 tries SXS: RtlGetAssemblyStorageRoot() unable to resolve storage map entry. Status = 0xc0150004 No "Merge Enviro
-
- Check state of Check Box
by Careth Jefferson
- 1 Replies
- Last post
by Bite Qiu - MSFT
- How do I check the state of a check box using Send Message. The following line of code in C# is not returning the state
int a = Win32. User .SendMessage(checkBox1.Handle, Win32. User .BM_GETCHECK, 0, new IntPtr (0) ) ;
-
- Watcher Code to Close an Application
by RaviKanthReddy
- 6 Replies
- Last post
by Simple Samples
- Hi,
I have my application sometimes hanging around even after i have come out of it.
I still see it in the task manager.
I need a watcher code which i can write in the ExitInstance which would check whether the app is still running and if its still running then close it and close itself Or if there any better solution for this.
Regards,
Ravi