Answer Questions
Chris Mazur Use of nonstandard file extensions in the IDE. Not behaving the same as .cpp files.
I have Visual Studio 2005, Professional Edition. I wish to use non standard file extensions in Visual Studio 2005. Specifically we are using “.cp” not “.cpp”. I am able to compile by doing the three steps below, but the “Scope” and “Function in ‘scope’” dropdowns are showing “Unknown Scope” and “” respectively. These dropdowns are part of the document just under the tabs showing the open documents. Any assistance on p ...Show All
justcallmemasta SetEvent not notifying MsgWaitForMultipleObjects
<JockeP@discussions.microsoft.com> wrote in message news:30323ae2-a37a-4445-9d70-1c57e023701c@discussions.microsoft.com > First-chance exception in TestPosNetwork.exe (KERNEL32.DLL): > 0x80010001: (no > name). RPC_E_CALL_REJECTED "Call was rejected by callee". Do you have a message filter installed, by any chance -- With best wishes, Igor Tandetnik ...Show All
TheSmithz Different results by recompiling
Alright, i've got the following opensource code witch is a part of Luigi Auriemma's GSList. There is one function i'm intereseted in, however, if i recompile it in VC8 and approach it with the same input as for the original function, the output is different.The function is totally written in C, so i had to make a few changes, however there arent any crusial once. The code can be found here: http://polity.magnoon.nl/TEMP/Validate.rtf I hop ...Show All
pickedname Dual threaded bitmap creation
Hi there, I have a simple example below showing how I create a bitmap from a data array: void Form1::ImageUpD(array<double,2>^ image) { ImageBmp = gcnew Bitmap(image->GetLength(0),image->GetLength(1),PixelFormat::Format24bppRgb); BitmapData^ data = ImageBmp->LockBits(Drawing::Rectangle(0,0,image->GetLength(0),image->GetLength(1)),ImageLockMode::WriteOnly,PixelFormat::Format24bppRgb); unsigned char *bits = (unsigned char*)d ...Show All
swizz_balu Project : error PRJ0002 : Error result -1073741515
Well, I know I am not the first one having this problem . The answers and solutions given in previous messages in these forums did not help. I am on my 6th day of darkness after I downloaded Visual Studio Express . Yes I am a Newbie , who wants to learn C++ code. Here is the error message I get : 1>------ Build started: Project: new, Configuration: Debug Win32 ------ 1>Compiling... 1>Project : error PRJ0002 : ...Show All
Rakin Support for dual core and dual CPU
When does Microsoft plan to add support for dual core and dual cpu when compiling C++ code I was asking the same question 8 years ao when I got my first dual CPU machine. Did not get any answer. Distributed compilation like Incredibuild would also be nice to have. Regards Lars Schouw Thanks Ted I will keep it quiet ;) Lars Sometimes when using this switch, there a ...Show All
Lyndon J Clarke I'm stuck and cunfused. ARR U C++!
ok. i made a small ...small SMALL msdos program with Visual C++ express (yep a newbie) and all it was, was a whats ur name age and if u like this kind of music or game. now i figured out the whole press one if u like this or press 2 for no. but i want to make it a says YES FOR YES! and so on. get it good. here's my code. im really stuck #include <iostream> using namespace std; int main() { int number; /* This de ...Show All
tintin1969 A few compiling questions.
Hello, I am using visual c++ 2005 (8.0), I am wondering is it possible to open a .c or .cpp file with the IDE and build/compile it without having to create solutions/project workspaces yourself I remember in v6.0 you could just choose to build, and it would create the workspaces for you. Also I would just like to make sure I am creating unmanaged applications correctly, is it File -> New -> Project -> Win32 (from the Visual C++ ...Show All
Olivier Sanzot integer with 2 number
i want to convert my int variable to String, but i want that my String variable have 2 number. example: int | String 1 01 2 02 10 10 11 11 how can i do this thanks i am using visual c++ .net 2003 (windows form .net) This MSDN describes numeric formatting strings: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpgu ...Show All
Oberon __event alternative
The following page : http://msdn2.microsoft.com/en-us/library/6f01ek09.aspx says that __event -based event handling is deprecated. In that case, what is the best way to do event handling I have a class HWClass, that talks to a hardware device. Several other classes need to read from this hardware device. However, the reading is asynchronous and HWClass needs to notify the calling object if the reading process is finished. (Bt the way, this ...Show All
henlylow VC++/MFC 8 not stable
Hey, I am affriad to say MFC 8 that comes with VS 2005 isnt stable at all. im working in a studio trying to work on a project, and i keep on wasting time on worthless issues. All of which have to do with pointers and the new operator. Latest issue is it will declare thepointer if i told it to load configuration from a file. but it wont declare it if i decide to load the configuration manually, i really dont know what difference does it make. im ...Show All
Mark Phillips static data members and dll's
This should be trivial but has me foxed. c++ 2005 compiler /clr-pure Simple forms application with an additional dll such as user control. All I want to do is access an stl static data memeber of a ref class from outside a dll I have the following in the dll #ifndef KLUDGE3 #define KLUDGE3 #include <string> #include <map> #include <iostream> using namespa ...Show All
JSAdams fatal error C1010: unexpected end of file while looking for precompiled header directive
i included an vb dll into vc++. When i compiled i am getting this error. fatal error C1010: unexpected end of file while looking for precompiled header directive in the .c file produced from the idl file. i included comdef.h and header file produced by midl compiler to the source file. i had the dll file in the same directory of vc++ project folder. Any thing need to be set here Select the file in the s ...Show All
GGiant
. At the top, add: #include <iostream> #include <string> using namespace std; I got the same error, and it works for me after adding the #include. I am not sure why the rest of the code compiles without #include<stream>. Brian . If you use string then you should include <string>. That's your job ...Show All
d.v.d Importing class from dll
Hi My problem is that I cannot import a class from a dll without an import library. Thank You, Attila. You should have been given a lib file to go with the DLL. If you weren't given this file, ask the guys who wrote the dll to give you one. I have written the dll. And there is a function called GetProcAddress, that i can use for importing functions from a dll, and this way, i don't need a lib file. But I ...Show All
