Software Development Network Logo
  • Windows Live
  • Microsoft ISV
  • Windows Forms
  • VS Team System
  • VS Express Editions
  • Windows Vista
  • .NET Development
  • Visual J#
  • SQL Server
  • Smart Device
  • Architecture
  • Visual FoxPro
  • Visual Basic
  • Visual Studio
  • Visual C#

Software Development Network >> Visual C++

Visual C++

New Question

[VC 7.1] Buggy compiler behaviour with dllexport and const members
using WIA API to communicate with digital camera
BUG under Multithread Compilation
im a beginner/ need help
Running an .exe file compiled in VC++ 2005 on a different computer
MFC Dialogs and NT Service
Memory leaks questions
deallocating memory
CRT heap in DLL
cannot debug "Hello world!"

Top Answerers

Olim
Greg Brewer
jsminch
Ernestoguillen
Digitalboy
John Zambia
Roran1981
JustAnAverageJoe
Dmiti
Deepti14198
Topix: Wireless
Only Title

Answer Questions

  • Salvo Dan Win32 Runtime Error

    Hi, Am building a software with a basic dll and an .exe talking to this dll. The compilation/link and the total build is successful with no errors, but on execution of the app i get a runtime error- "Could Not Execute-Path not found:Win32 error 3" Am I missing any environment settings have set the PATH variable with the absolute path of the dll and the exe..... Any help please See http:// ...Show All

  • jchan How do use conventional C++ Code with Visual C++

    Goodday I cannot seem to create any programs with Visual C++ I am not getting anywhere the only program that works is Hello World: #include <iostream> using namespace std; int main() { cout<< "Hello World\n"; return 0; } Not even the test win32 application want to run and i did everything like you explained Please Help Peder This is a Simple program for input/output What is wrong w ...Show All

  • Robert Taylor error LNK2001: unresolved external symbol "struct ....."

    Hi, any help with this problem would be greatly appreciated.  I have three files in a project using visual c++ 6.0.  One is a library file with the following code: typedef struct gl_Mesh {      int nVerts;     float *Vertices;     int nFaces;     int *Faces;     int nTcoords;     float *Tcoords;     int nTfaces; &nbs ...Show All

  • Rosomak_7 Help needed with "error C2784"

    . If you use string then you should include <string>.  That's your job, not the job of the library implementor. The fact that some other compiler uses <string> in their implementation of <iostream> doesn't mean every compiler should. . . I am going to address your core question: There is already a lot of d ...Show All

  • mark6960 Why are my posts being deleted ?

    Hi, I was wondering why my posts are being deleted, I posted to threads on shell programming and both were deleted. I have not been vulgar or impolite in any of my posts and would really like to know why they have been deleted.   Is shell programming taboo in these threads or something Thanks Yacine Benahmed thats absurd really dude !! Ask the moderator... why is he keeping mum. Still curious as t ...Show All

  • Leif Eklund mfc : loading a jpeg - 2 questions

    hi . i have a simple question . i am loading a bmp into my mfc application, using the following piece of code : CPaintDC dc( this ); CPen PenGreen; PenGreen.CreatePen(PS_SOLID, 2, RGB(0, 255, 0)); dc.SelectObject(&PenGreen); CRect Recto; // Retrive the size of the drawing area GetClientRect(&Recto); CDC dcMem; dcMem.CreateCompatibleDC(&dc); CBitmap bitmap; BOOL tempboo1 = bitmap.LoadBitmap(IDB_BITMAP1); CBitmap* pOldBitmap ...Show All

  • ScubaRon waveInReset halts program

    When calling waveInReset ( multimedia API), in order to stop recording and return all queued buffers, the program halts. No wave functions are called from within the wave-in callback function, which could be the reason for a deadlock. In fact, after waveInReset is called, the wave-in callback is not called at all, which is weird, because the callback should be called for every queued buffer which was sent using waveInAddBuffer. What cou ...Show All

  • mniccole Convert Class to BYTE* vice versa

    We are facing a problem in serializing the CString variable. If you have any idea to solve is the issue, please help us. struct temp { CString name; CString desc; }; temp obj; //Object stroed with values obj.name = "dfjdsflsdkjf"; obj.desc = "fjdsfj"; // Converted to byte array BYTE *x = new BYTE(len); temp *j=new temp(); // Byte arracy converte ...Show All

  • Genival Carvalho comments in a command line file?

    Is there a way to place a comment into a *.txt file intended to be used as a CL file Do you think // will work Thanks Great idea, thanks. It was a response file that I meant. So this is a "response file" for CL compiler. Instead, compose the command line or response file in your makefile, like this: MYOPTS = MYOPTS = $(MYOPTS) /YP # this is commented out: # MYOPTS = $(MYOPTS) /otheropts $(CL) -c $(MYOPTS) somefile Regards --P ...Show All

  • aprag Can't find MFC80ud.dll error

    I once upgrade my 2002 project to 2005, and it worked without any problem. But after I change the charset from mbcs to Unicode, then when I run the debug version, Windows informs me that "cannot find MFC80ud.dll". After hours of research and compared with the default project created by 2005, I found that the problem was due to manifest file in ".rc" (It was auto-generated by 2002): ///////////////////////////////////////////////// ...Show All

  • Erik Moore Getting the Session Key genereted using CryptDeriveKey

    bOk = CryptCreateHash(m_hProv, CALG_SHA1, 0, 0, &hHash); ... bOk = CryptHashData(hHash, vlKey, szKey, 0); ... bOk = CryptDeriveKey(m_hProv, CALG_3DES, hHash, CRYPT_EXPORTABLE, &hKey); ... I am translating this C code to Java because I need to decrypt (in Java) the data encrypted using the CryptoAPI but I am stuck on CryptDeriveKey api function. I need to compare the Session Key genereted using CryptDeriveKey api with the key ...Show All

  • JedL Does .Net Visual C++ Require Mono on Linux?

    Hi Everyone! Does .Net Visual C++ require Mono installed on Linux before C++ program running Thanks for your precious reply! ASsuming it runs at all, it all depends on what libraries you choose to use. If you use .NET, then you can try to run it under Mono. C++ is the only .NET language that does not require .NET, however. ...Show All

  • ArthurDent Having Problems In Building Sample Projects With VC++2005

    Hi, I was trying to build sample projects of Windows Media Format SDK 9.5 with VC++ 2005. I had that SDK, as well as the newest version of Platform SDK installed. When building the sample project 'DSPlay', the following error came out. ------ Build started: Project: DSPlay, Configuration: Debug Win32 ------ Linking... DSPlay.obj : error LNK2001: unresolved external symbol "unsigned int (__stdcall* ATL::g_pfnGetThreadACP)(void)" ( g_pfnGetT ...Show All

  • Matt Winkler -- MSFT Could not add a new Class Diagram to the project

    In Beta2, in class view, right click on a class name and select "View Class Diagram", but there is a error: "Unable to create file e:\some dir\ClassDiagram1.cd. Make sure you have file system permission to create the file, and have disk space available" I don't know how to fix it. OK, maybe I found out the reason. I have the problem above because I'm in a VC project. When in a C# project, everything is OK. And I know from some blogs that c ...Show All

  • KARINA GAMEZ Missing mfc42u - do I need to compile unicode version of MFC with Express C++ ?

    I have a simple application that links with an existing library from a Chinese hardware manufacturer. Their library was made with VC6. At link stage, I see that mfc42u.lib (mfc42ud.lib) cannot be found. From other threads, I think I may need to compile a unicode version of MFC Can someone please give me a howto to build from the platform SDK source. Of course, if there is a simpler way to fix this issue, please let me know. Thank ...Show All

83848586878889909192939495969798990

©2008 Software Development Network

powered by phorum