| Passing values by reference from C# to a C++ managed application (2 replies) |
| microsoft.public.dotnet.languages.vc |
| I apologize if this question has been asked, but I have only recently began frequenting this newsgroup, and I can't find the answer in the messages I have downloaded, nor on groups.google.com I am dealing with some legacy C code that is in the form of a library. To get access to this, I am writing a C managed class wrapper. This works just fine, and calls the functions from the legacy library just... |
|
| FileSystemWatcher Sample Code (2 replies) |
| microsoft.public.dotnet.languages.vc |
| I'm looking for some C# sample code that uses the FileSystemWatcher. If anyone knows has a good sample or example, I'd appreciate taking a look at it. Thanks. Ron Martin |
|
| Animation in VB.Net or C# (3 replies) |
| microsoft.public.dotnet.languages.vc |
| Hi People I want to make animation in VB.net or csharp, Like I will make one ball shape and then it will just travel from one side to another side that's it...simple Can U suggest something Sachin |
|
| Managed Controls (4 replies) |
| microsoft.public.dotnet.languages.vc |
| Does anyone know if it's possible to create a managed control using Visual C that you can register and access from an unmanaged environment? For example, could you create a managed pushbutton and place it on an existing form in an existing project? The reason I ask is that whenever I try to create a managed control, it appears under the .NET Category in OLE/COM Object Viewer, but nowhere else. I c... |
|
| How to debug a Web Service? (5 replies) |
| microsoft.public.dotnet.languages.vc |
| I have a web service written in C and it calls a com component. Our client calls the web service and there is an error. I can get rid of the error when I don't call the com component from the web service routine. Thus I need to be able to debug the web service in the IDE when I start debugging. Is there an easy way to do this? cheers Mark |
|
| Out parameters for member of managed class (3 replies) |
| microsoft.public.dotnet.languages.vc |
| Hello, Could you please tell me how to convert this C# code to MC void Func1(out int param1, out int param2, out int param3) { param1 1; param2 2; param3 3; } void Func2() { int arg1; int arg2; int arg3; Func1(out arg1, out arg2, out arg3); } Best regards Dmitry |
|
| Web service debugging problem (2 replies) |
| microsoft.public.dotnet.languages.vc |
| I have created a managed c web service. I can get the service to start and run fine if I invoke the ..asmx file directly (outside of the IDE) or if I use "Start without debugging" but if I try to debug it, it starts to load but just seems to stop at the statement immediately after outputting the line: Auto attach to process '[2468] aspnet wp.exe' on machine 'AL1' succeeded. Eventually I have to st... |
|
| Dispose - Method in C++-Wrapper Classes (2 replies) |
| microsoft.public.dotnet.languages.vc |
| I have a problem with garbage collection. The method "Dispose" seems to be not automatically called. So I decided to create a simple console Applikation. The code consists of a unmanaged class, a wrapper class and a main() function. As far as I understand garbage collection, the method "void Dispose()"of the wrapper class must be called at the end of the main function automatically, but this doesn... |
|
| MFC ISAPI DLL and .NET classes (7 replies) |
| microsoft.public.dotnet.languages.vc |
| Im trying to write an MFC ISAPI filter using Visual Studio .NET. I would like to use the EventLog class in my ISAPI DLL. I've tried combinations of code similar to : #using mscorlib.dll using namespace System; using System::Diagnostics; .. .. .. BOOL CHTTPFilter IISFilter::GetFilterVersion (PHTTP FILTER VERSION pVer) { EventLog m Log new EventLog(); and the compiler complains that it cant find the... |
|
| No Form Designer? (7 replies) |
| microsoft.public.dotnet.languages.vc |
| When I start a Windows application in C#, I get a form where I can drop controls. So far, I've had to create all of my forms in VC by hand there doesn't appear to be any way to automate the process using a Form Designer. Is there a way to get the Form Designer to appear such that it works similar to C#? (If so, how?) John Mueller |
|
| Linking error 2019 unresolved external symbol _main ... (7 replies) |
| microsoft.public.dotnet.languages.vc |
| Hello, I've ported a VC6 Windows program in to Visual Studio.net VC7, beta 2. It's a standard Windows program which includes windows.h and uses "int WINAPI WinMain()" as the entry function. To make a long story short, I get the following linking error: "LIBCD.lib(crt0.obj) : error LNK2019: unresolved external symbol main referenced in function mainCRTStartup" I'm not sure what the problem is here.... |
|
| Blank menu & toolbar bug? (2 replies) |
| microsoft.public.dotnet.languages.vc |
| Hi, Anybody else encountered the blank menu and toolbar bug in beta2 with fixpacks? If I run my application under the debugger, then minimise the IDE, then exit my program, then maximise the IDE I get a blank menu and debug toolbar. Minimising and maximising again doesn't help but restoring does. Cheers, Mark. |
|
| PROPSHEETHEADER / PROPSHEETPAGE for Wizards (3 replies) |
| microsoft.public.dotnet.languages.vc |
| Hi, After searching the web and looking at the class hierarchy on msdn, I still can not find an answer for the question: are there class wrappers for such Win32 concepts/structures as property sheet/page? I can believe MS has just "forgotten" to implement such. I really doubt that deriving from Form will be simplier in implementing a Wizard Application, that just taking ATL/WTL and C to do so. Do ... |
|
| Error in AppendText()? (3 replies) |
| microsoft.public.dotnet.languages.vc |
| I'm having problems getting the TextBox AppendText() method to work. Here is the code that I'm using: Temp lpCmdLine; Entry Temp Split(Separator); editCommand Text Entry[0]; for (Counter 1; Counter Entry Length 1; Counter ) { editCommand AppendText(Entry[Counter]); } This isn't the whole program just the section with the error. The error message that I get when running this is: An unhandled except... |
|
| Indexed properties (4 replies) |
| microsoft.public.dotnet.languages.vc |
| Hello all, I want to write an managed C class with indexed properties. But if I want to use this class within C#, it is not displayed as property, instead the get Idx and set Idx methods are visible... What did I wrong ? Is this a bug? I did the following code: public gc class MyTestClass { // the following is interpreted as methods instead of properties (fields) property int get Idx(int i); prope... |
|
| How to store unmanaged objects in Session? (2 replies) |
| microsoft.public.dotnet.languages.vc |
| I have a web service coded in Managed C that uses DLLs and objects from our legacy unmanaged C application. I have noticed that the constructor for the web service is called once for every call to a web method. In this constructor I have put calls to the constructors of my main application objects and I open the database and such. Thus I am opening the database in every web method call. This is sl... |
|