microsoft.public.dotnet.languages.vc Archive - October 2002
Post a message to this list
Messages
Page: 1
"Global" methods in MC++ (2 replies)
microsoft.public.dotnet.languages.vc
I have an application in which I would like to make available a set of core routines to managed clients in C#/VB.NET. These core routines need to be exposed in managed C . I would like to be able to simply call these methos from C# or .NET. I know one "solution" is to declare methods as static in a managed class, and then from clients access them as such: MyClass::foo() However, I don't want to ha...
No Graphical Drawing in Visual C++.NET Programming (4 replies)
microsoft.public.dotnet.languages.vc
Hello All, Please help and tell me why I can not get any graphical drawing from the following code of Visual C .NET programming: // Draw5 of VC .NET for MeToUse // Introduces class structures // Unmanaged #include "stdafx.h" #include iostream.h #include tchar.h //Stores line information class LineObject { public: void Initialize(); void Draw(); private: int m nXFrom; int m nYFrom; int m nXTo; int ...
Issue on VC++ in XP (2 replies)
microsoft.public.dotnet.languages.vc
Hi, I checking the instance of oracle reports6i is running or not. I am using OpenProcess function in my VC application. Even After Oracle Reports6i instance destroyed the process handle was not released and always this function returns a value (not null). So as per below code my program hangs in indefenit loop. Please advice is there any other function that I can use in my code instead of OPENPRO...
regarding unicode strring literals... (2 replies)
microsoft.public.dotnet.languages.vc
hi!, Is the String* object in mc not same as String object in C#??. This is the sample program, where one mentions a unicode character. why does the mc compiler complain abt the '\u' escape sequence. ie "warning C4129: 'u' : unrecognized character escape sequence". how can i get the equivalent of this? or am i missing out something like providing a compling switch or something. the end result is i...
Currect Directory (2 replies)
microsoft.public.dotnet.languages.vc
How to get the CurrentDirectory?
HOWTO: cast LPARAM to Object* (2 replies)
microsoft.public.dotnet.languages.vc
I'm trying to pass a pointer to a managed class in a Win32 callback's user defined data LPARAM; the compiler says: Cannot cast an integral type to a pointer to a managed type Is this fundamentally impossible, coz the GC may move my object in memory? Argh.
Anyone tried working with Windows Forms in C++ ? (8 replies)
microsoft.public.dotnet.languages.vc
Hi, Have any of you tried working with Windows Forms in Visual C .NET ? Is it really true that Microsoft does not have any visual tool for designing GUI in Visual C (managed) ? Regards Arne
ATL Soap Client bugs (3 replies)
microsoft.public.dotnet.languages.vc
Hi, I hope someone from MS will take a notice.... I've just tried to play with writing a WebService client using ATL and immediately hit on a few problems. Both problems relate to CSoapFault::SetErrorCode function. (Line 2780, atlsoap.h.) Problem 1 Look at a very interesting check: Line 2814 // make sure the namespace of the fault is the // SOAPENV namespace if ((cchSoapPrefix ! (int)(wszLocalName...
Problem with SqlDataReader (3 replies)
microsoft.public.dotnet.languages.vc
Hi Guys, I am trying to get some data from database using SqlDataReader but I am getting exception saying specific cast is not valid here what I am trying to do MyIng set IngPrice (SQLReader GetFloat (IngField::enIngredientPrice)); Problem is when I call GetFloat from my SqlDataReader object but I can't see any alternative to get float from SqlDataReader (also I have this problem with GetByte and ...
DataGrid keyboard event problem (2 replies)
microsoft.public.dotnet.languages.vc
Hi, I'm having a problem with DataGrid not recognizing numpad / signs as keystrokes. I need the minus sign on the numpad to be recognized by the datagrid as a valid minus sign. I've tried catching the keydown/keypress events in the DataGridTextBoxColumn object, but it they do not fire if the user presses the ( ) key on the numpad. Please help! Thanks, Pavel
VB Code from this VC++ sample (2 replies)
microsoft.public.dotnet.languages.vc
I need someone to translate the following VC code to VB. I want to get a list of computer names from a domain. Thanks. Groups Advanced Groups Search Preferences Groups Help Viewing message #h22cfpRBHA.1528@tkmsftngp04 From: Paul Jackson (pr jackson@hotmail.com) Subject: Re: Enumerate computers in a workgroup Newsgroups: microsoft.public.dotnet.languages.csharp View: Complete Thread (2 articles) | ...
ExecutionEngineException occurs when passing ref object as 0/NULL from C++ (4 replies)
microsoft.public.dotnet.languages.vc
I have the following interface method that I have implemented in C#. HRESULT ExecuteStdCommand ( [in] const eStdCommands eCmd, [in] ISomeInterface1* pInterface1, [in] ISomeInterface2* pInterface2, [in] const VARIANT* pvData, [out,retval] VARIANT BOOL* pbHandled ); This maps into the .NET world as Boolean ExecuteStdCommand(eStdCommands eCmd, ISomeInterface1 pInterface1, ISomeInterface2 pInterface2,...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com