AKPR's Q&A profile
Visual C++ /clr Static Libs Possible / linking between mananged and unmanaged
Hi, Are static libs built with /clr supported under vs2005 When I link against any lib built this way I end up with unresolved tokens and externals. The same code compiles with no issues with non /clr builds. How are static functions supported They also seem to come up undefined at times. What are the differences when linking against dlls/libs that are built as managed I can't seem to find any documentation regarding t ...Show All
Visual Studio Express Editions LINK : fatal error LNK1104: cannot open file 'oleaut.lib'
I am trying to write a simple windowed program. When I build it gets the msg above. I have searched my disk and "sure nuff", no oleaut.lib. There is a oleaut32.lib. I have no idea where or why either is called. Anyone have an idea what's going on this is my first attempt to build anything with Visual c++ Express. The SDK is installed.... Further info: When I use the search function for oleaut, I get zero references. What is this thing ...Show All
Windows Forms Datagrid for multiple tables
I have a dataset of four tables (actually more than that but for simplicity now) and let's say its table names were A,B,C,D. I put a relation between table A and B and another relation between C and D. I made two datagrids in the VS designer. The first datagrid (which has datasource=ds, datasmember=ds.A) is OK for showing plus sign in front of each row of table A and when I opened this plus sign it showed the relation and child rows f ...Show All
Game Technologies: DirectX, XNA, XACT, etc. marking questions as answerd
If possible, I'd prefer to mark my questions as answered myself. I now had it a few times that my question was marked as answered by somebody, even if I had not read the answer! When I read it I can see if everything is clear to me, then I can mark it as answered. Thanks! Best regards Nico Can you not unmark answers in your own threads There are a number of people (mostly the MS staff and the MVP's as ...Show All
Visual Studio Express Editions Global variables (ish) in C#
in Visual C#, how do you declare a variable so that is visible to any form in my project I used the following code to make an object called myRegistry that can be used to save settings in the correct place: Microsoft.Win32.RegistryKey myRegistry = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("software").CreateSubKey("RockGem"); What would I have to do so that i declare this once and then am able to use it in any fo ...Show All
.NET Development What software do I need for .NET
I'm a software developer for a large corporation that wants to learn .NET. What software do I need to install on my home computer I'd like a full professional development environment but I'd be the only one using it. Is there anything that MS produces that's not a hobbled student version yet less expensive than full blown team software Thanks, John alternatively, you take MSDN Pro subscribtion http://msdn.microsoft.com/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Don't draw a triangle with april 2006
Hi, I'm a beginner in the DX programming. I'm trying of draw a triangle in a full screen, but I don't where is the error, I only see a full screen display with out the triangle Can't U help me private void RenderFrame() { m_device.Clear( ClearFlags .Target, Color .Navy, 1.0f, 0); // Render frame here GraphicsBuffer < PositionColored > m_verts = new GraphicsBuffer < PositionColored >(3); m_ver ...Show All
Microsoft ISV Community Center Forums What is Team Suite Trial Edition?
I'm looking at the MSDN subscription downloads and I can see a Team Suite Trial Edition as an Empower subscriber. However there are no details on how long the trial lasts Anyone enlighten me It takes hours to download these things so I'd rather know first. Also since we are already saddened to know that empower people won't get Team System and its looking like even if we certify we won't necessarily get it, is it worth prolon ...Show All
Visual Basic Automatically remove unused events
Is there a setting on the IDE to remove unused events when a project is built I've come from a borland background and loved the way that when I accidently created an event it would be removed automatically by the ide if it wasn't used when I compiled the project. not that I'm aware of, though there are 3rd party tools such as http://www.aivosto.com/project/project.html that can do this (and much more) ...Show All
Visual Studio 2008 (Pre-release) An AsyncCallback threw an exception
Hey! I've built a service with AsyncCallback (via http with WSHttpBinding). I want to do exact the same thing with tcp and NetTcpBinding but I'm getting an exception: "An AsyncCallback threw an exception" Is this possible or is that just a bug in January CTP Thanks. [melack] Hi Am also getting the same error...i have created WIndows Service & d ...Show All
Visual Basic VBA Shell Function / Windows API Createprocess ()
I am trying to use the Windows API CreateProcess() to start a program within a VBA application. I have hit problems. Now going back to basics and trying to launch program, with parameters, from the VBA shell function. The appication starts sucessfully without the parameters ie Retval = Shell("C:\Program Files\FastCut\FastCut",6) Including parameters Retval = Shell("C:\Program Files\FastCut\FastCut 12345.txt,1,5" ...Show All
.NET Development Looking for 64 Bit computation in VS 2005
I tried a test program with VS2005 in the 64 bit windows on AMD 64 by calling Math.cos(1) function, and I compiled the program under the 64x platform setting, but when I stepped and looked into the cpu registers, only lower half of the registers was used, the upper half was filled with zeros. VS 2005 claims to support 64 bit, is this the way it suppose to support it By using only half of the register ...Show All
Visual Basic 'nother new to .net question - Time Functions
does VB.NET have a built in function or namespace to get the date in a "Star Date" style single number, like 54285.34 (prefered for quick storage) If it does not, how about a function to add to a time or date looking for an easy way to figure out when x number of hours/mins/days/weeks/months/years/etc have passed from the time that was saved and if there is a quick way I really don't want to have to reinvent the clock so to spea ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a new texture fails with "first chance exception"
I have an application in which I create a texture to later write directly into. It works fine on my development machine, but on the target machine it fails with A first chance exception of type "microsoft.directx.diretct3d.invalidcallexception" occured. The code looks like this texture = new Texture (renderer.Device, 720, 576, 0, Usage .None, Format .A8R8G8B8, Pool .Managed); The pixelformat is the same as the device. ...Show All
Software Development for Windows Vista Win32 - Owner Drawn Menu?
I'm trying to spiff up this GUI a bit and paint a rebar background behind the menu. I would rather do this than craft a menu from a toolbar because I don't think the menu should be dependent of the rebar encompassing the toolbars anyways. How should I go about doing this Is the menu technically part of its owner's frame If that is the case I can handle WM_NCPAINT. Or is there some notification that I wasn't able to find that notifies when the me ...Show All
