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

Huge insertions and calculations on vectors

Hi,My program enters the size the of the vector from the user and then creates a vector of vectors (lets say SIZE1). In addition the user enters the number of vector of vectors he needs (lets say...

View Article


error c2146:syntax error:missing ';' before identifier 'recordset'

   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 c2146:syntax error:missing ';' before identifier 'recordsets'error...

View Article


Can't print HTML document using Runas with elevated privileges under Windows 8.1

Hi all,i have a process, its job is to print an html file using ShellExecute and "print". I have to launch the process into a runas session (with Super Admin privileges) for specific reasons.When I run...

View Article

Is it possible to target the Portable Class Library with C++/CLI?

I have a .NET library that is written in C++/CLI /safe using Visual Studio 2012. I'd like to target the .NET Portable Class Library.In C#, one can select a "Portable Class Library Project", but in C++...

View Article

Reading the icon file and its structure.

Am a bit afraid this will be seen as a multi post, but I felt the last thread I made was answerd. And I didn't want to clutter up the thread for anyone else that may need to information. So after the...

View Article


Bitmap Brushes ID2D1BitmapBrush from ID2D1Bitmap

When you create a ID2D1BitmapBrush using a ID2D1Bitmap, does the brush contain a copy of the bitmap?  Or is it referencing the specified bitmap?I have noticed that you can delete the ID2D1Bitmap after...

View Article

c++ struct initialization error

I am beginner in mfc ; I am trying to test send email and forthat trying to initialize struct as defined  below :struct TEmailData { char user[EMAIL_USER_LEN]; char password[EMAIL_PASSWORD_LEN]; char...

View Article

Button handling for painting

Hello to everybody.i want to do this: when the user'll click the button (in dialog based program of course) the line paint in the program. i know i must use MoveTo() & LineTo() functions. but how...

View Article


error c2064:term does not evaluate to a function taking 2 arguments

Hi AllI did the migration of my application from vc++ 6.0 to vc++ 2013 version,after migration i got some errors in my code.error c2064:term does not evaluate to a function taking 2 argumentsinline...

View Article


error c2146:syntax error:missing ';' before identifier 'recordset'

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 c2146 : syntax error:missing ';' before identifier 'recordsets'error...

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

_AfxDispatchCmdMsg for x64

When _AfxDispatchCmdMsg (pTarget, ....) is called upon a button select in some dialog, pTarget = NULL, resulting in an Exception at case AfxSigCmd_v:case AfxSigCmd_v:// normal command or control...

View Article

What does econ_err_code = Econ->ScenSetInfoLoad(scen_file, hist_file); mean...

I am trying to figure out what this statement means.  My C++ is a little rusty I think this involves objects, I don't use them that often.Here is a code snippet from function = "startup"class...

View Article


How To Get Some Control Over GetOpenFileName() With OFN_EXPLORER And lpfnHook

Hello,First things first: 1.) This is C++ win32 (No Mfc,CString,,,). 2.) This Needs to Run Under Windows Xp Sp3 through Windows 8 (Desktop)I am trying to work with GetOpenFileName()....

View Article

error C2143: syntax error:missing ';' before...

Hi everyoneI did the migration of my application from vc++ 6.0 to vc++ 2013 version,after migration i got some errors in my code.error C2143: syntax error:missing ';' before...

View Article


calculator c++

hi, i have to make a calculator for my schoolproject so what is the easiest way to do it if it must include 4 main operations with parantheses. please help i would appriciate a lot

View Article

GetVolumeInformation() shows CRC error for fresh Blu-ray re-writable(BD-RE)

While GetVolumeInformation() API  is invoked for a fresh(not formatted) Blu-ray re writable(BD-RE) , it is failed with GetlastError() =23(Data error (cyclic redundancy check) ).  I have used this...

View Article


Bluetooth HFP API for Windows 7 and Window 8

Hi,This is my first question to this forum, I hope it is in right place.I have connected my PC in Hands-free mode with my phone. I can receive call from my m/c now.My question : How can I read this...

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

opengl

آHelloWhen I use the following programs ,it  has a error :The procedure entry point_glewinti@0 could not be located in the dynamc link library glew32.dllthe program :     #include...

View Article
Browsing all 15302 articles
Browse latest View live


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