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

Disabling a C++ CLI delegate

I have a C++ class that calls a function pointer which is connected to a CLI delegate. The code works fine for connecting and calling the delegate, but I can't seem to figure out how to disable the...

View Article


cloud computing with c#

i have beginner knowledge of c# and i want to improve it with cloud computing. does anyone can help me with good resources and available books.... with respect to my skills ????

View Article


DestroyWindow(HWND) gives me exceptions... - on x64...

HelloI hope I'm posting in the correct forum. I'm working on a project and I noticed that I kept getting the following kinds of exceptions:"First-chance exception at 0x76de7a24 in tmpxXx.exe:...

View Article

using keyword

I would like to change this code#include <fstream> int main () { std::fstream fs; fs.open ("test.txt", std::fstream::in | std::fstream::out | std::fstream::app); fs << " more lorem ipsum";...

View Article

I am looking for a sample code in C++ that demonstrates transfer of text file...

Hi,I am looking for a sample code in C++ that demonstrates transfer of text file to an another windows using WiFi.Both Pc's are having Windows 7 OS.Thanks In Advance,Alex

View Article


How to Add new Existing UserControl ?

Hello,I am trying to add Existing UserControl under MS VS 2008 C++/CLI. I am using SolutionExplorer/HeaderFiles + RightMouseClick + Add/ExistingItem.Hovewer, I added three existing files Test.h,...

View Article

error get during build the driver

 try to build a 64bit solution using VisualStudio2010, but I have a trouble.This is the error message: ntdef.h(166): fatal error C1189: #error :  "No Target Architecture"help me out?

View Article

Passing class member variable to main dialog's control

Hi,I'm working with c++ 6.0 for an application with a main dialog and a class.In the class I'm running a thread to get an information (string information) from tcp/ip port and store it in class member...

View Article


locale list

I would like to know if there is a list of possible locales somewhere in the net. I would like to change the locale of the application to Español, but in different regions, like Mexico, Chile and...

View Article


whether rpcrt4.dll is a open source / or free library, and can I use (bundle)...

Friends , I am developing application product , which needs to generate UUID, so I planned to use rpcrt4.dll , can I bundle that library into my application product?Thanks in...

View Article

R6030 CRT Not Initialized only when using application compiled with VS2010

Hi Allwe have two SDKs, SDK1 which is compiled using VS2010 and another called SDK2 compiled on VS2008,  when a third party application which is also compiled on VS2008 uses SDK1 and SDK2 to build...

View Article

SDKS Abstract Layer

Hi All:   I  want to degsin an abstract layer which has basic methods integrating many other similar SDKS(such as OpenGL and DirectX),So the methods are transparent to Users who use this interface and...

View Article

std::hash and std::hash implementation

Good day,I have a memory efficient (in terms of assignment and substring) string class that I want to use in a unordered_mapstruct small_string{shared_ptr<wstring> data; size_t offset; size_t...

View Article


"fprintf(NULL, ...)" crashes instead of returning error code (checked for in...

It appears that "fprintf(NULL, ...)" ends your program with some sort of crash.  However, stepping through the CRTL source code, it appears there is code in place to try to cause fprintf to return an...

View Article

Feature Pack - MDI with tab display ActivateFrame problem

I observed something does not behave quite right. I have existing MDI example (with old MDI view). Whenever I called child->ActivateFrame( SW_HIDE ); the MDI will hidden. But, when I change to tab...

View Article


Minimize / Maximize external application C++

Hello, I am trying to minimize / maximize / hide to system tray application which is built with Qt...My code below works for example with Notepad, but it does not work with app built with Qt... Any...

View Article

Executing SQL query from C++ and store the results into matrix

Hi All,I am experiencing some difficulties in executing the below query from c++ (Studio 2010) and will appreciate some assistance in a code:while compiling I've got the warning message:Run-Time Check...

View Article


Add dialogbar to CChildFrame

I have an MDI app, developed by VS2008. I want to add an dialogbar to childframe. Here is the code (is simple):#include "ViewDlgBar.h" class CChildFrame : public CMDIChildWndEx {...

View Article

Mersenne twister

Hi, I was looking at documentation for <random> herehttp://www.cplusplus.com/reference/random/mersenne_twister_engine/It describes what I think is a class?template <class UIntType, size_t w,...

View Article

Image may be NSFW.
Clik here to view.

Can't produce preprocessed (.i) file in VS2013

To debug a macro, I want to see the result of the C++ preprocessor on my source code. Selecting the /P option for the properties of the C++ source file doesn't produce any .i (preprocessed only) file,...

View Article
Browsing all 15302 articles
Browse latest View live


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