Software Development Network Logo
  • Visual C#
  • Windows Vista
  • Visual Basic
  • Microsoft ISV
  • Visual C++
  • Audio and Video
  • Visual FoxPro
  • .NET Development
  • SharePoint Products
  • IE Development
  • VS Team System
  • Smart Devicet
  • Windows Forms
  • Game Technologies
  • Visual Studio

Software Development Network >> Visual C++

Visual C++

New Question

DAMAGE: after Normal block (#53) at 0x01BB0BE0
Can't figure out this bug
Getting bug report support from Microsoft
'DisplayMat' : cannot convert parameter 1 from 'int [6][6]' to 'int *[]'
Difference between Borland C++ and VC++
fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)
InternetOpen can not work well
Compiler Warning (level 4) C4428
Help with ODBC connection
Wow i am suprised i cant find this....

Top Answerers

Mark Cooray
cadouthat
Mike Lapierre
Ori'
lbendlin
Zadoras
Arkcann
Jamie Gordon
--Alan---
Bobby Dreamer
Le logiciel Lantern
Only Title

Answer Questions

  • chongqing directX/3d programming help

    Hi, i'm rather new to 3d programming but not programming. ATM im a vary proficient in Java and im taking a c++ class. i was wondering if anyone knows and good sites with resources and quick start tutorials about c++ and direct 3d. thanks James S xfire:pegasus1820 email-pegasus@evcitadel.com This forum is for questions about the C# language. If you are referring to managed C++, try the Visual C++ forum or the DirectX forum . If you are referring to unmanaged C++, refer to the DirectX sdk site for C++ . OT ...Show All

  • pinkybaby MFC/Dao Connection Failed Errors

    We have a Windows application written in Visual Studio 2003/MFC/C++ which uses the MFC Dao Database classes. The application works fine with a Microsoft Access database. We are now converting the program so that it can use ODBC, we have done this by creating connections from a local MDB file to external tables using CDaoQueryDef and an ODBC connection string. This was suggested as the best way to convert without making many code changes. Besides writing the code that connects the tables, we had to add dbSeeChanges as a parameter to most of the CDaoRecordset Open calls. We now have the application hooked up to an SQL Server 2000 database that was upsized from the equivalent Access 2000 database file. When we run the program, the init ...Show All

  • Kea How to convert the DEC to HEX type??

    Hi ~~~ I have a problem. I can't convert the dec to hex Example int qq = 100; how to convert to hex (Not : 0x100) I want to convert the "qq" . Or how to convert the string "100" to "64" (dec type convert to hex type) Thanks for your help!!! int i = strtol("100",NULL,10); char buffer[20]; ltoa(i,buffer,16); Correct. raw c++ Kuphryn OK~~~I found them~~~ Thanks !! you remind that~~~ Hi!! Thanks your answer... But I don't understand that strtol("100",NULL,10); ←it means what and ltoa(i,buffer,16); ←it means what Because I can't find them from MSDN Library....... ...Show All

  • Elena B XML

    Hello folks, I am currently working on a program that scans values (temperature, fan speed) for boat engines. Now, I want the program to save the scanned values in a xml file, and i already have this to work. But, it should add new values to the same file once every minute, so i would want to append the existing xml file in some way.. How do i do this This is the code thus far for the xml output: std::ofstream xml( "xmlvalues.xml" ); xml << "<INSTALLATION>" << endl << "<INFO>" << endl << "<NAME>" << " </NAME>" << endl << "</INFO>" << endl << "<TECH ...Show All

  • et381 How do a create a new text file, and how do I insert an eof into it?

    Hi, I'm looking to create a new text file. I am in second term C++ so we're not using the MFC or anything. We have covered opening, reading, closing ifstream and ostream objects from fstream.h , but nothing about how to create a file if one's not there. Is this possible Also - anyone know how to insert an eof into a file through a text editor or something in Windows I am given to understand the eof flag is represented by a ctrl-Z but I can't insert this using textedit. In the mean time I'm using a pipe symbol '|' as my eof flag which is much less elegant. Thank you o wise sages of the code. dangrmous wrote: Please read my inital question again I was asking how to INSERT and eof character into a document, not what a ...Show All

  • JiltedCitizen how to pin an array

    I write in managed c++ with VS2005. I would like to pass the contents of a CLR array to the WIN32 function "WriteFile" by pinning rather than by copying. I think that platform invoke does help to this problem. However, I only know the syntax of platform invoke with VB.NET and C#. How can I write codes of platform invoke in managed c++ Or could you suggest some alternate solution to my problems Thank you for kind attention. -Jeremy You can use a technique called IJW. Effectively, you do the call in standard native C++ code and the compiler handles interop behind the scenes. If any of its embedded subobjects is pinned to whole object is pinned. You just need to have a pin_ptr<> point t ...Show All

  • Christopher L Securing .Net class library (dll)

    Using C++/CLI, I've written a .Net class library outputted as a DLL file. It will be used by a C++/CLI app. How do I secure the DLL from being reverse engineered Do I even have to secure it Managed code, regardless of the original language, consists of metadata describing types and members as well as intermediate language representing the code within functions, which is typically JIT compiled. If you don’t want developers to open up your assemblies in tools like .NET Reflector to see how your code is implemented then you have a few options. For managed code in general, you can use an obfuscation tool. These tools attempt to obscure the logic of your application. Another approach that is avai ...Show All

  • JavaBoy Arrow Position on a ComboBox

    Hi, If the arrow located on the right side of a combobox is desired to move to the left, the only setting I found was to set the RightToLeft property to true. The problem is that this is meant for localization and the languages which start from the right side, not proper for English. What is the best way to move the arrow to the left of the ComboBox . A work around perhaps, to set the properly to true for the combobox, and then to set it false by getting a handle to the listbox part of the control during the runtime Any idea Best Regards, Reza Bemanian This should be done by the use of the HwndHandle for the list box embedded within the control. Though the RightToLeft is a public property, still ...Show All

  • Pedro A. G. Carvalho Resolve unresolved DLL symbols with definitions in .obj's for an EXE

    I have a complex application that I am trying to convert to VC++. I have reduced a run-time problem occuring in that application to the following sample code. I have tried this code under VC++ 6.0 SP6 on W2K, and VC++ 2005 Express on XP SP2, both with the same results. The general structure of the code is a very simple DLL and EXE. There is a single header file, and the DLL and EXE each have one cpp file. Header file "linkme.h": #ifdef _EXPORTING_LINKME_H #define DLL_DIRECTIVE __declspec(dllexport) #else #define DLL_DIRECTIVE #endif DLL_DIRECTIVE void printValue(); extern int value; // declaration of value // as having external linkage CPP file &q ...Show All

  • Sianspheric VS .Net 2005, how to disable intellisense...

    Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra Chandra, i've moved this into the "Visual C++ General" forum from the "Visual C# IDE" forum as you appear to only be using C++ and not C#. I just want to join the chorus. The intellisense update is making my C++ project (hundreds of files, many hundreds of classes) unusable. Please restore the VS 2003 performance. Hi all, I'm sorry I dropped off this thread. We have already started ...Show All

  • Embirath std::vector versus std::map performance

    I am curious if anyone knows about possible performance issues related to the use of the container template std::map, and particularly as it relates to std::vector's performance. I imagine there is good and bad usage of a map and/or vector, but would replacing a map with a vector offer any real performance gain (considering heavy usage) My worry is that we will replace an easy-to-read associative container (map) for one that uses magic numbers to associate elements (vectors) and get no gain from it. Jonathan Scott Well, there isn't much insertion, so there isn't much actually going on inside the map itself. However, the other programmer here is trying to go down to the hardware level, making the po ...Show All

  • asisurfer C++ Generics issue

    Hi. I'm having a problem converting some C# to C++/CLI, which involves generics: //// C# code (compiles and runs): ///////////////////////// // The constraint requires the generic parameter T // to be convertable to the type of the derived class: public abstract class MyBaseT<T> where T : MyBaseT<T> { public MyBaseT() { } } public class MyDerived : MyBaseT<MyDerived> { } //// (equivalent ) C++/CLI code: //////////////////// generic<typename T> where T : MyBaseT<T> public ref class MyBaseT abstract { public: MyBaseT() { } }; public ref class MyDerived : MyBaseT<MyDerived> { }; /// Compiler error: Error 1 error C3393: syntax error in constraint cla ...Show All

  • Alex_ludy please help! compile error

    hello, I have following error in visual c++/win xp when compile a file. Please help! Thank you very much! d:\Microsoft Visual Studio .NET\Vc7\atlmfc\include\afxv_w32.h(216): error C2664: 'GetWindowThreadProcessId' : cannot convert parameter 2 from 'void *' to 'LPDWORD' Jonathan, thanks for your reply. but afxv_w32.h is from windows library, I didn't do anything with it. Any more suggestions Can you show us the code from afxv_32.h Is it a macro or an inlined function If so, see where in your code you're using it. I'd like to thank eniaros and others for your kind help. Based on your suggestions, I just found the problem is I used Li ...Show All

  • Thase default destructor and list iterator

    I came across a problem with a default destructor. The problem has been distilled down in the code at the end. I have an Iterator class that is used to access std::list<>'s. The original design was that a pure abstract base class was used to provide an interface. But if I define a pure abstract base class, bad things happen. From what I can see, the default destructor does the wrong thing and delete's the pointer to the std::list<> used by the subclass. Here is where it gets truely odd: only if the std::list<>::iterator in the object is initialized, does the destructor do something bad. Simply creating and deleting the object does not create a problem. If I implement destructors that do nothing, all is well. But my dest ...Show All

  • Beny at work How to deploy MFCMIFC80.DLL?

    Hello VC++ Forum, I've added a CWinFormView to my MFC MDI project to show a .NET 2.0 control. Really really nice and working fine :) Now I wanted to test my stuff also on another machine and copied my DLLs and EXE there. That machine got .NET 2.0 and MFC 8.0 components installed. Well, when I want to open my View now, I get a message "MFCMIFC80.DLL version 1.0.0.0" missing. After that message, the program gets teared down and I must use the taskmanager to shut down its process. I tried to copy that DLL to the machine, but that doesn't help. I tried to install it to gac, but that won't work. Now I'm curious what I've got to do. I asked our deployment guy, and he said the MFC runtime stuff is installed on that machine. He doesn't h ...Show All

272829303132333435363738394041424344

©2008 Software Development Network

powered by phorum