Answer Questions
Brian Mathis Deployment Problem
Hi All, I have create a managed DLL (for dotnet 2.0) using visual C++ 2005 (work with windows media format). I have problem on deployment in windows 2000 server. It's error code is 0x8007007e seems like it's lost some library or thing. Is there any prerequisite installed in client computer wen using managed c++. Any one please help. Thanks Tutnik Tutnik wrote: I have problem on deployme ...Show All
Ian Hopkins NewQuestions
I'm building a project for myself really; however, this problem is sticking me in the side. Can anyone tell me why this particular problem isn't working #include "pl_en_stats.h" // in *.cpp file for icPlayerInformation_Data struct usage. // in *.h file for Class definition. class LoadGameData { private: char PlayerInformation; icPlayerInformation_Data* pl_statistics; public: LoadGameData(); bool load_SaveData_Open(); ...Show All
jeff______ Getting Started
I have C++ Express and quite a while ago I programmed in Borland's Tubo C. I graduated to C++ with MS at some point, but I haven't done much in the past 10 years. I am overwhelmed with getting started, or getting restarted. I would like some sample programs that I can examine, modify and extend to help me learn all the new nuances. What would be a good plan of attack (I have looked at the books at Barnes and Noble, but t ...Show All
Marian Andrei Any way to get a list of QFEs available?
Is there any way to get a full list of QFEs (quick fix engineering patches) for Visual C++ 2005 It would be nice to browse through them to see if any are applicable to my situation. If you think this is a good idea, please vote http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=244c0587-f75d-4684-9783-8e959b39275f That's great - I'm glad another thread already exists, and there' ...Show All
TigerMan90 reading binary data using fseek and fread
I'm trying to get computer model in C originally written for Unix to run under VC++. It to reads a binary input file with climate data (precipitation) for every time step (year). For every year 12 items are read (1 for each month). The first two years are read correctly, but for the third year only 7 items are read. After that, for some years the data is read correctly, for others not. When read with MatLab for example all years are read correct ...Show All
Pathy [VS.NET 2003/C++] Treating enums as ints
I have two C++ projects which both share a source file. The following code: enum MyEnum { kFirstValue, kSecondValue }; MyEnum myEnum = kFirstValue; myEnum += 1; compiles fine in one project. The other project gives the error, "error C2676: binary '+=' : 'MyEnum' does not define this operator or a conversion to a type acceptable to the predefined operator" So for some reason, one project is treating enums ...Show All
kornballe c++ language help
hello! i am new to this forum and also to this Development tool by Microsoft. I want to know what is the procedure to access help to different funtions. as in Borland c++ help menu provides. Usually you just have to move the cursor over a function like atexit and press F1, sometime Strg+F1 (Dynamic help) leads into the better result, because you can preselect several help topics. I hope I understood your question correctly. ...Show All
myhome Again on: How to solve .__dtor link error in MS VC++.net 2003 for codes that work in VC++ V6?
Hi, Seems that my post on "How to solve .__dtor link error in MS VC++.net 2003 for codes that work in VC++ V6 " was lost. Here is it roughly again ================================================= I downloaded some open source c++ code from http://www.coin-or.org/ In the MS Visual C++ .NEt 2003, I set up a project (TestCLP5) with a file with int main ( int argc, const char *argv[]) Then, On the tools\options dialog window, I&n ...Show All
sseguron Giving the user a language option in VC++??
Hello, Could any one please explain how it is possible to give the user the option to change the language of the status bar,main frame etc during runtime I create a dialog box in an SDI based MFC-application(using Visual Studio dot net 2003) and have a list box in the dialog box,with language options such as "English","French","German" etc.The default language is english,but if the user selects German,then on pressi ...Show All
Spyke555 using WIA API to communicate with digital camera
Hi, I have a Visual C++ application that controls the digital USB camera. Currently this is done using camera's SDK. I am looking for vendor-independent ways to communicate with cameras. 1. Does WIA API support viewfinder mode, i.e. can I have "live preview" from the camera in my application 2. Can I communicate with digital camera directly through PTP (Picture Transfer Protocol) from my application, thus avoi ...Show All
Starik running executable from different locations
Hi, The executable file of my c++ project (Version .net 2003) runs fine and does not give any errors. However, the results (output files generated by the project) vary, depending on the location on the computer where the executable is stored and on whether or not other files are included in the directory where the executable is stored. Running the executable from another pc also leads to different results. I do not make use of any time-bas ...Show All
Drunkboat while (file.eof()) causes repeat of last input
#include <iostream> #include <fstream> using namespace std; int main () { ifstream inFile; ofstream outFile; inFile.open( "inGrades.txt" ); if (!inFile) { cout<< "Unable to open input file.\n" ; exit(1); //terminate with error } outFile.open( "outGrades.txt" ); if (!outFile) { cout<< "Unable to open input file.\n&quo ...Show All
Niraj Sikotara Using callback functions in C++/CLI
I have a native C++ implementation of a function that takes a callback function. I am finding myself having to create a "helper" unmanaged c++ class to contain the callback function because the following code doesn't work. Without the helper class workaround, the following code would look like this: typedef void (*CallbackFunction)(); void SomeFunction( CallbackFunction callback ) { callback(); } class Un ...Show All
kneeride lnk 2019 error
hey guys, i was wrapping a native dll inside a managed c++ dll. i was compiling to test how i was going, and it got a weird lnk error. it is the following: error lnk2019 : unresolved external symbol _main referenced in function _mainCRTStartup. so how am i suppose to solve this issue imusing the VS 2003. thx I just tried the following small sample and it works as expected: Build i.dll (cl /LD /CLR:oldsyntax) // ...Show All
DLSeth BLOCK_TYPE_IS_VALID
Hi guys, I have a lib maked by VS6 and it's used by another application in C++ managed. Sometimes I got a BLOCK_TYPE_IS_VALID assert. Does anybody say me why Thank you You destroyed your heap. So a memory block is overwritten. I.e. you allocated 100 bytes but you copyied 101 bytes into it. You can use _heapchk to get close to the point were the error has its source. You can use _CrtSetDbgFlag with CRTD ...Show All
