MatthewE's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Compile error C4430
I am writting C++ Form Application using Visual .net 2005. I tried to use Direct3d to draw some simple 3d polygons, but i always got the following errors: Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft directx sdk (february 2006)\include\d3dx9math.h 787 I include the following files: #include " d3dx9.h" #include "D3d9.h" Direct X version in my machine is: Microsoft DirectX SDK (February 2006). Dont know if anyone can help me out of this. I've been struggling in this for several days. thanks! ...Show All
SQL Server Porting IFilters or Wordbreakers from 32-bit to 64-bit SQL 2005
(repost) We have a custom wordbreaker coded and working in SQL 2000 32-bit, and are trying to get it to work in SQL 2005 64-bit. A simple cross-compile as an IA-64 dll worked with no errors, but getting SQL to load or use the file is proving difficult. To make things worse, the LRTEST.EXE that ships with SQL 2005 32-bit seems to be missing for the 64-bit version of SQL 2005, making diagnostics on any wordbreaker or ifilter next to impossible. The registration and where to put the bits in the registry has obviously changed, and the only clue I could find relating to installing a custom word breaker is here: http://blogs.msdn.com/sh ...Show All
Visual C# To choose between C# and VB
I wish to start learning either C# or VB Express Editions. The aim is to write applications to communicate with 'homebrew' hardware on the serial port,or better still, USB. The communication requirements are modest - several different trigger signals to the hardware, read pushbuttons on the hardware, or collect slow speed data. I would appreciate advice on the trade-off between the learning curves for C# and VB versus their communication capability. My programming background is intermediate level on embedded controllers using a form of Basic. Thanks in anticipation. One other point of interest is thi ...Show All
Windows Live Developer Forums API Questions
I've run into a couple of issues in my development. Both are easy enough to work around but I'd prefer clarification if possible. The first issue is with the response. I seem to be getting a garbage character at the beginning of my response stream. This is preventing me from duming the response directly into the XmlDocument.Load() method. To verify I wrote a console stub and dumped the stream to the screen and it shows as a " " there. I've worked around this by writing the stream to a string then checking for the first occurance of the "<" and passing the substring from there into the .LoadXml() method instead but it feels very hackish ...Show All
Windows Forms use ActiveX ctrl if available
That must be a common scenario, but I have not found anything about it: I want to use an ActiveX control if it is available, e.g. the "Microsoft Excel 11.0 Object Library" to export some data shown on the screen to Excel and show the new document. If the ActiveX control is not installed, so probably office is not installed, I do not want to offer that feature in that installation. What is the right way to approach this scenario Having created a helper class by importing the object, I'd have thought you could try to create an instance and if it works, then it's available ...Show All
SQL Server SQL Server Agent: Job Fails with No Reason in less that 1 sec
I have a job that fails after less than 1 second with out any reason as to why it has failed. The job consists of a single package execution. I have imported the package in into SSIS the filesysstem and the MSDB and get the same error. I have ran the package from the filesystem and MSDB by right clicking the imported package and chosing 'Run Package' - It Works... So there is nothing wrong with the imported package the issue lies when I create a job. I have tried creating new jobs with the same problem. Has anyone got any ideas Also when you when you get the very useful error message 'The package execution failed. Th ...Show All
Visual FoxPro Data Environment
Is there any way when i drag fields from the data environment to a form that they can be comboxes insted of text boxes without manually changing them Hi Crossow, Try multi-selecting the fields in the Data Environment and then right-click and drag. When you get to the form choose "Create Other Control Here" and navigate to your class library that has the control you want to use. I don't see a way to choose a different VFP base class, but in any case you should be working with your own subclasses of the built-in VFP base classes. ...Show All
Visual Studio List of breaking changes in code with Crystal Reports 9 shipped with Vs.Net and XI
Hi, Is there any document which has a list of breaking changes in code when porting from Crystal Reports 9 to XI. We have reports developed in version 9 for ASP.Net and would like to know if there is any rewrite in code required or will it function as it is in XI. Thanks -Sai Hello, There are no breaking changes in code that I am aware of when upgrading from Crystal Reports for Visual Studio .NET 2003 to Crystal Reports XI. However, as with any upgrade I would still recommend that you still invest time in testing the updated application. Keith - Business Objects ...Show All
Microsoft ISV Community Center Forums EULA for sdk tools
Hi, I need information about license for sdk and .Net tools. I need two tools from Microsoft to be distributed with my application : resgen.exe from visual studio 2005 and al.exe from the .Net framework. Both aren't installed with the framework 2.0 runtime. Is there agreement for those kinds of tools Thanks -joel Hi Joel, Since licensing has many variations, I'd suggest that you speak with someone on the Microsoft Volume Licensing team to determine exactly what the licensing requirements are for your specific application. Here's the contact info: ...Show All
Visual C++ linking problems (invalid or corrupt file)
Hello experts! I was testing compilation programs with dlls. So I have created simple dll with header: int sum(int size) { return size*2; } And I have compiled it. I have also created simple console application using this library. In project options I have added headers path and libs path, but I have linking errors: Linking... C:\Documents and Settings\Jacek\Moje dokumenty\Visual Studio 2005\Projects\mylib\release\mylib.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x278 Please help, I don't understand this error and I don't know what to do. Greetings Are you using Visual C++ 2003 or ...Show All
Windows Forms Unselecting text when entering DataGridView cell
When a user clicks on a DataGridView cell to enter edit mode, the contents of the cell is automatically selected (i.e. all the text in the cell is highlighted in blue). How can I stop this Is there a way to make it so that when they enter edit mode, the cursor is just placed into the cell without highlighting the text. Is there something I can do in the DataGridView.CellBeginEdit event, or am I looking in thw wrong place Set the DataGridView's EditMode property to EditOnEnter http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.editmode.aspx ...Show All
Visual Basic How can I prevent any type of pasting onto a txtbox.
How can I prevent any type of pasting onto a txtbox. Thanks William I'm curious to see if this has solved your dilemma. Let me know, if you don't mind, if this solved your problem. Thanks! ...Show All
Visual Basic 2 Internet Connection
Hi, I want to use 2 Internet connection each with diffrent IP with 2 wisock control for for each connection. the problem the newer connection is the active forever and i cannot send data through the older one. can any one help me. Food for thought for the original poster. In service to the community, we've posted suggestions at the top of the forums on how to get an optimal response to your question and how to assist us in helping you. We encourage all of the community members to read these suggestions because they help everyone. Thanks !!!! :) ...Show All
Visual Studio Language addin
Hi guys, i have a language addin for VS2003. The only info i had when writing it was the Babel example & document that came with the VS2003 extensibility SDK, and this is what my addin is based on. The Babel doc contains a good but limited quantity of info. Is there any better or more comprehensive guide out there for language extensions The two most important things i am trying to find are the required registry entries for my addin - it works but i want to make sure i have a correct and complete install. And i would love to know how to introduce collapsible sections (regions) into my language - simple things like that can add hugely ...Show All
Smart Device Development GPS sample and Windows Mobile 2005
hi, i found the GPS example on the SDK for Pocket pc for C#. i have no problem deploying it in my pocket pc - MDA PRO. but when i select menu item 'Start gps' it only says 'StartingUp' and does nothing else. my PocketPC is already paired with the GPS receiver. will really appreciate if anyone can help me with this. will also appreciate if anyone can point to some other sample example to connect to bluetooth gps receivers. regards, rnv Have you gone into the GPS Settings applet, and set up the COM port that your Bluetooth GPS is connected to ...Show All
