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

How to aviod Media Foundation dependencies for Win 2008 R2?

Greetings gentlemen. I'm creating native Win32 DLL using Visual C++ 2013. Things works fine in my development environment based on Windows 7 x64, so next stage was to try the DLL in testing...

View Article


DWM, Win7, How about MDI ?

DWM, Win7, How about DwmDefFrameProc ? it has been so much time since this DWM came along and nobody asked about (dead ?) MDI ...I can't make it work right for a MDI application, drawing artifacts, no...

View Article


error LNK2026: module unsafe for SAFESEH image._

HiI am migrating my application from vc++6.0 to vc++2013I have copied sql10forcompile in my machine from older machine were vc++6.0 was there, Sql10Compile is using to build the embedded cp code to cpp...

View Article

How to set the font of CmfcButton control

Hello,I used following code to change the font of CMFCButton with "text +icon"    // in a LOGFONT structure.    LOGFONT lf;    // clear out structure    memset(&lf, 0, sizeof(LOGFONT));     //...

View Article

Anyone remember MFC?

I know, this isn't the MFC forum. But, what is anymore? It's not like I touch this stuff all that often...It's a legacy MFC application built under VS2005. It's been running fine for years under Server...

View Article


Restricting the Typeface names listed in CFontDialog to a specific *_CHARSET

I need to be able to restrict the listed TypeFace names in a CFontDialog to only those names supported by specific Unicode Ranges. The lfCharSet attribute of the LOGFONT structure does not seem to do...

View Article

Developing vs2005 c++ application compatible with Embedded POS ready 2009 SP3

Hi,Currently I'm using VS2005 on windows 7 64bit machine.I've developed a c++ application(time.exe) in the VS2005 with platform as 32bit.When I transfer this exe to other machine which is "Windows...

View Article

error C2146: syntax error : missing ';' before identifier 'sql'

HiI am migrating my application from vc++6.0 to vc++2013 . I am sending the part of the code and the error line.=======================CODE======================#include <fstream> using...

View Article


error C2666: 'std::fpos::operator +' : 2 overloads have similar conversions

HiI migrated my application from vc++6.0 to vc++2013, i am getting the following error in one of the cpp files.I am displaying the part of code and highlighting the error...

View Article


Image may be NSFW.
Clik here to view.

How to change the access right of the following registry key?

I code a x64 program to try to change the value of the following registry key:if( RegOpenKeyEx( HKEY_LOCAL_MACHINE,        TEXT("SOFTWARE\\Microsoft\\DirectShow\\Preferred"),        0,...

View Article

The expression "unsigned int ui1 = {-1};", why does it characterize a...

According to the Example in §8.5.4/7 in the Standard, the expression below is a narrowing conversion.unsigned int ui1 = {-1};I'm disputing this assertion given the following quotes from the...

View Article

Native registration-free EXE COM server

Our typical situation is the following.An EXE server depends on a number of DLL servers and exports a number of its own interfaces. One of those interfaces, say IRemote, is special in a sense, that it...

View Article

How to build a .debug / release version of lib using NMAKE

Hi ALlCould you please suggest what flags to be added to make .lib of Debug or Release version.Here is extract of make file AR=lib.exe CFLAGS=$(cdebug) -W4 -QIfist  LDFLAGS=-LD Ws2_32.lib EOPT=-Fe...

View Article


error C4772: #import referenced a type from a missing type library;...

Hi I am migrating my application from vc++6.0 to vc++2013.my application  was in xp machine(32 bit) and we were using vc++6.0 and now it is in win 7 (64 bit) machine.I have installed vc++2013 in my win...

View Article

error c2440: 'return' : cannot convert from '_missing_type_*'to'_missing_type_'

Hello,I did the migration of my application from vc++ 6.0 to vc++ 2013 version,after migration i got some errors in my code.error c2440: 'return' : cannot convert from...

View Article


Basics tutorials for vc++ 2013

Hi all,Iam migrating my application from vc++ 0.6 to vc++ 2013, i need to understand the basics of vc++ 2013 like how to run it and build ,rebuild etc. I don't want any c++ course tutorials but need to...

View Article

How to insert textBox1->Text from Form2 to textBox1->Text Form1

Can anybody help me with this????I have two Forms in my application Form1 and Form2 my question is this:How i can insert the text of textBox1(textBox->Text) of Form 2 to the text of textBox1 of...

View Article


error LNK1120: 1 unresolved externals_

HiI am migrating my application from vc++6.0 to vc++2013I am facing this following errorThis error is pointing to parsed.dll file, and when i checked for its availability it was not found there.Can you...

View Article

vc++ 2013

HiI am migrating my application from vc++6.0 to vc++2013.my application  was before in xp machine(32 bit) and we were using vc++6.0 and now it is in win 7 (64 bit) machine.I have installed vc++2013 in...

View Article

I can not hide win32 console window of native c++ app

Hi all,I am running a launcher console app, which is developed with native C++ , to launch a Windows Store App. This launcher successfully launches my store app.When I call my launcher (called from...

View Article
Browsing all 15302 articles
Browse latest View live


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