bslim's Q&A profile
Software Development for Windows Vista Errors in winnt.h file using visual c++ 2005 express edition and mar. 15 sdk
Hello. I get the following errors when I try to include winnt.h in my code. I tried using the newest sdk as well as the previous release, and both files seem to generate the same errors. This must be a common problem, but I haven't seen the answer. I'm including stdio.h, xlcall.h, windef.h and winnt.h in my code. Maybe I need to include another header. Any help would be greatly appreciated. Thanks. C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h(3857) : error C2146: syntax error : missing ';' before identifier 'ContextRecord' C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h(3857) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in ...Show All
Audio and Video Development MediaPlayer 11 and Vobsub, problem
I recently use Vobsub for my .avi files, the subtitles do actually show up, bu the problem is that they appear twice. Once written in normally and a second time in an annoying blackbox on the button on the screen. I don't seem to be able to loose the blackbox. thanks, The reason you are getting the subtitles appear twice is because Windows Media Player is displaying the contents of the subtitles file on the bottom of the screen AND vobsub is displaying the subtitles within the video iteself (after you mux). Two get rid of the small text subtitles displaying at the bottom of the screen, on the WMP menu go to: Play > Captions and Subtitles > Off. ...Show All
Visual Studio Express Editions Webbrowser icon problems
how can i make the icon of my form turn into the favicon from a site that gets navigated to Download the icon, image, or whatever it is, and use that. You will have to store it locally, somehow (cache). The header of the web page should tell you where the file is located on the server. ...Show All
SQL Server VIEW
Hi everyone, I do not undestand why we specify the owner of the table while creating views from different databases. So would anyonee please explain why we specify the owner CREATE VIEW parcal AS SELECT pub_id FROM pubs.dbo.titles UNION SELECT orderID FROM Northwind.dbo.orders That's because you need 3 part notation (DB Name. Object Owner, Object Name) and 4 part if you go accross servers You can use .. if you want CREATE VIEW parcal AS SELECT pub_id FROM pubs..titles UNION SELECT orderID FROM Northwind..orders Denis the SQL Menace http://sqlservercode.blogspot.com/ ...Show All
Visual Studio Cannot post
Every time I try to reply to a posting, I get an "unknown error" message. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=649197&SiteID=1 please do not create duplicate posts. Also, try to delete your temp internet files and clear out your cookies to see if it helps ...Show All
SQL Server Installing SSIS with SQL Server 2000
Hi All, I have installed SSIS on server running SQL 2000 but I don't see the Business Intelligence or SSIS. I could see the SSIS service is running but do not see VS or BI version of VS. Any ideas Thanks in advance. Fahad, I didn't see the option to install BI Dev Studio from VS 2005 installation. Do I need to install full VS to get the BI Dev Studio Please advice. Thanks. ...Show All
SQL Server URGENT: Error Message: The user is not associated with a trusted SQL Server connection
We have currently migrated our Reporting service Server to a new Domain. We also have renamed the server. Now when we go to reporting services we are getting this error message below The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help Login failed for user ''. The user is not associated with a trusted SQL Server connection. We believe we have added the new user account to everything, but we are missing something. Can someone tell me what to change when you convert a machine from one domain to another and rename it Thanks I had much more luck by using a sql login ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Redistributing XNA executables
I have a question is the result of the Release build folder (bin\Release) sufficient if I want to distribute an XNA appplication to another computer. The folder contains an XNAFramework.dll, but the other computer doesn't have XNA Framework installed. Is there an XNA redist executable What other dll's should I include. I tried as it is, (with only the xnaFramework.dll) but it doesn't seem to work please help I've had a little luck with including the dlls in: < .\Program Files\Microsoft XNA\XNA Game Studio Express\v1.0\References\Windows\x86\ >, namely, Microsoft.Xna.Framework.Design.dll and Microsoft.Xna.Framework.Game.dll and their corresponding .xml files ( Microsoft.Xna.Framework.dll ...Show All
SQL Server How to call the processing of a cube ?
I need to automatically process a cube. Do I have to use an Analysis Managment Object (AMO) Otherwise, I know that it is possible to create a Sql Agent Job to run periodically, but I don't want to schedule this task. In fact, I need to "call" the processing of my cube, wich will run between other jobs. The "caller" is a Visual Basic 6 program from wich I am able to launch .exe files. thanks Here are a couple of articles I published with step-by-step setup for the DTS / SSIS scenarios involved: For SSAS 2k (DTS): http://www.databasejournal.com/features/mssql/article.php/3503201 For SSAS 2k5 (SSIS): http://www.databasejournal.com/features/mssql/article.php/3584306 Good Luck! Bill ...Show All
Smart Device Development Storage Card File System Errors on Device Emulator
Hi I am having trouble with the Device Emulator mapped Storage Card File System. I am running a CE 6.0 image in the Emulator. I am in particular intermittently getting failures to open files for writing with the CREATE_ALWAYS flag. Delving into the VCEFSD driver, the problem is due to the initial Find call in the VCEFSD_CreateFileW function indicating that the file exists, when it doesn't really, and later it tries to delete the file and fails because it doesn't exist. Additionally, there are 2 calls to VCEFSD_GetFileAttributesW by code in CreateFile before the VCEFSD version is called, and both these call indicate the file does indeed not exist. Any ideas I have looked at the Shared Source for the Device Emulator V1, but haven't seen anyt ...Show All
Visual Studio Express Editions VSC++ Question
I want to use vsc++ for c programming but when i do the gui project it compiles with cpp so how can i foce it to use c files instead of c++ files Note, that with very few exceptions, almost every C program can be compiled as C++. You can write a C program, even though it will be compiled as C++, and it will still work. For example, the Hello World program: #include <stdio.h> int main( void ) { printf("Hello World!\n"); return 0; } is both a C++ and C program. And for those few times where C and C++ do conflict, it's usually because the code is unsafe. #include <stdio.h> int main( void ) { printf(L"Hello World!\n"); // This code compiles under C, yet it has ...Show All
Visual C# Wrong overload being called
I have a class with two methods, one of which overrides a base class method: public override void Write (byte[] b) public void Write<T> (IList<T> b) Then make the call: byte[] bArray = new byte[] {1,2,3,4}; myClass.Write (bArray); ... but it is the Write (IList<T>) which gets called, even though Write (byte[]) is an exact match. This seems very wrong! Full compilable example below: using System; using System.IO; using System.Collections.Generic; p ublic class TestClass : BinaryWriter { public override void Write (byte[] b) { Console.WriteLine ("Write(byte[]) called"); } public void Write<T> (IList<T> b) { ...Show All
Community Chat Any language supports Counter?
On a lot of occations, I want to use a counter like Counter(3). It ranges from 0 to 2. I can add any number to it. If I have 4 when it is 0, I get 1. It will be cooler if I can subtract 4 when it is 1, and I get 0. And, of course, I can define the Counter count at inistailzation stage. Is there any language supports this data type by nature I don't want to define the data type myself. Thanks. I don't know of any language which intrinsically supports this, but that doesn't mean one doesn't exist. You say you don't want to build this data type yourself -- any special reason why not Obviously if you're working in VB you don't have the option, but in C++ this should be a fairly trivial thing to implement, ...Show All
Visual FoxPro CursorAdapters and UDF in FoxPro 9
Hi, I like to know if is possible to create a Cursoradapter (ADO) with a select CMD using a function. For example if I have a function concat(par1,par2) that returns par1+par2. I like to use as select command something like select concat(lastname,firstname) as name from personal Thanks Ivan Thanks for your answer. Using the builder interface I can create cursoradapters with functions in the SelectCMD with NATIVE cursors, but I can not do it using ADO cursors. It sound logic because ADO is using external FOXPRO programs or DLLs, I was wondering only if there is a way to intercept or extend those DLLS, but in the same way it sound more complicated. I think that with NATIVE cursor are good enough. Tha ...Show All
Visual C++ Running dotnet applications on other machines
Hi everyone, I have a very big problem: I developed an application (with forms) in Visual C++ Express Edition (that is using .NET framework). The problem is that this application doesn't work on other machines but mine, even though they install .NET framework (version 2.0, it is about 20 MB). How is it possible How can I solve this problem Thank you very much I'm sorry, even though I read the thread, I cannot still understand what is the file you are speaking about...Can you be more precise Thank you. ...Show All
