Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet interop > august 2003 > threads for august 8 - 14, 2003

Filter by week: 1 2 3 4 5

.NET Dataset in VB 6?
Posted by Tim Werth at 8/14/2003 10:30:13 PM
I am writing an app in .NET that makes use of DataSets. Some of my clients will be writting in VB 6.0. Can I pass a .NET DataSet back to a VB 6.0 client? ...more >>


powerbuilder and .NET integration via interop
Posted by Hazzard at 8/14/2003 6:29:07 PM
I am an interop newbie. I just received the following code as an idea to exchange XML data between Powerbuilder components via PBNI, the PB native interface and .NET assemblies. I think I said that right. Would the 'dotNetWrapper' as mentioned below just be a class that would then just say deser...more >>

ocx - .NET interop
Posted by Ashwin Kambli at 8/14/2003 4:04:26 PM
Hi, I have an ActiveX component (.OCX) which I currently use in a IE browser as an embedded object. Now, I need to write a C#.NET wrapper to this OCX so that I can use the OCX in a stand alone application too. I tried a test C# console application to achieve this. In my .NET project I added refe...more >>

C# plugin program???
Posted by Bang Mai at 8/14/2003 2:23:03 PM
Hi all, I got trouble when developing C# pluginable application. I means that I develop a C# program which allows other programmers plugins DLLs into my program based on a standard. For example, my program allows you load your own UI on my application. I need helps from you all. Thanks in adv...more >>

RAPI from windows service
Posted by LT at 8/13/2003 11:04:36 AM
I have a c# windows service and am trying to move files from the PDA to the desktop. I wrote an application as a windows executable that worked correctly and moved the code into a windows service and now it doesn't work. When I call "CeRapiInit()" it just hangs up and doesn't come back. When I ...more >>

attemptint to expose terminal services api DLL to .net
Posted by brianos NO[at]SPAM hotmail.com at 8/13/2003 9:47:32 AM
Hi, I am not a programmer, but have managed to scrape my way through .net in order to expose the terminal services dll called wtsapi32.dll. I am using tlbimport, but it complains that wtsapi32.dll is not a valid type library! heeellpppp.... thanks in advance, Brianos...more >>

Font.FromLogFont producing strange results
Posted by Justin Van Patten at 8/13/2003 6:47:49 AM
Hello, I am having trouble converting a LOGFONT structure to a System.Drawing.Font object. I'm calling SystemParametersInfo to get the LOGFONT lfntSMCaptionFont from a NONCLIENTMETRICS structure. I seem to be doing this correctly, but when I try to create a System.Drawing.Font object with ...more >>

Using COM object in multithreaded app
Posted by Joel Lyons at 8/12/2003 9:49:51 AM
I am using async delegates to start new threads. Each thread creates an NEW instance of a given COM object (marked Apartment). Why does each thread block on calls to its own instance as long as another thread is using another instance? In other words, why do these threads act as if they are sh...more >>



SendMail with showDialog using CDO
Posted by steve21602 NO[at]SPAM yahoo.com at 8/12/2003 7:40:52 AM
Hello, I am developing a C# application that needs to interface with email. Specifically, I want to be able to send an email where the UI dialog for the default email client (Outlook, OE, etc.) pops up and allows the user to type in email addresses, etc. When the user hits send, I want the ...more >>

Marshalling arrays of bytes of variable length
Posted by Vadym Stetsyak at 8/11/2003 10:06:55 PM
Hello!!! I've got the problem with the subj. In documentation there is reference to UnmanagedType.ByValArray, but that doesn't fit me (the length is variable). I need to marshall these arrays to the C routine in the form of arrays of structs e.g void Routine(PMYSTRUCT pstr, int nstr); //...more >>

struct from vb.net to c++ managed\unmanged
Posted by Daylor at 8/11/2003 4:19:34 PM
hi. i have managed c++ class that wraps an unmanaged c++ dll. the unmanaged c++ dll has a function that recive a struct. what i need to do , so i can create and pass this struct from vb.net to the managed c++ wrapper, and then to the unmanaged c++ dll. hope im clear. ...more >>

Nature of code in CCW and RCW
Posted by Rao TRN at 8/11/2003 11:12:27 AM
I am trying to get hold of inner workings of CCW and RCW concepts... What language are RCW objects developed in? I guess it should be combination of managed and unmanaged C++ and hence VC++.Net..... Similarly, the unmanaged objects (COM Callable Wrappers) should have access to managed types/...more >>

