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

Software Development Network >> No-spam Sam's Q&A profile

No-spam Sam

Member List

Simon Jefferies
ragsrags
Jon Choy
Prasenna
bevis61
Prabu.
Dhaval-Patel
sgGeordie
Janetjyothi
Vaish
Mark A. Richman
supagu
Tryst
eldiener
sgmuser
RobZeilinga
umuayo
neely
ChandraDevaraj
Kobingo
Only Title

No-spam Sam's Q&A profile

  • Visual C++ create dll with visual 2005

    Hi, I have got my own mathematic classes (vector , matrix etc.) and I wish to export those classes in toa dll. How should I proceed to make it with visual studio 2005. thanks I wish to create my mathlib with Matrix4D Vector3D and Vector4D I have used this internet url : http://www.codeproject.com/dll/dllexport.asp so I have done , everyting which is explained in this tutorial but problems occured. (Visual C++ C1010 unexpected end of file while looking for precompiled header directive) what's wrong ...Show All

  • .NET Development Why doesn't Garbage Collect reclaim unreferenced objects???

    I have written a Windows Service using VS.NET 2003 C#. The service is having big memory foot print problems at a customer site. This service communicates via TCP to about 100 clients on the customer's network. The service has a single TCP listening thread (that derived from the TcpListener object). When a new TCP connection is accepted by this thread, a new client thread is instantiated and a Socket object is passed to this new client thread. The client thread is then responsible for all comminications with the customer's client machine. There are about 100 client thread at this customer's site. The messages that are exchanged with the customer client are XML based. In each client thread object, I have a single method that process ...Show All

  • Visual Studio Team System Unable To Share Files With Team Foundation

    How can I share code files between projects using Team Foundation source control   We currently share code files between projects using the full framework and the compact framework.  VSS has the ability to share, branch, and merge.  TFS only allows branch and merge. When you say 'remove this feature', I'm assuming you're talking about comparing VSS to TFS - as we've said elsewhere, sharing was never designed for TFS. The difference between sharing and the common alternative approach (branching) is that you have no choice but to propagate the change you made in the shared file from one solution to a sibling (as you phrased it). As project/team size increases, this inevitably causes more proble ...Show All

  • .NET Development OutOfMemoryException from nowhere

    I created one desktop application. On some machines if works perfectly. On another - have OutOfMemoryException without visible reasons from many locations. For example 2Gbytes free and OutOfMemoryException at ArrayList.GetEnumerator(). It seems like something limit memory. So my question is: Can .NET Framework limit desktop application memory usage How that limit can be changed or turned off OOM is usually thrown on a box, newarr or newobj. The GC is always getting requests for allocations and has to compete for Virtual Memory (new segments are allocated through VirtualAlloc) CLR itself makes native allocations as well for jitted code, datastructures the CLR needs (including the ones that GC n ...Show All

  • .NET Development SqlCommand.CommandTimeout is being ignored

    I am getting the following exception because of what appears to be SQL command timeout issue: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount) at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount) at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping) at ...Show All

  • Visual C++ Incremental status error for DLL

    Hello, In trying to convert a dll from VC++ version 6.0 I encounter the following errors in trying to build it: 1) warning LNK4076: invalid incremental status file 2) fatal error LNK1181: cannot open input file "odbc32.lib" Can anyone explain this. Thanks. 1) Search for any *.ilk file in your build directory and deleted it. 2) This is a PSDK library. Are you using the Express Edition - if so have you installed the PSDK ...Show All

  • SQL Server Optimize speed of Hosted SQL Server

    Hi, I'm retrieving data in VBA using simple SELECT statements on my Hosted SQL Server. How do I most effectively speed up the process Is it just about data amount, traffic, and speed of Internet conncetion Or should I use Stored Procedures or should I index tables Is there a function to kind of "flush" the data to the VBA program as it is all READ-ONLY Any help is much appreciated, Jakob Would it be possible to run the queries against a local SQL Server that runs on your laptop. That way, you can ignore the network latency, and see if the query is causing the problem. If you use RecordSet, it will keep the connection open until you explicitely close it. Even when you close it, c ...Show All

  • Visual Studio Express Editions Installed Microsoft Windows SDK & now cannot build a thing! What's going on?

    One time trying to build a Forms project I got this error message amongst others: error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup Debug\Rtry070118.exe : fatal error LNK1120 Then New CLR project and many other variations The ONLY source file in the project was this .cpp file! /* memset example */ #include <stdio.h> #include <string.h> int main () { char str[] = "almost every programmer should know memset!"; printf(str); getchar(); memset (str,'-',6); puts (str); printf(str); getchar(); return 0; } Build a CLR emty project with the above code and I get "Unable to start program 'c\documents and settings\dosrelic\my documents\visual studio 2005 ...Show All

  • Visual Studio Team System Error with TFS build, but not when I manually build with Visual Studio

    I created a solution and included two projects into it which build just fine using Visual Studio. These projects were created under my TFS Project. I then created a build task for that solution and the build task fails with the following: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(0,0): warning MSB3245: Could not resolve this reference. Could not locate the assembly "ABS.Common". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. BusinessClasses\EngineExecutionEnumHelper.cs(21,11): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'ABS' (are you missing an assembly reference ) Busin ...Show All

  • Visual Studio SHFB Question: Namespaces dialog

    If I fire up SHFB with my help project, click on the "Namespaces" button. The dialog opens, but I get the following dialog: --------------------------- Sandcastle Help File Builder --------------------------- Unable to find the assembly '<full path to DLL>' or one of its dependencies. You may need to build it or add a dependency to the project dependency list. Do you want to continue loading the remaining assemblies --------------------------- Yes No --------------------------- The path to the assembly is correct and the assembly's one direct dependency is also in the directory. When it loads the assembly and begins looking at the assembly's type, it pulls out the name of the dependency but not the path in ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA FAQ (CN version) BY XNA Union Of China

    A beta of XNA Game Studio Express will be released on August 30th simultaneously on the globe by Microsoft.It 's a set of tools of game developing for the amateur.In order to bring in the timely information and promote the diffusion and development of the xna game technology,the first group of the XNA technology "XNA Union Of China" released the translation of the XNA Gmae Studios FAQ on the evening of August 23.   XNA Union Of China    EMAIL:yc_dc@126.com  MSN:  yc_dc@hotmail.com ——————————— ——————————————     XNA FAQ XNA Framework XNA Game Studio Express FAQ     link: http://game.ali213.n ...Show All

  • Commerce Server Transaction DTS task execution failed

    Hi, I'm having a problem when importing data from Commerce Server tables to the data warehouse. The Configuration synchronization task and the Web server log import task seem to work just fine but the Transaction data import task fails and I have the following error: Transaction DTS task : No new data has been imported for the site <my site name> The whole package is interrupted at this step. Does anyone know what could be wrong I have used CSDWDbgSrv to debug the process but haven't found any significant message. Thanks! I'm running a full import and this is happening in my development environment. I've just figured that this message is shown when I extend the data warehouse to impor ...Show All

  • SQL Server Synonym to stored procedure error

    I've run into a problem using synonyms for storedprocedures and it only occurs when parameters are passed to the "procedure" and the synonym is based on a 4part name ([server].[database].[schema].[procedure]).  Am I doing something wrong or is this a real problem   Anyone know of some kind of work-around --sample code CREATE DATABASE dbCode CREATE DATABASE dbSynonym GO USE dbCode GO CREATE PROCEDURE dbo.test_procedure AS SELECT 'procedure_call' GO CREATE PROCEDURE dbo.test_procedure_parameter(@parameter int) AS SELECT 'procedure_call' GO USE dbSynonym CREATE SYNONYM dbo.test_procedure_3part FOR dbCode.dbo.test_procedure CREATE SYNONYM dbo.test_procedure_4part FOR (serverhere).dbCode.dbo.test_procedure CREATE SYNONYM dbo.tes ...Show All

  • SQL Server Error when deploying report builder model

    I get the following error when I try to deploy a report builder model. The SQL Server 2005 "Reporting Services" are installed and running on the local machine. TITLE: Microsoft Semantic Model Designer ------------------------------ A connection could not be made to the report server http://localhost/ReportServer. ------------------------------ ADDITIONAL INFORMATION: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title> SQL Server Reporting Services </title><meta name="Generator" content="Microsoft SQL Server Reporting Services 9.00.2047.00" /> <meta name=" ...Show All

  • Visual C++ warning LNK4248: unresolved typeref token (01000017) for '_TREEITEM'; image may not run

    When compiling my program which is a windows app and not a DLL, I get this error message under Release mode but not in Debug. Furthermore I can get rid of the warning if I don't use managed extensions (remove \clr) in the project properties. Is there not some releases source code from Microsoft to allow the _TREEITEM and _IMAGELIST object to run in managed extensions I thought the goal from MS was to have us use the managed extensions and therefore I would think that this situation would have been resolved a long time ago. I've read the link where this exact same error is generated with a DLL but this is a standard windows app and therefore doesn't have a DLLMain code. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=7750 ...Show All

©2008 Software Development Network