<rss version="2.0" xmlns:dn247="http://www.dotnet247.com/schemas/rss"><channel><title>.NET 247: microsoft.public.dotnet.languages.vc</title><link>http://www.dotnet247.com/247reference/__site/87</link><description>microsoft.public.dotnet.languages.vc on .NET 247.</description><generator>.NET 247/WinFX 247 RSS Generator</generator><dn247:id>87</dn247:id><item><title>access .NET thread to get Principal / Identity ? (9 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293861.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293861.aspx</guid><pubDate>16 Sep 2004 00:47:14</pubDate><description>is that possible from a C app? thank you. Greg </description><dn247:id>293861</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>System::Random and seed question (8 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293752.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293752.aspx</guid><pubDate>16 Sep 2004 00:47:14</pubDate><description>I was wondering how you can save the seed that System::Random is currently on?? I'm hoping to be able to save the random seed, and load it later and give the exact same random numbers as if I didn't stop. Thanks GE</description><dn247:id>293752</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Extending System.Windows.Forms.Button class (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293828.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293828.aspx</guid><pubDate>16 Sep 2004 00:47:10</pubDate><description>Hello, I'm writing an extension class for the winforms button control using MC . I created a class, derived from System::Windows::Forms::Button. In my class I want to extend the functionality of the Image property, so I added the followind functions: public gc class ExtendedButton : public System::Windows::Forms::Button { public: property System::Drawing::Image* get Image(); property void set Imag...</description><dn247:id>293828</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>How to retrieve serial number of OS or CPU for copy protection? (49 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/57/288174.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/288174.aspx</guid><pubDate>16 Sep 2004 00:47:07</pubDate><description>In order to protect software from being copied without licence, I would like to use something like a key, which fits only to the current system. The serial number of the CPU or the current operating system would be appropriate. However, I do not know how to retrieve the information. Could you help? Klaus </description><dn247:id>288174</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>C++/CLI experiments (27 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293872.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293872.aspx</guid><pubDate>16 Sep 2004 00:47:05</pubDate><description>OK, I just installed the tools refresh in VC 2005 Express Beta1, and now it can indeed be called a Beta. I decided to check the ref types on stack thing, and after some seconds of effort I came to this: int main() { using namespace System; String s &amp;amp;quot;Hello world&amp;amp;quot;; Console::WriteLine(%s); } C:\c cl /clr:safe temp.cpp Microsoft (R) C/C Optimizing Compiler Version 14.00.40809 for Microsoft (R) .NET Fr...</description><dn247:id>293872</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>DDE in C# .NET (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293743.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293743.aspx</guid><pubDate>16 Sep 2004 00:47:04</pubDate><description>I've got this code: (Library GMDDE.dll) namespace GMDDE { delegate Int32 DDECall(Int32 uiType, Int32 uiFmt, Int32 hConv, Int32 sz1, Int32 sz2, Int32 hData, Int32 lData1, Int32 lData2); public class GMDDEClass { [DllImport(&amp;amp;quot;user32&amp;amp;quot;, EntryPoint &amp;amp;quot;DdeInitializeA&amp;amp;quot;)] private static extern Int32 DdeInitialize(Int32 pidInst, DDECall pfnCallback, Int32 afCmd, Int32 ulRes); private const Int32 DMLERR NO ERR...</description><dn247:id>293743</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Managed C++ DefaultMemberAttribute Bug (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293867.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293867.aspx</guid><pubDate>16 Sep 2004 00:47:02</pubDate><description>(Type your message here) Hi, I am trying to write a managed class tha expose Multiple Indexers Properties To C#, I use the 'DefaultMemberAttribute' Attribute, but when i use the class from C# I get Strange Compiler Error. Here Is The Managed C : [System::Reflection::DefaultMemberAttribute(S&amp;amp;quot;It&amp;amp;quot;)] public gc class Dummy { public public: property Int32 get It(Int32 I) { return str; } property String*...</description><dn247:id>293867</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>acmSTREAMHEADER Structure (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293784.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293784.aspx</guid><pubDate>16 Sep 2004 00:47:02</pubDate><description>I am trying to call the acmStreamPrepareHeader function in the msacm32.dll library as follows: Public Declare Auto Function acmStreamPrepareHeader Lib &amp;amp;quot;msacm32.dll&amp;amp;quot; (ByVal has As IntPtr, ByRef pash As sACMSTREAMHEADER, ByVal fdwPrepare As Int32) As Int16 mmr acmStreamPrepareHeader(hstr, strhdr, 0) where hstr is an IntPtr returned by a preceding acmStreamOpen call and strhdr is defined as: StructLa...</description><dn247:id>293784</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>LPSTR -&gt; String : Type Incompatibility Issue (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293863.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293863.aspx</guid><pubDate>16 Sep 2004 00:47:01</pubDate><description>Another same issue on &amp;amp;quot;NullReferenceException&amp;amp;quot; : I have an (exe) executable program created in VB.NET 2003 that calls to a MFC DLL written in VC .NET 2003. I always get an error msg &amp;amp;quot;NullReferenceException: Object Reference Not Set to an Instance of an Object&amp;amp;quot; when my exe calls the following codes: in VB.NET Declare Function test Lib &amp;amp;quot;C:\Cyob\IOComm\Debug\IOComm.dll&amp;amp;quot; (ByVal a As Long, ByRef b As S...</description><dn247:id>293863</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>Calling a .NET assembly through PURE UNMANAGED code (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293813.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293813.aspx</guid><pubDate>16 Sep 2004 00:46:59</pubDate><description>Hi, I am tiring to load an assembly from memory ( e.g. System.Reflection.Assembly.Load( byte[] ), this works fine through managed and mixed code. NOW, I am tiring to achieve the same thing through PURE UNMANAGED code, I can't use com or com interop, does some one have an idea how to achieve what was just described? ( through unmanaged code ) Is it possible to call a managed assembly through PURE U...</description><dn247:id>293813</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>gc to gc* conversion (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293781.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293781.aspx</guid><pubDate>16 Sep 2004 00:46:55</pubDate><description>Hi! I am new to managed c . I have a byte gc array and I want to pass it to a function that takes a gc* to unsigned char. How would I convert my byte array to this? Byte arBuf[] gc new Byte[nSize]; // I have code here to read from a file to this buffer. // Now I need to pass this to a function which is defined as follows: void Write(unsigned char gc*); How can I convert my byte array to unsigned c...</description><dn247:id>293781</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>New line in .NET (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293747.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293747.aspx</guid><pubDate>16 Sep 2004 00:46:54</pubDate><description>What is the new line character for a TextBox/System::String/Clipboard? '\n' seems to copy to ClipBoard a square symbol. Best regards, Ioannis Vranos</description><dn247:id>293747</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>a newbie question (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293885.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293885.aspx</guid><pubDate>16 Sep 2004 00:46:53</pubDate><description>Please forgive the question if the answer seems obvious, but I am new to ..Net and not having a fun time with it. I have built an XML DOM document (XmlDocument) using the appropriate classes from the framework. Now I want to send it to an exchange server, how do I do this? with VC 6.0 we use MSXML to send it out and receive a reply. How do I do this in .Net, the application is written in VC (manag...</description><dn247:id>293885</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>i am unable to do this plz any one can help (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/57/288147.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/288147.aspx</guid><pubDate>16 Sep 2004 00:46:46</pubDate><description>Dim vbobj As New vbdll.IPDetails Dim Fdarr(), Fdvar As FieldInfo Fdarr vbobj.GetType.GetFields For Each Fdvar In Fdarr If Fdvar.Name.Equals(&amp;amp;quot;IPPoolID&amp;amp;quot;) Then Fdvar.SetValue(vbobj, 1234) End If Next i am unable to assign a value to vbobj's field &amp;amp;quot;IPPoolID&amp;amp;quot; why i am not understanding vbobj is a vbdll(imported using Tlbimp ) and when i say vbobj.ipoolid &amp;amp;quot;something&amp;amp;quot; then it is woring why Fdvar.SetValue...</description><dn247:id>288147</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>passing property values from class to class (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/57/288153.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/288153.aspx</guid><pubDate>16 Sep 2004 00:46:46</pubDate><description>(Type your message here) From: Glenn Kunsman I hope this is the right forum... I need to access a public class without using the new keyword and losing the current values. I have created a public class public class classClientData { private string clientId; public string clientId { get { return clientId; } set { clientId value; } } } if I instantiate the class... classClientData clientData new cla...</description><dn247:id>288153</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>__stdcall and name decoration (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293896.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293896.aspx</guid><pubDate>16 Sep 2004 00:46:45</pubDate><description>Hello, I am wondering how it is that all of the windows base dlls, like kernel32.dll specify that all of their functions are stdcall and yet the exported names from the dll are not decorated with the preceeding underscore and following @ parameter byte count. When I export a function from my dll with stdcall specified, the name is something of the form &amp;amp;quot; funcname@4&amp;amp;quot;. If I export with cdecl calling...</description><dn247:id>293896</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Decimal or String Covert to Hex Value (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293892.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293892.aspx</guid><pubDate>16 Sep 2004 00:46:45</pubDate><description>Any idea that I can convert a value of type Decimal or String into Hex value in MFC VC .NET? I know there is a function hex(std::ios base&amp;amp;amp;), but I don't know how to ultilise it in MFC as I only know in console mode. TQ Michael. </description><dn247:id>293892</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>MC++ wrapper code problems with return enum type. (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293890.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293890.aspx</guid><pubDate>16 Sep 2004 00:46:44</pubDate><description>I write a MC wrapper for our company internal SDK that wrote in C native code for writing application with this SDK over C# and other .NET languages and most of my SDK API function return a status code that define as a enum type. Do I have other option then duplicate the enum from the c to the C# code and write a MC class that look something like this: public gc class ManagedDokStatus { public: Ma...</description><dn247:id>293890</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>How do I: use CreateDirectoryEx to create a Directory 300+ characters? - Using Unicode Build (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293889.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293889.aspx</guid><pubDate>16 Sep 2004 00:46:44</pubDate><description>Hi, I am trying to create a directory on my disk wihich is 300 characters long. My program does not work, can you make it go? I am using VS2003 C . Russell Mangel, Las Vegas, NV // I have specified Unicode Character set in project settings #include &amp;amp;quot;stdafx.h&amp;amp;quot; #include windows.h int tmain(int argc, TCHAR* argv[]) { // Assumes that you have an existing directory: C:\\A LPCTSTR lpTemplateDirectory T(...</description><dn247:id>293889</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Visual Studio Style Menus, How? (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293888.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293888.aspx</guid><pubDate>16 Sep 2004 00:46:44</pubDate><description>Hello! How do I get the new style menus as used in visual studio? Are they a .Net thing? Can I use them from C ? Cheers, Mark. </description><dn247:id>293888</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>What Control is that? (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293887.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293887.aspx</guid><pubDate>16 Sep 2004 00:46:43</pubDate><description>I use ZipGenius 5.5 for archiving. The left half of the GUI has a series of expandable menus &amp;amp;quot;Common Tasks&amp;amp;quot;, &amp;amp;quot;Archive Tasks&amp;amp;quot;, &amp;amp;quot;Other Tasks&amp;amp;quot; Can anyone advise what control performs this functionality? It must be a common control because the Windows &amp;amp;quot;Printers and Faxes&amp;amp;quot; interface has the same type of control in an explorer style interface. </description><dn247:id>293887</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>VC++.net Training Chennai,India (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293883.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293883.aspx</guid><pubDate>16 Sep 2004 00:46:43</pubDate><description>Hello All, Is there's a Training for VC .net available in India? it will be nice if it is in Chennai or Bangalore. </description><dn247:id>293883</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Intercepting 'multimedia keys' (5 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293881.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293881.aspx</guid><pubDate>16 Sep 2004 00:46:42</pubDate><description>Hi, Does anyone know if it's possible (and if so, how) to intercept presses on 'multimedia keys' you find on keyboards? Curiosity more than anything. Only manufacturers seem to put their own random gubbins onto their keyboards, so presumably there isn't any kind of standard. Obviously their applications are capable of listening to the buttons so it's possible at some level. Possibilities in either...</description><dn247:id>293881</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>VCC+ and .Net assemblies (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293880.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293880.aspx</guid><pubDate>16 Sep 2004 00:46:42</pubDate><description>Has anyone used the COM interop to acess .Net asseblies from an unmanaged C application? For various reasons we have a legacy VS 6.0 C application that we would like to compile with VS .Net and without the /clr switch and using the COM interop use the XML features available in the .Net Framework. Since we are new to .Net we need a cookbook method to expose Ssytem.XML as COM object and then add it ...</description><dn247:id>293880</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Output from Console Application (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293877.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293877.aspx</guid><pubDate>16 Sep 2004 00:46:41</pubDate><description>I'm compiling an old C program within Visual Studio to give me the advantages of debugging within this environment. I'm building it as a Console application using C as the language. It compiles and runs fine, but if start debugging from within Visual Studio the standard output does not seem to go anywhere. Standard output within my C program is via printf commands. I dont want to start embedding D...</description><dn247:id>293877</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>Help! Help! Help! (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293875.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293875.aspx</guid><pubDate>16 Sep 2004 00:46:41</pubDate><description>Hello, Folks, I am new to VC and I just added a form to my application. The GUI has a group of checkboxes, a combo box, a text box and two buttons. Will someone please walk me through getting the form to load and displayed on my screen? I greatly appreciate the help. jazz </description><dn247:id>293875</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>File "mfc42.lib" cannot be opened (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293873.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293873.aspx</guid><pubDate>16 Sep 2004 00:46:40</pubDate><description>(Type your message here) I'm upgrading a VC 6 project to VC.NET 2003. The compiling is OK but not linking. The error message is &amp;amp;quot;mfc42.lib cannot be opened&amp;amp;quot;. I looked through every setting of compiling and linking and didn't find mfc42.lib in there. I understand that VC.NET 2003 uses mfc71.lib. But how does the environment requires mfc42.lib? Please help! From: jingkun Hu Posted by a user from .NE...</description><dn247:id>293873</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>What's a good memory leak tool? (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293870.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293870.aspx</guid><pubDate>16 Sep 2004 00:46:40</pubDate><description>We're doing some development in VS .NET C and want to purchase a tool for memory leak detection and related activities. Any recommendations? </description><dn247:id>293870</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>COM - java interop (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293865.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293865.aspx</guid><pubDate>16 Sep 2004 00:46:38</pubDate><description>Hi evrybody ! Does anybody know how to call a java class from a COM component ? Any suggestion ? Thanks Andrea </description><dn247:id>293865</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Delegates and Threads (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293862.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293862.aspx</guid><pubDate>16 Sep 2004 00:46:38</pubDate><description>I am writing a Managed C image processing application which consists of a main window and a number of image processing windows. The main window is a Windows Forms and each image window is an instance of a different Windows Form. The image windows are created by creating New instances of the image form. The image forms become visible when I invoke show method. Initially, I wrote my application as a...</description><dn247:id>293862</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>Questions of .NET and managed coding (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293860.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293860.aspx</guid><pubDate>16 Sep 2004 00:46:37</pubDate><description>&amp;amp;quot;The benefits of running code in the managed environment of the CLR are legion. For starters, as the JIT compiler converts CIL instructions into native code, it enacts a code verification process that ensures the code is type safe.&amp;amp;quot; What does it mean by &amp;amp;quot;type safe&amp;amp;quot; here? Please give example about what non type safe operations that native code can cause? &amp;amp;quot;You can't cast a type to something it's not...</description><dn247:id>293860</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>VC++ 7.1 annoying bug? (4 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293857.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293857.aspx</guid><pubDate>16 Sep 2004 00:46:37</pubDate><description>Why does this annoying thing happen? #include windows.h #using mscorlib.dll using namespace System; using namespace System::Windows::Forms; int APIENTRY tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { } C:\c cl /clr temp.cpp Microsoft (R) C/C Optimizing Compiler Version 13.10.3077 for .NET Framework Copyright (C) Microsoft Corporation 1984 2002. All rights ...</description><dn247:id>293857</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>renaming project file ? (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293856.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293856.aspx</guid><pubDate>16 Sep 2004 00:46:37</pubDate><description>Hi, I create a new VC project, then want to rename the default filename Form1 (used for .h, .cpp, .resx) to something else. If I rename it from within Windows explorer the project becomes all messed up. So, how do I rename the files properly ? thnx Chris </description><dn247:id>293856</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Is there an API to format the HD? (9 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293855.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293855.aspx</guid><pubDate>16 Sep 2004 00:46:37</pubDate><description>Is there an API to format the HD? I found to use the DeviceIoControl with IOCTL DISK FORMAT TRACKS code can format the floppy, but how to format the HD, I don't want the SHFormatDrvie way. Thank you very much! </description><dn247:id>293855</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>Beginners Books (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293854.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293854.aspx</guid><pubDate>16 Sep 2004 00:46:36</pubDate><description>Greetings All Can anyone suggest a good book/books for a beginner in VC .net 2003? Thanks Trevor</description><dn247:id>293854</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>C++/CLI 2.0 Beta Books (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293853.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293853.aspx</guid><pubDate>16 Sep 2004 00:46:36</pubDate><description>I noticed there are already lots of books like &amp;amp;quot;ASP.NET 2.0 Beta First Look&amp;amp;quot; and likewise for vb.net and C#. When can we expect the same for C /CLI? I'm anxious to get all the literature I can on this. Is the delays because of the complexity of this language combo or what? Don Kim </description><dn247:id>293853</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>Warning C4800 (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293852.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293852.aspx</guid><pubDate>16 Sep 2004 00:46:36</pubDate><description>I have a little issue I hope you can help me with. I retrieve the processes that are running on my computer and get the C4800 warning in certain situations. The code snippet below illustrates my challenge. Process* localAll[] Process::GetProcesses(); printf(&amp;amp;quot;\nProcess name: %s&amp;amp;quot;,localAll[x] ProcessName); //works fine cout &amp;amp;quot;Process name: &amp;amp;quot; localAll[x] ProcessName endl; //c4800 // writing to a file w...</description><dn247:id>293852</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>Compiler Error C3222 (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293851.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293851.aspx</guid><pubDate>16 Sep 2004 00:46:36</pubDate><description>Compiler Error C3222'parameter' : cannot declare default arguments for member functions of a managed type Arrrgggghhhhh!</description><dn247:id>293851</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Whidbey Framework Version (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293850.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293850.aspx</guid><pubDate>16 Sep 2004 00:46:35</pubDate><description>Is there any way to get Whidbey to build for, say, framework v1.1? Thanks in advance.</description><dn247:id>293850</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Overlapped (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293848.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293848.aspx</guid><pubDate>16 Sep 2004 00:46:35</pubDate><description>Hi, What does the &amp;amp;quot;overlapped&amp;amp;quot; word means in windows programming? I've read about overlapped structures, functions?! What does it mean? Thanks!</description><dn247:id>293848</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Serial communication (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293847.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293847.aspx</guid><pubDate>16 Sep 2004 00:46:34</pubDate><description>Hy there, i have the problem concerning the serial communication. First i have to send 30 Bytes with 50Baud to a client. After that, the client returns me 3 Bytes with 9600 Baud. The client does this reflection within 200ms after complete receiving that 30 Bytes. So my problem is to switch my Baudrate from50 Baud to 9600 Baud within those 200 ms (150ms to have security). I did not manage this till...</description><dn247:id>293847</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>VC++ 2005 support for XML Comment generation (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293846.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293846.aspx</guid><pubDate>16 Sep 2004 00:46:34</pubDate><description>I have been looking at various info about VS 2005 and I keep seeing that the XML code comment generation is being extended to VB.NET, but there seems to be no mention of it correctly supporting C or C . At the moment it is very hit and miss with the C/C comment generation, as it actually works correctly some of the time, but only some of the time, with it often failing to pick up the comments and ...</description><dn247:id>293846</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>DllImport in C++Express2005? (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293844.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293844.aspx</guid><pubDate>16 Sep 2004 00:46:32</pubDate><description>I've never used DllImport in C before. I'm attemping to import the Windows FindWindow function into my Visual C Express project like so: using namespace System::Runtime::InteropServices; public class Win32 { [DllImport(&amp;amp;quot;User32.dll&amp;amp;quot;)]; public: extern static int FindWindow(String ^lpClassName,String ^lpWindowName); }; This produces numerous compile errors: Form1.h(22) : error 3750: 'System::Runtime:...</description><dn247:id>293844</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Help:where can download Visual Studio.Net English Version? (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293843.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293843.aspx</guid><pubDate>16 Sep 2004 00:46:32</pubDate><description>.</description><dn247:id>293843</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>How to downgrade to VC++ 6.0 fro VC.NET ? (5 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293841.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293841.aspx</guid><pubDate>16 Sep 2004 00:46:32</pubDate><description>Hi.. someone built app. with VC .NET .. But It cause error on Windows 98 SE .. No one can correct the error. So I would like to downgrade the app to VC 6.0 .. The application should be complied with VC 6.0 again.. How can I do this with smart ?.. TIa </description><dn247:id>293841</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>FindWindow (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293840.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293840.aspx</guid><pubDate>16 Sep 2004 00:46:32</pubDate><description>Hello I am trying to use findwindow to list all the instances of an application given a specific class name i.e multiple instances of notepad. however findwindow will only find 1 instance of notepad and not anyothers if more than one notepad is running. How do I detect all the instances of notepad that are running? </description><dn247:id>293840</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Statically link dll code into exe (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293839.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293839.aspx</guid><pubDate>16 Sep 2004 00:46:31</pubDate><description>Hi, is there a way to do this? All you have is the lib and the dll file (so no source code). Is it possible to link them physically into the exe we're creating in a VS.NET 2003 unmanaged C solution's exe? </description><dn247:id>293839</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Question about garbage collection (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/293836.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293836.aspx</guid><pubDate>16 Sep 2004 00:46:30</pubDate><description>I am writing a Managed C application. In my application, I create a modeless sub form using New. I retain a pointer to this sub form in my application. If the user closes this form, my pointer is still valid. If I interrograte the instance of the sub form, the IsDisposed attribute is set. I want to recreate the sub form. To do so, I call new again and set my pointer to the new instance of the sub ...</description><dn247:id>293836</dn247:id><dn247:siteId>87</dn247:siteId></item><item><title>const char* and std::string problem with .net (works with 6.0) (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293834.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293834.aspx</guid><pubDate>16 Sep 2004 00:46:30</pubDate><description>Following code works fine, when compiled with VS 6.0, but not anymore when compiled in .NET. What's wrong here, I can't see it by myself? arrString content will be garbage with .net compilation, but when compiled with 6.0 it contains string from Vector (that's how I want it to work). std::vector std::string Vector; ... void MyClass::DoThis(std::vector std::string Vector) { const char *arrString[10...</description><dn247:id>293834</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Reading the set temp and set tmp environment or something equivalent (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/293833.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/293833.aspx</guid><pubDate>16 Sep 2004 00:46:30</pubDate><description>Is there any way to find out the current user's directory temp paths in ..NET applications? For example to read the set variables which in my account are: TEMP C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp TMP C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp or another way to retrieve that information? Ioannis Vranos</description><dn247:id>293833</dn247:id><dn247:siteId>87</dn247:siteId><dn247:highlight>True</dn247:highlight></item></channel></rss>