| Thread | Last Post | Replies |
|
| P/Invoked OpenPrinter fails when opening network printer | 30 Jun 2005 20:47 GMT | 3 |
I have local printer connected to PC_1 (lpt/usb). It’s shared (no pwd, ACL for printing is set to Everyone). I want to print data from PC_2, via \\PC_1\<printerName>. OpenPrinter and StartDocPrinter fail with GetLastError == 997
|
| Office XP PIA | 30 Jun 2005 18:18 GMT | 1 |
I can't get the interop for Excel to work: I've installed the PIAs and reinstalled, removed office 2K and reinstalled, but to no avail. Every time I add a reference to Excel in my project, the path shows that the gac version isn't being used.
|
| Call dotnet component from COM | 30 Jun 2005 09:54 GMT | 2 |
How do I call a dotnet component from a VB com component.
|
| Com Interop overhead | 30 Jun 2005 08:08 GMT | 1 |
I was just wondering if someone could chime in on a design issue. If I write a class and make the class COM visible by using the ClassInterfaceAttribute and giving it a Guid and checking the Register for COM interop option in the project property pages, can I also use this class in ...
|
| Unmanaged DLL lifetime | 30 Jun 2005 02:37 GMT | 1 |
When a managed DLL makes a call to an unmanaged DLL what controls the lifetime of the unmanaged DLL? I am assuming when I make the first call to an unmanaged DLL, the unmanaged DLL is loaded into memory and stays in memory (meaning global variables are maintained). How does to ...
|
| CAPICOM: Utilities.ByteArrayToBinaryString and odd number of bytes | 29 Jun 2005 22:17 GMT | 4 |
I know this subject has been brought up before, but I noticed that several solutions were suggested, so I ask: [1] Is it really true that Utilities.ByteArrayToBinaryString does not correctly handle the convertion of byte arrays with an odd number of
|
| passing string array to C++ | 29 Jun 2005 18:44 GMT | 15 |
I have an unmanaged api I need to call. The definition for it is the following: DLL_API int Adapt( Global* g, char** strings, int numStrings); I need to wrap this api in C++ and then pass a string array from c# to the
|
| Managed C++ equivalent for Foo([in] VARIANT_BOOL b, [out, retval] VARIANT *ptr) | 29 Jun 2005 14:21 GMT | 3 |
I have an interface in Managed C++ where one of the methods is this one: Object *Foo(Boolean *b) When I use tlbexp to check the IDL the line above is converted to: HRESULT Foo([in, out] VARIANT_BOOL *b, [out, retval] VARIANT *ptr)
|
| Is OleInitialize required in this case | 29 Jun 2005 13:46 GMT | 2 |
You must initialize Component Object Model (COM) with CoInitialize or OleInitialize prior to calling SHGetFileInfo This statement appears in the Help at location Window Shell and Control. Does it apply for DotNet VB?
|
| how to Invoke Static .Net Members from COM application | 28 Jun 2005 22:23 GMT | 1 |
I am trying to use my .Net component from COM application. I have some static members in my .Net component. I tried to use reflection to invoke static members. Any body has example of invoking static members?
|
| impersonation and Excel | 28 Jun 2005 15:22 GMT | 2 |
on window 2000, I'm automating Excel (server side). If I set the impersonation in the webConfig file as: <authentication mode="Windows" /> <identity impersonate="true" userName="myDomain\myUserID"
|
| How to correctly set a conformant array argument if a function of an interface is implemented? | 28 Jun 2005 13:53 GMT | 3 |
Hi NG! I have a class that derives of an interface (IASysCls) which implements a function with this argument list (the function is then later be called by a caller):
|
| VB6 types marshaling | 28 Jun 2005 13:20 GMT | 2 |
I have a COM DLL written in VB6 that exposes a public class with a method that can be summarized as follow public function MyPublicMethod(...) as Variant ...
|
| Marshaling of nested structures | 28 Jun 2005 13:16 GMT | 2 |
I have an ActiveX DLL written in VB6. This library has a class with two public structures like these Public Type MyInnerPublicType ...
|
| COM/threading and difference between Service and Console App | 28 Jun 2005 12:20 GMT | 10 |
Hi, I've got an app that starts a thread to listen on a tcp port, then starts another thread to accept the socket connection and exchange some data with the client. This second thread creates a COM object for internal use. My problem is that if I test with a console app, the ...
|