blixt174963's Q&A profile
Visual Studio linking with libc
I'm using the linker and libs from the DDK, and I can't for the life of me get my NASM object files to link with libc. I've tried the single threaded, multithreaded, release, and debug versions of the crt libs and I always get something like: Microsoft (R) Incremental Linker Version 7.10.4035 Copyright (C) Microsoft Corporation. All rights reserved. libc.lib(mbctype.obj) : error LNK2001: unresolved external symbol @__security_ch eck_cookie@4 libc.lib(output.obj) : error LNK2019: unresolved external symbol @__security_che ck_cookie@4 referenced in function __output libc.lib(input.obj) : error LNK2001: unresolved external symbol @__security_chec k_cookie@4 libc.lib(write.obj) : error LNK2001: unresolved external symbol @__security_chec k_coo ...Show All
.NET Development Can someone explain to me what is the real world use of ExecutionContext?
All I read was that this it is really an encapsulation of the call context, security context etc of the current thread. looking at the documentation, found that there are methods like SuppressExecutionFlow suppresses any security permissions /restrictions that otherwise would have been automatically (by CLR) tranferred to a say worker thread from the main thread. But why would you wanna do that I guess what I am asking is that has someone really found a use for this class. If so, can you please share the experience/scenario. I am curious. You (i.e. a typical developer) would never directly use this class. However you will use components that rely on it all the time. Any time the context needs to be moved between threads this class ...Show All
.NET Development windows 2003 server x64 + .net2005 + asp 2.0, and 80040154 error
Dear experts, I met a very strange question, I created a web application with vb.net, which added a reference to an extra component, and I could run this application in debugging mode in the visual studio 2005 environment smoothly, but once I published my web application to the IIS default web directory, I alwalys met a 80040154 error. I tried adding IUSER_MACHINE to administrators group, error remained, I tried the same situation on the windows 2003 server x32 platform, no error was occurred. Who knows the secret about Microsoft 's x64 platform Best Regards, Shang ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Create a Model dynamically?
Hi, I'm trying to import an iges file, and display in 3D, etc.. I've loaded the iges file and tessellated the faces, that gives a me serious of triangles. I can draw these primatives, but unfortunately I don't have the normal's and thus all the triangles come through as a single sold color. I would like to create a Model with the given vertices, and it seams that the Model will also generate the normals that I need to have a nicely shaded model. The problem that I have, is how do I create a Model dynamically without using the content processor (as I need to import & convert iges at runtime - I've created a MeshContent, but with limited access to the internet, I couldn't figure how to get this into a Model). Any ideas ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game deployment on Windows XP?
Hi, I'm currently developing using Java, OpenGL and Collada, but considering trying XNA. However I have been unable to find info on what is needed to deploy a XNA game on Windows XP. I gather the user needs .NET 2.0, DirectX 9.0c and XNA itself. Does anyone know how cumbersome it is to deploy these (both for me the developer and for the enduser). Is it possible to make an installer containing all these or does the end user have to go to MS and download these separately I remember looking at DirectX some time back, where there was an issue getting the latest dx9x utility library installed on the end user's machine as the license did not allow redistribution of the lib, but maybe that has been solved With Java all that is needed is the JRE ...Show All
Visual C++ help needed to create flicker -free animation
hello !!... i need your help to create a flicker free animation with visual c windows application...i am a newbie..no MFC please....APIs would help...thanks in advance well, i thought back buffering was explaing in the previous posts! anyways, here is the solution... i am assuming u know how to create hdc, bitmap and how to use SelectObject on it... suppose, you want to create a bouncing ball program, u hav one bitmap for ball, one for background and one more as a "back buffer". Problem: the flickering is seen because you are calling erase and then u are writing first ur background and then ball on the device context.... the erasing creates the problem. so wat u do is, 1. Blit the invalidated(th ...Show All
Visual C++ VS .Net 2005, how to disable intellisense...
Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra Try going to Tools menu -> Options ->Text Editor -> C# -> Intellisense and uncheck the option "Intellisense pre-selects most recently used members". Then click OK. Does this help It does not disable Intellisense, but it should turn off background upates to the recent list. If you are fcing more problems please mention what's your machine configuration, and how large a project size you are working upon. Regards, Saurabh Nan ...Show All
Visual Studio VS 2005 Pro upgrade?
I have VS 2005 pro full version bought and paid for. Is there a way to upgrade to the MSDN subscription without having to buy VS pro again Thanks for any answers. According to the Upgrades and Subscription Renewal Information page ... no. Given that the majority of the folks around here are coders and not licensing experts... you may want to contact the MSDN subscription folks directly . ...Show All
Visual Studio Error from MRef Builder
I'm getting this error: MrefBuilder (v2.2.61208.1447) Copyright c Microsoft 2006 Error: Unresolved assembly reference: Interop.DSO (Interop.DSO, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null) required by xxxxxxxxSANExtraction NDoc didn't seem to care. This is a DLL that is installed by the installer but is not needed to compile this assembly. Any recommendations Hi Paul, I am not sure how nDoc does it's reflection. If it didn't care then I am not sure how accurate the reflection information is going to be. For MrefBuilder you have to specify the location of the assembly using /dep option. In Sandcastle we use CCI (Common Compiler Infrastructure) for assembly reflection. MRefBuilder (a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Exception throw by GraphicsAdaptor???
Hi, I am getting a weird exception throw from 4 PCs that have the XNA 1.0 redist installed. I have a development PC that is executing the game perfectly, but the other 4 PCs (Windows 2003, Vista and XP SP2 based) throw this exception: The type initializer for 'Microsoft.Xna.Framework.Graphics.GraphicsAdapter' threw an exception. Is anybody else having this problem The project I am distributing is just a WindowsGame project, unaltered. Peter D. wrote: do these machines have .net 2.0 installed as well as the xna redist All of them do. ...Show All
Visual Studio 2008 (Pre-release) Serializing an image data type
The image property (Decorated with [DataMember]) of an entity is in a custom collection. How to serialize an image using [DataMember] and send it across WCF service. Please give insight on the same Hi, You can specify the image as byte array. You have the serialize the image first using for instance the BinaryFormatter serializer and then, assign the resulting byte array to the [DataMember] property. (This article shows how to serialize the image, http://www.eggheadcafe.com/articles/20040721.asp ) [DataContract] public class MyDataContract { private byte[] _myImage; [DataMember] public byte[] MyImage { get { return _myImage; } } } Regards, Pablo. ...Show All
Visual Studio Team System CodePlex and Source Control Issue
Hi, I have had no problems with the VS2005 plugin integration, have been able to add, check-out, check-in, etc, until today. I accessed another solution from a local (LAN) VSS database, which I have since closed. And now when I connect to CodePlex project, I can see the project including loading the Source Control Explorer, but right clicking on ANY folder or file pops up a context menu saying "No commands available", and the entire SCE toolbar is also disabled. How do I re-enable the menu items I'm assuming the Source Control plug-in is pointing to the local VSS database instead of the TFS plugin. How do I change that Bit of extra info... the files I'm working on are CodeSmith template files and are th ...Show All
Visual Studio 2008 (Pre-release) Tools for WCF
First off, let me say, WCF is a dream come true. Its everything I've been wanting to develop distributed apps. Now that wcf is live: http://wcf.netfx3.com/blogs/news_and_announcements/archive/2006/11/08/We_2700_re-done.-WCF-is-live.-.aspx#comments I'm wondering how I should develop applications to take advantage of this new framework In general, I do not think its a good idea to run code developed using beta/ctp's in a production environment (licensing/support etc.). There are a few exceptions to this, but in general, I like to sleep at night, knowing that I'm running code developed using supported tools in the event that something does go awry. And to be honest, I cannot make the pitch to my boss saying we should run beta/ctp ...Show All
Visual Studio Express Editions Printing PDF Files in VB
I am trying to create a program that searches a directory and based upon the pdf file name assigns the file to a specific drawer and assigns number of copies of the file I wish to have printed. ( I am printing paperwork and the different trays contain different types of paper so the tray references matter) I have the setup of the file to the point where I can print blank pages from the correct drawers. How do I open/send the pdf file to the specified Post Script Printer with my variable printer settings on the network I have use a PrintDialog object for my printer setup to this point and have a list of filepaths for the files I need to print I don't have an issue assigning the files in the combo box ...Show All
Smart Device Development Accessing GPIO input
Hello, I'm not shure, if this is the right group for posting this question, but maybe there is someone who can help me. I'm progamming on Windows Ce with the compact framework on the "Wafer-LX-800"-Board (have a look at www.ieiworld.com; it has an "x86"-processor) and I need to read the GPI0 ( its Pin7 at the GPIO connector and it should be defined as input). But how can a do this by using C# I've already searched the web. The most promising idea was the use of the class "PysicalAddressPointer" of the OpenNetCf-Library ( www.opennetcf.org ). But I failed in finding out which adress to use and how to "read" the nececarry pin. I would appreciate any help! Sabine ...Show All
