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

Software Development Network >> Andrea N.'s Q&A profile

Andrea N.

Member List

ChaCh
DamsDev2007
TMF
BeaverMan
Linton
Flecko1
Badhris
Jonesie
Raros
Billl
Bob C
Anabhra
SnakeSV
Blair Allen Stark
Yuva
George2
Tom Frey
yeowsing
IIM
Prajakta Chavan
Only Title

Andrea N.'s Q&A profile

  • Visual C++ Calling VC# dll class/function etc. in VC++

    Hi all, I have a managed VC# dll and I am using it in my VC++ code as #using "mcMath.dll". ( And I am not getting any build errors, thanks to the experts in this forum)..Now I want to call the function in the dll .... how do I do that I have tried creating an instance of the VC# class but that gives an error !!! My dll class looks like ... public class Class1 { private bool bTest = false ; ///// <summary> ///// //This is a test method ///// </summary> long Add( long val1, long val2) { return val1 + val2; } /// <summary> /// //This is a test property /// </summary> public bool Extra { get { ...Show All

  • Smart Device Development How does the CF allocate memory

    I wanted to test for any memory leaks in one of my C# apps. The app is built on an existing native C++ API in DLL form which has been tested for memory leaks and passed successfully. After some tests using GlobalMemoryStatus it looked like the C# app was leaking memory. So I built another small C# app that just has loops and makes a call to the API and displays the amount of free memory. For about 2.5 Mb it would sporadically eat memory and then it stopped. No more memory was allocated. There were no other applications running in the background. I just want to know if this is a property of the CF or the garbage collector. How do these allocate memory On a side note if anybody would like me to post the code for GlobalMe ...Show All

  • Smart Device Development Backup/Restore Tool for Windows M

    Hi All, I have a query here – My objective is to develop a Backup/Restore Tool for Windows Mobile. Our prospective client suggested that we use the following APIs in our approach. BOOL WINAPI GetStoreInfo( HANDLE hStore, PSTOREINFO pStoreInfo ); BOOL WINAPI GetPartitionInfo( HANDLE hPartition, PPARTINFO pPartInfo ); My questions are these – How do the above APIs fit into a Backup/Restore System We looked at the documentation of these API calls on MSDN but could not find any example code/project samples to help us use the API calls in any such system. Can you provide us with leads to such resources Is it possible for you to advise us on developing a Backup/Restore s ...Show All

  • Audio and Video Development sAPO source code modification problem

    I'm trying to use sAPO which is introduced in Windows Vista. Though, I had some trobule in compiling them, finally I was able to compile and install it on my computer. But the problem is that I don't think that it is not working properly. The sample which Microsoft gave me is just to switch channels. I added some more code which makes every sound output to white noise (0.00f ) in that sample. and added some code which shows message box whenever users click check boxes on property window. It looks like both of modification does not work properly. Anybody succeeded in this sAPO sample modification I just want to know if there is anything wrong with the provided WDK samples. Please, tell me anyone if you succeed in these things. ...Show All

  • Visual Studio 2008 (Pre-release) How do I pass credentials in an IIS Hosted WCF Service

    How do I pass credentials in an IIS Hosted WCF Service Can I pass the credentials in the client code instead of the client config. What would that look like What do I do to get the Service to accept those credentials I am sorry. I am a beginner. Most of that went over my head. I have the following client code: // Open channel to the service Uri uri = new Uri("http://10.14.1.50/JOHN1/service.svc"); // ChannelFactory<HelloService> factory = new ChannelFactory<HelloService>(new WSHttpBinding(SecurityMode.None)); ChannelFactory<ICalculator> factory = new ChannelFactory<ICalculator>(new WSHttpBinding()); ICalculator p = factory.CreateChann ...Show All

  • Visual Studio Express Editions Help move exe to another PC

    Hi everybody. I'm using VB C++ 2005 Express I got a problem moving my exe file to another computer, and I wonder if anybody else has had the same problem. When I move the file and execute it, Window come up whit an error messaged. I have installed VB Run-Time and updated .NET framework to 2.0 one the computer but I can’t get it to work. I hope someone can help. I already installed Run-Time 6.0 and .NET framework 2.0 one the other computer but I still won’t run the application. ...Show All

  • Visual FoxPro Grid check-box...

    Hi All, I am using a grid on a form which has a check-box included. My problem is when the users are navigating through the grid if they hit the return key when the check-box has focus it automatically checks the box. How can I prevent this from happening to ensure they must use the mouse to check the box rather than the return key. Thanks for the help, Pablo Jord. Can I override the keypress event i.e. get the application to ignore the value keyed or should I include code to check if the return key has been hit and then set the check-box to false. ...Show All

  • Visual C++ Error while compiling (C2664)

    Hi, I have this piece of code which I am trying to compile in VS 2005. ///////////////////////////////////////////////////////// TCHAR * strGuid = NULL; UUID myUUID1; UuidCreate( &myUUID1); UuidToString( &myUUID1, &strGuid ); ////////////////////////////////////////////////////////////// This compiles OK in VS 6.00 but it gives an error in VS 2005 (The project setiings has _UNICODE & UNICODE defined). Any help is welcome :-) error C2664: 'UuidToStringW' : cannot convert parameter 2 from 'TCHAR **' to 'unsigned short **' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast The declaration in the headers ma ...Show All

  • Visual Basic Pulling Web info from XM Radio or sirius Radio......

    Hello, Is it possible to pull the info displayed from either XM or Sirius Web radio's Example: I am loged in and listening to a Song and I like it I would like to hit a Hot-Key that activates a VB program to pull the Song name - Artist and album info. ( I would be awesome to record the music but I will not get a head of the game) .... Can only one put me in the correct direction I know VB but know nothing about Web programming. Thank you..... ~M Open up Media Player (I have version 10), and click the Stores dropdown icon (in the top right). It will give you a long list of online stores. Find XM Radio Online in the list and click it. (You may have to click Browse all Online Stores ...Show All

  • SharePoint Products and Technologies How to fix error:Visual studio.net must be installed before you can install the web part templates

    I downloaded web part templates. When install it, I got error as below. VS2005 and sp1 were already installed before. Visual studio.net must be installed before you can install the web part templates How to fix it ...Show All

  • Windows Forms Arbitrary child controls of DataGridViewRow

    Hi, I've been customising the DataGridView in order to make it work like the ones in the WSUS admin pages where a row can be expanded to show a completely new control. Only I'm trying to make it work in Windows Forms. I'm most of the way there, but I've hit a problem. As neither DataGridViewRow or DataGridViewCell inherit from Control, I have to make the DataGridView the parent of each child control and update the control bounds every time the rows paint. This causes a lot of sluggish movements when scrolling and also a problem when scrolling the row off either end of the window. I think what I need to do is somehow create a row that can be assigned as a parent to a control but as I can only inherit from one class I'm kind of stuck and don ...Show All

  • Visual Studio Express Editions declaring arraylist

    How do i declare a arraylist variable in c++/cli. and i need to initialise 10 elements in it. How is done and how am i to get the value and gcnew it to array int a[3]={0,0,0}; a is variable name. To retrieve it a[0] is get element 1 a[1] is to get element 2; a[2] is to get element 3; a[3] declares end of array. ...Show All

  • Visual C++ how to install/register a windows service programatically?

    hi, I have created a windows service using ATL wizard in visual c++ 6.0. How do i register, start and stop the service programatically Is there any other way to create a service( not to be an exe) Hello Re: how to install/register a windows service programatically Such questions (on VC++ 6.0 programming) are outside the scope of this forum - for the scope of the VC Language forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=789657&SiteID=1 For such issues please use an appropriate newsgroup, potentially one at http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Embedding resources: Is it the answer for screensavers?

    Hi all, I'm about 90% finished with my XNA Starfield screensaver, and I'm wondering what the best solution is for storing my textures and whatnot. I think it'll be very clunky to add any content files to the System32 folder along with the .scr, so I've been trying to come up with a good spot for them. Wouldn't it be best to embed the files within the .exe and just load them from there I'm trying to get confirmation on this, as I've already found a guide for loading embedded files here: http://www.plasmaflux.com/Tutorials/Embedded/Embedded.htm Note: I've currently got my screensaver saving its configuration data to the user's Application Data folder + '\XNA Starfield\settings.dat' (via basic .NET file I/O stuff). Is there a better place th ...Show All

  • Audio and Video Development Questions on DXVA2.0 and Media foundation

    Hi 1. How does IDirectXVideoAccelerationService, IDirectXVideoDecoderService and IDirectXVideoProcessorService differ 2. Will IDirectXVideoProcessorService make it possible to program the Video Processor as such on the nVidia Geforce 6/7 series, so ISV's could implement their own algortihms for tasks like noise reduction and deinterlacing 3. How does the different DXVA2_SURFACETYPE's differ 4. What are the main differences between the Enhanced Video Renderer and the Video Mixing Renderer 9 5. When can one expect to see more documentation ; ) Regards Mikkel Up. This questions are very important for me. I want to know if it's a good choice to upgrade to Media Foundation, with better de ...Show All

©2008 Software Development Network