How to deploy a C# made COM using .NET studio setup project?
Posted by chrisben at 8/11/2003 10:09:37 AM
Hi, I made an dll working as a COM in .NET Studio i C#. I can register and deploy it to other machines using regasm my.dll /tlb. However, when I create a setup project in Studio, it does not work even though I set the dll Register Property as vsdrpCOM. COuld some expert please show m...more >>

Help! I would like to call an old ActiveX Component from C#...
Posted by carolina_walter2003 NO[at]SPAM yahoo.com at 8/11/2003 9:11:15 AM
Hello everybody! I am quite beginner in CSharp, and i have a big problem (perhaps simple to solve??). Here it is: I am coding an ActiveX component with VC++ 6.0. One of the method of this control should dispatch in my Ax Control a bitmap image data passed as an IN parameter as a byte*, or ...more >>

Calling a PowerBuilder 6.5 object in NET
Posted by pa at 8/11/2003 8:59:17 AM
I'm trying to call a powerbuilder 6.5 object in the .NET enviornment. Here's the code: pb=createobject("PowerBuilder.Application.6") pb.librarylist="Your.pbd" pb.machinecode=false (or true) // now we will get pointer to your object yo=pb.createobject("n_your_nonvisual_object") // ... an...more >>

GCHandle, IntPtr and J# Root.alloc and DllLib.addrOf
Posted by Michel Gallant at 8/10/2003 5:43:47 PM
This is an "interop" issue between C# and J# with P/invoke mixed in. Does anyone know if there is an equivalent in C# to the following J# functionality: int myHandle = com.ms.Dll.Root.alloc(obj); int myAddress = com.ms.dll.DllLib.addrOf(myHandle); (there are some bugs in J# compiler ...more >>

Will COM die?
Posted by Jay Moore at 8/10/2003 11:31:22 AM
I'm new to the ".NET" thing... I get the idea from some of what I read that COM technology no longer has a place at MS' table - cast aside in favor of "managed code" (whatever that is exactly). Is this an accurate perception? If so: COM has been around for a while & substantial investments ...more >>

Q about memory in interop
Posted by Vadym Stetsyak at 8/9/2003 5:36:54 PM
Hello!!! If I pass a char* pVal in my struct to unmanaged dll, in dll I have pVal = (char*)malloc(strlen("SomeString")+1); strcpy(pVal, "SomeString"); and the struct is returned back to managed code(C#), but there is no "SomeString", but garbage. OTOH if I write strcpy(pVal, "SomeStrin...more >>

Excel automation: Excel not installed on server; Error:Cannot create ActiveX Component
Posted by njagga NO[at]SPAM ngpsoftware.com at 8/9/2003 5:17:33 PM
I have a VB.NET app which uses excel automation. I reference the Excel object library and have excel installed on my development machine and everything works fine. However when I deployed the app to the production server which does not have excel installed it gives me an error: "Cannot create ...more >>

How to pass sthg like a short* from a C# Project to a COM object (OCX)?
Posted by xavier_vincent NO[at]SPAM yahoo.fr at 8/8/2003 8:14:43 AM
Hi! I have a method from an OCX with this déclaration: OCX::MyMethod(short FAR* param), param is an input data The Interop (AxImport) translate it to MyMethod(ref short). How can i build param(from a short[]) and transmit it to my OCX. Thanks in advance, XV...more >>

System.EntryPointNotFoundException
Posted by BetaTesterWannabe at 8/8/2003 6:41:58 AM
I get this exception when trying to call a func in a dll from some c# code. An unhandled exception of type 'System.EntryPointNotFoundException' occurred in HeapView.exe Additional information: Unable to find an entry point named testFunc in DLL FileParserCPPWrap.dll. //-------------...more >>

OLEACC: AccessibleChildren returning strange results.
Posted by Joe Coplen at 8/8/2003 2:59:06 AM
I'm importing AccessibleChildren from oleacc.dll like this: //STDAPI AccessibleChildren(IAccessible* paccContainer, LONG iChildStart, LONG cChildren, VARIANT* rgvarChildren,LONG* pcObtained); [DllImport("oleacc.DLL", CharSet=CharSet.Unicode, SetLastError=true, PreserveSig=false)] public sta...more >>


DevelopmentNow Blog