| Thread | Last Post | Replies |
|
| STAThread or MTAThread for my .net service ? | 31 Oct 2005 22:24 GMT | 3 |
I've created a ".net service" mainly for database access. The service consists of 2 threads, the first one uses Interop.SQLDMO and the second one uses SQLClient and other (third-party) classes . 1. Which attribute should i use for my Main ? does it matter anyway ?
|
| IntPtr marshal causes exception | 31 Oct 2005 21:21 GMT | 6 |
I am writing a C++ program that is using a C# control. It calls a function that requires a handle to data in memory. If I set up the C# function to take this parameter as a uint, it works fine. I would rather set up the parameter as an IntPtr. But when I do that, I get an
|
| Office 2003 interop question | 30 Oct 2005 06:08 GMT | 2 |
I got small app. One of its functions is supposed to interact with user's Office 2003 (don't care about earlier versions). This functionality works just fine on dev machines if I reference PIA's in VS.2003. But I have no idea if the end user will have Office 2003 installed (and ...
|
| Reading EVENTLOGRECORD Structure from Pointer | 28 Oct 2005 21:37 GMT | 1 |
I'm attempting to make sense of all of the data from a pointer obtained by calling ReadEventLog. The pointer contains an EVENTLOGRECORD structure, plus additional data tacked on to the end that can be of variable length.
|
| NetUserEnum | 28 Oct 2005 14:21 GMT | 2 |
Hi can someone help me, when I call this NetUserEnum(null, 0, 2, out bufPtr, -1, out EntriesRead, out TotalEntries, out Resume);
|
| Interop System.TypeLoadException (PINVOKE) | 26 Oct 2005 17:56 GMT | 2 |
I need to interop from C# with a native method and pass an array of structs. I have done it as follows: [StructLayout(LayoutKind.Sequential,Pack=4)] public struct ISD_STATION_STATE_TYPE
|
| C# passing managed byte array to C++ function in unmanaged code | 26 Oct 2005 16:14 GMT | 6 |
I've recently come accross a problem when trying to work with a unmanaged dll compiled in C++ (Visual Studio 6.0). When calling the dll from my C# application primitive data works okay for converting PLONG, INT, BOOL to the right function signature. For example:
|
| Passing a Delegate for Callback from C# to MFC C++ | 25 Oct 2005 18:05 GMT | 1 |
How do you Pass a Delegate for Callback from C# to MFC C++ I am programming both ends. Any thoughts?
|
| crash at gc_heap::mark_object_simple | 25 Oct 2005 17:52 GMT | 1 |
I post this at the framework group, but then later I realize mine probably a interop question, so I am reposting here. I am using running my app at win2003 sp1 dotnet 1.1. My aspx app always crash inside gc_heap::mark_object_simple. The crash stacks are similar
|
| Debugging legacy ASP application on VStudio under XP SP2 | 25 Oct 2005 05:13 GMT | 2 |
I have a rather strange problem with debugging a legacy ASP project that uses COM Interops written in VB.NET. The project when debugged on Win2000 allows JIT debugging of the CLR code using the DefaultDomain in the 'Debug Processes' dialog. I also
|
| Saving Excel workbook in SQL server using c# | 24 Oct 2005 18:50 GMT | 1 |
Could anyone please help me out as to how we can save the excel workbook in the database and read it back. I was able to convert the text files and image files into binary format and
|
| Interop problem while implementing "Observer" pattern | 24 Oct 2005 13:03 GMT | 1 |
I have a problem with interop as explained below: I have a component build in VC++ 6.0. I have built another component in C#. These two components follow "Observer" pattern where VC++ component acts as the subject and C#
|
| How can ASP page call a C# method using "ArrayList" parameter??? | 22 Oct 2005 13:41 GMT | 1 |
QUESTION: How can my ASP page - which uses language="VBScript" - pass a "System.Collections.ArrayList" object - as a parameter - to a C# method in the middle-tier ??? ----- Is it possible at all? - if not, what work-a-round is there?
|
| suppress blank page | 22 Oct 2005 13:33 GMT | 1 |
I am using visual c#.net to do Mail Merge with Microsoft Word 2003. When the word document has 18 or more merge fields, the merged document works fine, but creates a blank page at the end. Please let me know, if you have a solution for this issue.
|
| Calling a .Net form in vb6 MDI Application | 22 Oct 2005 05:42 GMT | 2 |
Hey Everyone In my current project, which is invloving making enhancements to an old VB6 application, I need to do following things: 1. Call a .Net WinForm (present in a .net dll) from a VB6 MDI
|