-
- VS: Uninstall express/install pro probs
by LukeyPoo
- 2 Replies
- Last post
by LukeyPoo
- hey, I'm a student, i've been using the express versions of c++ and c# for sometime now, i've just started uni and was happy to find out that i could get the visual studio professional as though msdn academic alliance. However, i can't seem to install it, i think it's because i have the express versions, but when i uninstall them, the pro version still won't install, and the errors it gives aren't
-
- Any memory leak tool is there to find Unmanaged Heap Memory
by valli_check
- 1 Replies
- Last post
by einaros
- I have multi-threaded application(it is a service) and it is using two more dlls. There is a memory leak which can be seen in task manager. When I observed in Performance Monitor, only Private Bytes is increasing gradually. With other two performance objects, .Net CLR Memory/# bytes in All heaps and the .Net CLR LocksAndThreads/# of the current logical thread are not getting increased. They are st
-
- Visual C++ engine is not properly installed
by idos
- 3 Replies
- Last post
by Damien Watkins - MSFT
- Hi, Can someone help me please, I was working with my Visual Studio 2005. And the next day, It cannot build any project, I am using C++, when press the build menu, I got this error: 1>------ Build started: Project: Gui3, Configuration: Debug Win32 ------ 1>Error: the Visual C++ Project Engine is not properly installed. The build cannot continue. Please repair the Visual Studio installation.
-
- Help on dynamic control and wiring click event for buttons
by abcdefgqwerty2
- 11 Replies
- Last post
by abcdefgqwerty2
- Im a pretty big new person to mfc and i do this in my program: [code] RECT rec; playback->GetClientRect(&rec); CWnd *w=CWnd::FromHandle(playback->GetSafeHwnd()); CBitmapButton *upbtn = new CBitmapButton(); upbtn->Create(NULL,WS_CHILD|WS_VISIBLE|BS_OWNERDRAW,CRect(rec.right-200,rec.top+30,rec.right-200+40,rec.top+70),w,BUTTONUP); upbtn->LoadBitmaps(IDB_BUTTONUP,IDB_BUTT
-
- DLL questions with Visual Studio using C++
by Jason Wilborn
- 14 Replies
- Last post
by Jason Wilborn
- I'm new to Visual Studio (I have VS 2005 Standard Edition) and I'm trying to learn how to code a DLL with some standard functions I use instead of including a cpp file into every project that needs it. Using the help I got a DLL to work with a Win32 project using __declspec ( dllexport ) and __declspec ( dllimport ). When I try a Windows Form Application I get lots of errors with the linker becaus
-
- WinSock2 + SSL
by Jimbooooooooo
- 6 Replies
- Last post
by Jimbooooooooo
- Hi, Want to use SSL with my Win32 application and preferably via winsock. Is this possible If so, is there any documentation Thanks, jim.
-
- how to run a function for 60 seconds
by ~Dracula&
- 4 Replies
- Last post
by Simple Samples
- i need to run this function for 60 seconds.
-------------------------
void bombmenu( int diff, int x, int y, int size)
{
int bombchoice;
bool bomoptionexit = false ;
DWORD start = GetTickCount();
loop:
if (bombmenu_words(wirecutter) == 1)
{
while (bomoptionexit == false )
{
cout<< "Enter your choice" << ":&qu
-
- File Upload/Download using HTTP
by Amjath
- 2 Replies
- Last post
by Damien Watkins - MSFT
- Hi All, I want to upload and download file using HTTP. plz help me how to do this one. in my code when i trying to connect with a device in wired network it will work without any problem. at the same time when i try to connect with a device in a wireless network it wont work i dont know whats the problem(with error no 12152). any one plz help me out. 1 more thing, when i upload to a wired device i
-
- Project with Multiple Targets
by Thomas Covenant
- 7 Replies
- Last post
by Sara Sings
- VS newbie here. I downloaded GALib, a C++ implementation of a genetic algorithm framework, and compiled it both as a static and a dynamic library. Now I want to test my libraries with example programs supplied by GALib. GALib comes with demo programs whose source code resides in the same directory. Since it's developed on Unix, the libraries are made via Makefile, which has no trouble with creatin
-
- Edit control won't get focus
by 4B7
- 10 Replies
- Last post
by Garrett Vargas
- I have a dialog box with 3 edit controls pop up from a win32 application and am unable to get the controls to receive any input from the keyboard what are the possible causes of this
-
- Libraries linkage errors make me CRAYZEEE
by spree
- 7 Replies
- Last post
by einaros
- Hey all, I"m frustrated from working with Visual C++ and libraries :/
I am developing my MFC based project, for which I wanted to add a log system to track my bugs and error msg and etc.,
I have created a static library project and created my Log class:
-
- Bug in VC8 SP1's security cookie system
by Myria
- 0 Replies
- Last post
by Myria
- VC8's security cookie system (/GS) is designed to not fail in the event of __security_init_cookie being called. However, there is a 1 in 4294967295 chance that it will fail if called twice on an x86-32 program.
This code from gs_support.c tries to prevent a second __security_init_cookie call from changing the cookie. On x86-32, it needs to remake the cookie if the module loader in XP put zero i
-
- hangman project
by m1sterb0b
- 10 Replies
- Last post
by Simple Samples
- Hello, I'm somewhat new to C++. I am taking a class on it in college, but the teacher doesnt like to explain things very well. Basically her idea of helping us learn C++ is this: "this is how you start all your programs in this class: #include <iostream> using namespace std; int main() { } " She never explainted even what "#include <iostream>" or "using namespa
-
- Info about Releasing COM1,2,3,4 ports explicitely using Windows API or C++ code. [HOW TO]?
by zenwalker
- 6 Replies
- Last post
by zenwalker
- Hello Guys, I am working on a C++ and C# integrated developed product. This product uses User32.dll and Kernel32.dll (of windows i belive) for accessing (Acquiring) and releasing COM ports in the system. For some reason (Which i am not sure how either) the COM2 or some times other COM ports wont responds and let me acquire it (Through Code) and access the devices connected under that port. So i h
-
- Problem running temporary macro.
by Am_ac1
- 10 Replies
- Last post
by Am_ac1
- Hi,
I recorded a simple macro using CTRL+SHIFT+R. But when I play it using CTRL+SHIFT+P, nothing is happening. This happens with any type of recording. For ex. in its simplest form...
1) Press CTRL+SHIFT+R
2) delete a single character
3) Press CTRL+SHIFT+R
4) Press CTRL+SHIFT+P.... nothing happens.
-
- possible bug in ATL (impersonation)
by CarlosPizano
- 2 Replies
- Last post
by CarlosPizano
- I got tired of trying to find a way to post a bug to the VC team. I saw before you could submit a bug but I cannot find it now. So here it is what I think is a bug:
I have a program that I am making using VC 2005 and ATL. The process starts out impersonating on the main thread. When I run the program in release all is good, but in debug mode it behaves weirdly. I have traced the issue to a
-
- Can't download Platform SDK
by DruidShade
- 1 Replies
- Last post
by Simple Samples
- Everytime i wanna download the platform SDK for Windows XP it doesnt work I've tried to dowload the ISO download, the full download and the web install, but none of them seems to work I use Firefox, but i also tried it with IE, which doesn't work either This is what happens: When i click download, it doesn't start downloading, so i click the link, then i get the message: In IE: "The page ca
-
- atlhost.h and NO_STRICT gives C2440
by Blair Sutton
- 7 Replies
- Last post
by Simple Samples
- Hi all, I am trying to port some code from VS2003 to VS2005 but I am having some problems (to be clear: the code compiles without error on VS2003). I have narrowed the problem down to this simple test case: - cl -c -MD -DNO_STRICT test.cpp where test.cpp only contains: - #include <atlbase.h> #include <atlhost.h> When I compile this I receive the following error: - C:\Program File
-
- Question about programming in C for windows...
by Critter Guy
- 1 Replies
- Last post
by Jessy D. Exum
- There is a C#, a C++, a visual basic...ugh.
Ok. So...those of you familiar with C, what's wrong with this:
LPCTSTR CurDir = "C:\Documents and Settings\test folder\*" ;
The * is there because I want the function FindFirstFile to find the first file in that folder.
Futhermore, is it possible for me to use the * to find any first file if...say...I was passed &
-
- Circle reference issue
by r&#38;&#35;228
- 8 Replies
- Last post
by n0n4m3
- Hi! As a complete newbie programmer, I've run into a, what I think is, a basic problem. I'm working on a small Windows Forms Application in VC++ Express. As you know, VC++ by default creates a class (initially called Form1) for the GUI. What I need is to use this type, Form1, as an argument in some of the methods in my own classes, which I define in a separate header. This is because I want to do
-
- creating C files
by raedbenz
- 13 Replies
- Last post
by JamesSexton
- hi..how can i create C files in VC++ 2005 express edition. .
thansk
-
- WMI Win32_ModuleLoadTrace
by Alex1st
- 2 Replies
- Last post
by Alex1st
- In Win32_ModuleLoadTrace FileName has full path If no how can I find it. What is better use PSAPI or WMI
-
- Setting up the debugger?
by Ricky Pusch
- 7 Replies
- Last post
by Simple Samples
- Hi everyone, I am developing a QT application (using QT 3.2.0 Educational). After some time, I managed to get the application running through VS instead of at the command line. However, I simply used a QT-provided tool to convert a QT project (built in QT designer with .moc files and such) to a VS project. As such, it set up a bunch of the options in such a way that the debugger does not work. I t
-
- Every time while relocate : Add Files to Project
by prayami
- 2 Replies
- Last post
by C.Nic
- Hi,
In our project there are many files I have to add from different directories. And that is working fine. But if I
relocate that project folder then path of all the added files is changed. And I have to delete those files and add
the same files again every time. Is there any way to give relative path to this files so if I change the location
then I need not add all the files again.
-
- CDialog
by YaelS
- 5 Replies
- Last post
by YaelS
- Hi,
I create MyCDialog with 3 buttons: ok(=IDCANCEL2), yes(=IDOK),no(=IDCANCEL),
(the default is IDOK & IDCANCEL).
I have bool value that if is true I set respectively :
GetDlgItem(IDCANCEL2)->ShowWindow(FALSE);
GetDlgItem(IDCANCEL)->ShowWindow(TRUE);
GetDlgItem(IDOK)->ShowWindow(TRUE);
How to set to my ok button the same as cancel button behavior (close the dialo