Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Browsing all 3046 articles
Browse latest View live

Are there any third-party plugin manager for Visual Studio Express 2010?

Just want to run circles, because VC++ Express doesn't support plugins. Any ideas that it can allow third party tool like for the QT. I've seen a post on the web that QT is actually installed on VC++...

View Article


This application requested the runtime to terminate it in an unusual way

Does anyone happen to know what kind of programming problem causes the above error dialog? I've always been curious about it. AFAIK it isn't cause by an unhandled exception (an unhandled exception...

View Article


Homework Assistance Needed

http://books.google.com/books?id=rec...lution&f=false Question number 7: Movie Ticket Solution I have coded with the following; however, the price field remains blank after I have coded the btnIf....

View Article

Printer driver... or what? :)

My boss asked me to write a program for Windows what is used for customizing printing. It should be listed as a printer in the Print screen/General tab. Is it really a driver what I need to do that?...

View Article

Overridden CWinApp::OnFileOpen() handler

Hello, I am working on an existing project and noticed some interesting phenomenon. I then created a small project and reproduced this behavior. When I created a new project, the system provided a...

View Article


Reading COM struct from IDispatch

Hi, First of all, I do not know where to post the question in subcategory. My question is that I have C++ function which has a IDispatch input as argument. I am trying to read the struct from...

View Article

looking for source crypter

Hello i saw some people sale crypter for file's (protect from AV's) anyone can give me source? means ready source, Thanks.

View Article

Need some training videos or web sites that teach how to do win32 gui.

I am using Visual C++ Express 2010. Need to build unmanaged code, win32 etc No MFC, QT whatever, I need to build everything from scratch? Thanks Jack

View Article


[RESOLVED] _environ

I'm working with some code that uses the environment array _environ. It contains a few sections which look like this:- Code:         char** the_environ = _environ;         for (size_t i = 0;...

View Article


Fatal errors C1047 and C1900

I've encountered a really bizarre problem this morning. I've been using VS2005 for many years without any problems. This morning I needed to rebuild a library called gdk-pixbuf which I've built many...

View Article

CRegKey Create() not working

Hi. I'm having issues with the following code. It's used to fix weird colors with certain games on Vista / 7. It seems to work for almost everyone. But, I found an exception today. Code: x = rk.Create(...

View Article

Array of CString size checking

Code:   //Class header   CString m_cstrArry[5]; Code:   //Class source void Ctry4Dlg::OnInitDialog() {   m_cstrArry[0] = _T("TEXT 0 |");   m_cstrArry[1] = _T("TEXT 1 |");   m_cstrArry[2] = _T("TEXT 2...

View Article

Need help on replacement of NtQuerySystemInformation on Win x64

Hi, I am struggling to find a replacement of NtQuerySystemInformation call for 64-bit Windows OS, like on Windows Server 2008 (64-bit). Can someone help me getting overall CPU utilization (average)...

View Article


Sorting parallel arrays in C++

Hello codeguru family, I am a student and my professor gave our a class a programming project where we declare two arrays, a sting array containing the names of the boroughs and an int array which...

View Article

Problem with arrays.

After compiling, I cannot understand why my getMost and getLeast functions are returning erroneous values. I've done everything I could think of to try and fix this but I'm completely lost at this...

View Article


Image may be NSFW.
Clik here to view.

Aspect ratio with 2 monitors

Hello, some users have problems with my app, if they use 2 monitors side-by-side horizontally. I use CScrolllview with the mapmode HIMETRIC with vc6. Is this a known problem? What can I do? Other apps...

View Article

Hook firefox window to get WM_CLOSE & WM_QUIT

I'd like to make a DLL, which I inject into firefox upon starting. This DLL would look for thoose two events (WM_CLOSE / WM_QUIT). If it's found, then it executes some code, BUT the main process...

View Article


Adding Splitter Windows Makes Mainframe Unable to Get Current Document

Hello, I created two split views like this: BOOL CMainFrame::OnCreateClient( LPCREATESTRUCT lpcs, CCreateContext* pContext ) { CFrameWnd::OnCreateClient(lpcs, pContext); if (!m_wndSplitter.CreateStatic...

View Article

Best code for alert algorithm

I'm not even sure if I'm in the right section -- I know Jython but I'm a complete newb compared to most of you guys but I had a general question that I'm sure you guys can answer. I was wondering what...

View Article

Writing UTF 8

Hi fellows I'm using the Visual C++ Express 2008 and i need to pass as parameters to a function characters coded in UTF 8. My enviroment is Windows 7. The editor of the VC++ write in UTF 8 or UTF 16?...

View Article
Browsing all 3046 articles
Browse latest View live