visual-studio-2008

error C3861: 'strcasecmp': identifier not found in visual studio 2008?

im trying to port application from cygwin to visual studio 2008 express but im getting this error : error C3861: 'strcasecmp': identifier not found in this type of code: if (!strcasecmp("A0", s)) .... what is the replacement in vs? i can't find any thing in the net ...

Doubting about the Threads window of visual studio

As you can see above , there are 4 win32 threads at exactly the same location, how to understand it? UPDATE 7C92E4BE mov dword ptr [esp],eax 7C92E4C1 mov dword ptr [esp+4],0 7C92E4C9 mov dword ptr [esp+8],0 7C92E4D1 mov dword ptr [esp+10h],0 7C92E4D9 push esp 7C92E4DA call 7C92...

Using Crystal Reports 2008 Dev version 12.3.1.164 increased DLL size in Visual Studio 2008

I upgrade From Crystal Report 2008 Basic to Crystal Reports 2008 Dev version 12.3.1.164 and used embebed reports in my application, since that the DLL Size grew may be ten times. What I need to do to reduce the DLL size? ...

Changing CommandText changes Parameters

I'm trying to edit the CommandText for the Insert Command in a TableAdapter in the Designer in vb.net. Whenever I make changes to the CommandText, Visual Studio (2008) automagically changes the Parameters to a Collection consisting of one Parameter that existed before editing the Command, immersed in a sea of complete garbage Parameters,...

Why break point doesn't work for those lines without source code in Disassembly view of visual studio?

It's a c++ project: 7C92E4BE mov dword ptr [esp],eax 7C92E4C1 mov dword ptr [esp+4],0 7C92E4C9 mov dword ptr [esp+8],0 7C92E4D1 mov dword ptr [esp+10h],0 7C92E4D9 push esp 7C92E4DA call 7C92E508 7C92E4DF mov eax,dword ptr [esp] 7C92E4E2 mov esp,ebp 7C92E4E4...

Why does Visual Studio create a website Solution in the Project directory and the website in the Websites directory?

When creating a website in Visual Studio 2010 (I think 2008 had the same behavior): File > New Website, VS creates the solution files in the Projects directory and the website in the Websites directory. What is the purpose? Why not just create the solution files under the Websites directory? ...

[Memory allocation problem]Unhandled exception: Microsoft C++ exception: std::bad_alloc at memory location

Hello everybody. I am using visual studio 2008 for developing. My program needs to deal with a huge amount of memory. The error happens when my program try to allocate a 512M float array. Code is the following: int size = 512*512*512; float *buffer = new float[size]; Before this allocation, the program already consumed around 554M me...

Debugging NET Framework source code not available

I am having trouble setting up Microsoft .NET Framework source code debugging for both Visual Studio 2008 and 2010 on Windows 7 x64 (I am having similar trouble on Vista x86 too). I have followed instructions from this blog post as well as some other resource but without much success. I have also downloaded and installed all symbols fro...

ASP.NET app debug error

I have a web application that I am having issues with. The schema of the web application is that there are main files and sub files within sub folders. I compile the application and deploy to the webserver, which does not carry the .cs files over. When I use CodeBehind, custom user controls on the sub-files are not being found. Error: ...

How to bind one control to another?

I have a checkbox with a Checked property and a Listbox with an Enabled property. I'd like to data bind the controls in such a manner that when the user checks the Checkbox, the listbox becomes enabled. Conversely, when the user unchecks the checkbox, the listbox becomes disabled. How can I do something like that? ...

How to build a class DLL (COM) without any .NET parts?

I need to build a COM DLL to do some simple serial port stuff. It has to be a Class DLL (COM); I have no control over that. I also have no control over the fact that it has to run on some very old machines which do not have the .NET framework installed and never will have. Can it be (easilly) done using VB Express 2008? ...

ASP.NET Image Control inside Panel

I have a panel control to which i add image controls from code behind. Panel1.Controls.Add(new Image { ImageUrl = String.Format("img/{0}.gif", x) }); However when i try to access the new image control to modify certain attributes, i get a literal control instead. ie: Panel1.Controls[0].Width=new Unit(10, UnitType.Pixel); results i...

copy files after successful build

Hi All, I'm working on a application where multiple dev will check-in everyday. I want to copy latest files only after check-in and successful TFS build to a share location. Currently I'm using post build script something like Attrib -r "$(ProjectDir)Data*." /S & xcopy /S /Y /I "$(ProjectDir)Data*." "ShareLocation" But the biggest ...

Unable to copy file "obj\Debug\project.dll" to "bin\project.dll". Access to the path 'bin\project.dll' is denied.

i am having this error when trying to build a solution in visual studio 2008. What does that mean? ...

How do I "Arrange Tables" in a DataSet.xsd view?

In SQL Server Management Studio I can arrange the tables in a Database Diagram simply by right click somewhere in the diagram and select "Arrange tables". Then tables and relationships will be plotted out in a nice way automatically. But I can´t find a similar function in Visual Studio 2008 (in the DataSet.xsd view). Is there a way, or...

How to properly update an existing application?

The application I'm working on is almost finished but we've come to a crossroads. At multiple times in the future, we'll have to update the application. We could easily just replace the application with the new version as well as the SQLite database, but at the same time we don't want to do that. Essentially, our application has three...

Business Objects and Data Layer

Hello, This site has provided me with many useful answers, however after a hours search I haven't found anything that specifically answers my needs. So here goes... The company I'm working for is in the process of designing a new Business Objects Layer and a Data Access Layer - these will reside in separate assemblies. The problem is...

How to reduce Qt's output size based on application usage

Hi all, I've recently been looking at Qt, and yes I should have started a long time ago... But the issue has come up that the prebuilt or self compiled .dlls, QtCore4.dll, QtGui4.dll, etc., are quite large. Since I must stay within the LGPL, is there a correct way to only link in what I need into the QtCore4.dll and QtGui4.dll files so...

Old assemblies don't work in windows 7 64 bit with visual studio 2008 professional

Hi all I just installed visual studio 2008 professional on windows 7 64 bit i am having a problem. I added Nfop as a reference and it was not recognized( yo know the yellow mark on it) then i tried some old assemblies of mine( created on visual studio 2008 but on windows XP) and there was the same problem. How do i solve this? Thanks. ...

VS2005: Importing a dependency into a static library without exporting its symbols?

I am trying to build a static library (foo) that uses functionality from another library (bar). Example: void foo::f1() { bar::b1(); } Unfortunately, when using foo in some of our projects (requiring us to link with bar as well to support foo), exports from bar are conflicting with other libraries. Is there a way to import bar w...