-
- BUG: No files were found to look in.
by museicon
- 3 Replies
- Last post
by cellbert
- I keep getting this, so time to post it. I've just installed VS2005 SP2, and still see the problem. It doesn't happen that often, but I hit it every couple of weeks. The only solution that seems to work is a reboot of the machine.
Today I had two instances of VS2005 running when I hit it.
-
- VC++ Workspace kind of application
by prayami
- 2 Replies
- Last post
by Damien Watkins - MSFT
- Hi,
I have Visual VC++ 5.0 installed in my computer. And I want to create Windows Explorer type application
with TreeView on the left View but on right I want VC++ IDE kind of pane. Which can open more than one
child frame in side that.
In SDI, I have allready user Splitter and put TreeView in Left Pane and CView on right pane. But Now the
problem is, How to create a child window in
-
- Using EVC4, when I use CFile::Write, only one character is written
by Mike Anderson
- 11 Replies
- Last post
by Mike Anderson
- Using this code, for the most part copied from the CFile::CFile help text under the EVC4 development enviornment...
HANDLE hFile = CreateFile(_T(" \\My Documents\\TestFile.txt"), GENERIC_WRITE, FILE_SHARE_READ, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
if ( hFile == INVALID_HANDLE_VALUE) AfxMessageBox(_T("Could not create the file!"));
else { // Attach
-
- I can`t implement delegate in C++/clr:oldSyntax
by Tomys
- 2 Replies
- Last post
by Tomys
- Hi I try to implement "delegate" : public __gc class Form1 : public System::Windows::Forms::Form { delegate void ProgressBarCallback(System: bject *obj); . . . ) I have set: Common Language runtime support: Old syntax (/clr ldSyntax); character set: use Multi-Byte character Set But it can`t compile I have error: "error C2144: syntax error : 'void' should be preceded by ';' &qu
-
- MSBuild running from Local System
by bkejser
- 14 Replies
- Last post
by Bernd Boot
- Hi I've been executing msbuild.exe from the NT_AUTHORITY\SYSTEM account to build VS 2005 C# projects and the builds have been working as expected. Recently, I attempted the same for a VS 2004 C++ project and the build failed with the following error. fatal error C1902: Program database manager mismatch; please check your installation Is this a bug with msbuild or am I doing something wrong Than
-
- Stepping through VC8 SP1's debug CRT ? PDB File available?
by Nelson B
- 3 Replies
- Last post
by BogdanZ
- For years I have used older versions of MSVC and their "debug" C run time DLLs, e.g. MSVCRTD.DLL . I was able to step through the code in the debug CRL DLLs. This past week, I installed MSVC 2005 Express Edition, SP1. Now it seems that I can no longer step through any of the CRT functions. It seems I need a PDB file for MSVCR80D.DLL and I don't have one. So, can you tell me how to get t
-
- Memory mapped file size limit
by Shashi Subbarao
- 7 Replies
- Last post
by Brian Kramer
- I have a program that creates memory mapped files (shared memory) and are not mapped to a file directly. When I try to allocate a bunch of memory mapped files, it works fine with 128MB and 256MB chunks but fails with 512MB and 1GB chunks. CreateFileMapping succeeds but MapViewofFile fails with GetLastError 8 (ERROR_NOT_ENOUGH_MEMORY). This is on a Windows 2003 server 32-bit edition SP1 with 4GB ra
-
- "Debug assertion failed"
by Me_Himanshu
- 2 Replies
- Last post
by Pintu Shukla
- Hi all... When i run my Vc++ application in Debug mode i get "Debug assertion failed" line number 19.....file : afxwin1.inl ..... but when i run in Release mode i don't get this error...I am new to Vc++...I searched on internet and read somewhere that in release mode the Assertion statements are not Checked so this error doesnt arise...Is ther a way that i can disable Assertion che
-
- Converting 64-bit number into string
by Andrea Lanza
- 4 Replies
- Last post
by Andrea Lanza
- Hi everybody,
I need to convert an unsigned long long number (64 bit) into string with C++ 2005.
The number for example is: 13057201162865595358.
I want to write this value in a text file, but when i try to use ultoa to convert the number the result is 292279262.
Here is the code:
unsigned long long mt;
char buffer[64];
mt=13057201162865595358;
ultoa(mt,buffer,10);
-
- Problem with Printing LPTSTR
by Zyphon
- 10 Replies
- Last post
by Giovanni Dicanio
- Hey all,
I'm very new to Visual C++ and C++ in general, so excuse me if this is a really simple problem. I'm using EnumDesktopWindows to try to print out the titles of all the windows on my desktop.
It seems to be going through all the windows properly, but for almost every single window with text, it only prints out the first character (with the exception of 1 iTunes helper window)
-
- Is it possible to have dialogs in a DLL created using VC++ 6.0
by nu2vcpp
- 4 Replies
- Last post
by nu2vcpp
- Please tell me how to create a dll with dialogs using VC++ 6.0
-
- array<Byte> vs structure
by william.w
- 4 Replies
- Last post
by william.w
- My question is how to converting array<Byte>^ to a managed structure (or unmanaged structure) and vice versa
Code Block
[StructLayout(LayoutKind::Sequential, Pack = 1)]
value struct Name_struct { public:
__int32 id; // 4 bytes
[MarshalAs(UnmanagedType::ByValTStr, SizeConst=30)] String^ FirstName; [MarshalAs(UnmanagedType::ByValTStr, SizeConst=30)] String^ La
-
- URGENT, PLEASE HELP! error LNK2019: unresolved external symbol __imp__HttpSendRequestA@20
by Nina99
- 3 Replies
- Last post
by Marius Bancila
- Hi,
I'm working on an ActiveX control that uses MFC and wininet library. I recently changed the project to use MFC as static library and now I'm getting all kinds of Linker errors. I've updated the library path to include the path where wininet.lib is located, but the error persists. Is there some way that I can force the Linker to use that specific library as opposed to just including a pa
-
- m_msgCur undeclared. Conversion problem from VC++ 6.0 to .NET C++
by Jessica Alba
- 1 Replies
- Last post
by TilakGopi
- I have a project built in VC++ 6.0.
I just got it converted to visual .net 2005 C++ and tried to compile it.
I got this error message:
Error 32 error C2065: 'm_msgCur' : undeclared identifier e:\tools\Japanese Tools\DotNet RPUTY\RpUty.cpp 153
The code is this:
int CRpUtyApp::ExitInstance() { // TODO: // if (!afxContextIsDLL) // SaveStdProfileSettings();
// Cleanup DAO if necessa
-
- Can Anybody Help In VC++
by Allaudeen_N_587b24
- 3 Replies
- Last post
by Allaudeen_N_ff93ad
- Hi Friends,
I like to do a project in VC++ on Analytic Heirarchy Process(AHP) for the Teachers Feedback for our college..... I have all the concept to be implemented in the project.... But still i need a person to assist me and help me in the Programming side.... Can anybody be a friend to me and assist me..... Waiting For the Replies of the Friends....
-
- VC++ compiles not spread over all cores
by BrentB
- 0 Replies
- Last post
by BrentB
- When I got my current development machine less than a year ago, I did a compile (VC++) and watched the Task Manager > Performance where I saw both processor cores busy up and the compiles went fast. At some point in the last couple months compiles slowed down and when I view the Task Manager > Performance now I see one processor busy and the other mostly idle. I had a similar experience with
-
- visual C++ 2005 express edition question
by mkeane
- 1 Replies
- Last post
by Jonathan Caves - MSFT
- Hi, I'm just a beginner at C++ and I am trying to get Visual C++ 2005 Express edition to work on my computer so I can do some of the homework from my C++ class at home. Ok, so I build the solution and get no errors, and then I go to debug the program and run it through the CMD prompt through visual C++ and I get this error everytime no matter what code I have written. 'Project 1.exe': Loaded 'C:\
-
- Visual Studio 2005 Service Pack 1 Beta - error C2244
by Przemek G.
- 14 Replies
- Last post
by luuf
- Hello,
I installed SP1 Beta asap, because I am encountering the "Updating Intellisense ... 100% CPU load" problem.
Intellisense problem seems to be resolved, but now I can't compile QT 4.1.4
here is compiler message:
-----------------------------------------start
c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qhash.h(805)
: error C2244: 'QMultiHash<Key,T>::replace'
-
- VS2005: how to change command line
by superdos
- 1 Replies
- Last post
by Bite Qiu - MSFT
- Hi,
Is there any way that can change command line parameters in Visual studio 2005 directly For example, if I want to change warning level from w3 to w4, I must choose "/w4" switch in project->propeties->c/c++->general->warning level. Of course I can add an additional switch directly in project->propeties->c/c++->general->command line window, but how can I cha
-
- Illegal System DLL Relocation?
by Crend King &#40;Old Pr
- 14 Replies
- Last post
by Matt Berry
- When I intend to manually load the user32.dll into memory, after loading the sections and calling its DllMain, an error message appears that the system dll was relocated in memory.
If I load it at its preferred ImageBase and thus do not do relocation, this error occurs. However, if I load it into a system choosed address (pass NULL to VirtualAlloc), no error occurs. I can confirm
-
- Problems calling managed class from C#
by Peter Laursen
- 7 Replies
- Last post
by einaros
- Hi everyone,
How can one export a managed C++ class for use by C# I googled for code samples and general help, but found nothing.
My C++/CLI class looks like this:
// Simple C++/CLI class. using namespace System; namespace DLL { public ref class Class1 {
public:
static void Print(String^ MyString) { Console::WriteLine(MyString); }
};
}
I compiled this file from
-
- Converting A Decimal Value To The Character Equivilant
by michaeln31
- 6 Replies
- Last post
by Simple Samples
- Hey,
Well the title says it all! Im trying to figure out how can i take a decimal value and get the character equivilant eg the decimal value for 'A' is 65.
Thanks for any help
Mike
-
- 1>LINK : warning LNK4001: no object files specified; libraries used
by ubernoir
- 10 Replies
- Last post
by Simple Samples
- i'm new to c++ and i can build and run charles petzold's hello world message box in Microsoft visual c++ 6 but not 2005 i get this linker error 1>LINK : warning LNK4001: no object files specified; libraries used 1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
-
- Problem adding a Tab Control.
by Sumit Bhatnagar
- 3 Replies
- Last post
by Simple Samples
- Hello! The issue i am facing is:
I have to add a Tab control to my application. To do this i did the following
1. I added a tab control to my main dialog.
2. Added a control variable for my Tab Control.
3. Created 4 dialog boxes with no title bar and with pop up property set.
Now, for adding the dialogs to the tab control i used this code :
***************************************
-
- .lib to dll
by skatz_teyp
- 11 Replies
- Last post
by Simple Samples
- hi guys... i have this problem... i have this C project with its source codes... i can compile it using vs2005 and run the program... what i want is to do is to make a dll out of it since some projects are compiled as .lib and some are .exe... so i set the configuration properties>configuration type to .dll.. but i get this errors: Error 83 error LNK2001: unresolved external symbol ___ckd_call