Quantcast
Channel: Visual C forum
Browsing all 15302 articles
Browse latest View live

Porting to x64: MFC x86 DLL implementing OLE Automation for MS Word, Access,...

Porting to x64: MFC x86 DLL implementing OLE Automation for MS Word, Access, DAO I have an app written several years ago that I am porting to x64. It consists of a VB.Net GUI using .Net 1.1 and several...

View Article


WM_NCDESTROY message not received during destroywindow call

Hi,    I am using vlc browser plugin. The streaming is done using rtsp. After running a sequence of play-stop(10secs between play & stop) for more than 30 mins the stop freezes in destroywindow()...

View Article


QuickTime ActiveX heap corruption

Hello everybody,I need to write a piece of code that opens a QuickTime VR image into an MFC Dialog.I drew a Dialog and put an "Apple QuickTime Control 2.0" into it. Then I created a Control variable in...

View Article

Replace the text in CListCtrl

Hi...In my code initially i set the text of status as "Evaluating"m_List.SetItemText(nitem,9,"Evaluating");Now when i click the evaluate method i want to change this text based on the calculation i...

View Article

Image may be NSFW.
Clik here to view.

Error LNK1120, LNK2001 and LNK2019 - Unresolved External Symbol.

Hi All,I'm migrating a Win32 application from VC++5.0 to VS2012. I get the following Linker error on building one of 25 projects. Am I missing anything in the property sheet?. I have read a similar...

View Article


reading a text file that has rows and columns and populate an array

Hi i would like to fill 3 arrays from a text file which look like this. Header1     header2    header31                1                12                2                23                3...

View Article

[C++] - converting 1 line to a macro

i wanted convert these comment to a macro://__declspec(property(get = GetFunctionName, put = SetFunctionName)) int PropertyName; #define Property(x,y) (j) __declspec(property((get = x),(put = y)))...

View Article

CloseWindow or DestroyWindow don't work

I'm using FindWindow to get a handle to the window I want to close.I do check to see if the HWND is null,and it's not.Why can't I close the window?

View Article


[Windows Forms] How to print a textBox content ?

Hi guys.I've been looking for a solution on the web and I have nothing. I have a simple C++ Windows Forms application (using VS 2010). One part on it is a multiline textBox - "textBox1". My last task...

View Article


Visual Studio 2012 MFC C++ Win32 Compiled Application wouldn't run on Windows...

Converted a large Visual Studio 2005 MFC C++ Win32 Application to Visual Studio 2012. The compiled Win32 Application worked fine in Windows 7 and Windows 8 but not Windows XP. Found these 2 links which...

View Article

MASM settings

I apologize if I have posted to the wrong forum, but it was the closest match I could find. I would like to build and run an assembly language program using a 64-bit Windows 7 operating system and a...

View Article

Converting unmanaged string into managed one

Hi,How can I convert unmanaged string into a managed one? I want to do something like this:char s[] = "Application Title";// some codethis.Text = s;I got that char[] could be converted into String^.

View Article

How do I send a WM_GETDLGCODE message?

So,I have  a gdi drawn list,and when i press the up and down arrows,these messages are sent to it:WM_GETDLGCODEWM_GETDLGCODE fuDlgCode:DLGC_WANTARROWSI already checked the msdn page for the message:...

View Article


I need to force VC++ 2010 to put out single byte ASCII data - How do I do That?

I need to force VC++ 2010 to put out single byte ASCII data - How do I do That?

View Article

picture in c

how can we place a image in c language in output

View Article


Roxio Media Creator 7 Basic DVD Edition

When I try to open my Roxio i get a message " The certificate file is missing or has been corrupted, please reinstall".I have attempted this, but it will not work.Is this program just too old, and...

View Article

operator =

more than one operator = matches the operands, how do I specify which one I want to use

View Article


Generate Hexadecimal digest for an SHA512 hash.

Hello and thank you for having a look at my question. Today I have begun playing around with System::Security::Cryptography and have been trying to generate a hexadecimal digest for an SHA512 hash, but...

View Article

[C++ - audio] - how send something to speaker?

we learn very with screen, keyboard and printer. but whe is about audio?how we can read something in wav file and send it to speaker?(i know use mcisendstring(),  but i mean like read the wave file(for...

View Article

Image may be NSFW.
Clik here to view.

Different dialog box position and size with Visual C++ 2012

While porting our Win32 API application from Visual C++ 2008/2010 to Visual C++ 2012 we found strange difference in dialog box behavior on Windows 7 with Aero. Dialog boxes in applications compiled...

View Article
Browsing all 15302 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>