| Thread | Last Post | Replies |
|
| Attaching a form object to an existing window? | 26 Oct 2004 20:32 GMT | 1 |
Is it possible to create an empty form that attaches to an existing window handle? I have a .NET class library method that requires a form ref as a parameter, but all I have is a window handle. I'm hoping to do this the easy way.
|
| Marshal::StringToHGlobalAnsi implicit | 26 Oct 2004 19:38 GMT | 1 |
Does the following code cause a memory leak in .NET? Void Function1() { hFile= CreateFile(static_cast<const char
|
| Changing an unmanaged string from managed code | 26 Oct 2004 17:29 GMT | 1 |
I have successfully loaded a MANAGED C++ dll from an UNmanaged C++ program. I can even manage to call methods in classes in that DLL. What I need to know is how to pass a string back to the UNmanaged code from the managed code. public __gc __interface KMS::Transport::Managed: ...
|
| IDE is very slow because of Output window | 26 Oct 2004 16:44 GMT | 1 |
I have a C# WinForms app which reuses unmanaged C++ dlls using COM interop. When I debug the app by running the code in the IDE, it is very very slow. In fact almost too slow to use. However, when I run the .exe, it is very very fast. I have noticed huge numbers of lines of info ...
|
| Want my app to dynamically load SpeechLib, possible? | 26 Oct 2004 15:05 GMT | 1 |
So I'm developing an application for my company which uses the MS SpeechLib. I want everyone to be able to use it, so that the machines which do not have the speech library installed will still work correctly, but won't be able to have further functionality provided by the speech ...
|
| Whidbey TypeLibConverter improvements? (please leave my interface types alone) | 26 Oct 2004 13:08 GMT | 1 |
Does anyone know if the Whidbey TypeLibConverter has an option that corrects the IMO greates flaw of all: The VB6-esque conversion of all coclass default interfaces to the coclass itself (just like VB6 pretends that the default interface == the
|
| Proposal to extend documentation about interop | 26 Oct 2004 09:33 GMT | 4 |
I think the MSDN docs about interop doesn't state clearly enough that there is a character encoding conversion automaticly done from Unicode to the characterset for the computer during interop. This got me really puzzled for a few days.
|
| Read Only Recommended | 25 Oct 2004 02:39 GMT | 1 |
I am creating an Excel File through code, but when I try to open the file, I always get the following message: <File name> should be opened as read-only unless you need to save changes to it. Open as read-only?
|
| Passing blittable types in callback functions | 23 Oct 2004 14:03 GMT | 2 |
I'm having problems passing a blittable type (bool) from unmanaged C++ code to a managed callback function. I have an unmanaged C callback function declared as follows: typedef int __stdcall PostProcFileCallback(void *pData, LPCTSTR pszFilename,
|
| cleaning up IWin32Window | 22 Oct 2004 21:01 GMT | 1 |
First, apologies for cross-posting. I'm writing a Visio add-in using the .NET Framework. The add-in displays a number of windows forms as modal dialog boxes. In order to display properly, I set the parent to the Visio Window. I've done this by creating
|
| Should not automate Office from a worker thread in VB.NET? | 22 Oct 2004 11:37 GMT | 4 |
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wrcore/html/ wrconthreadingsupportinoffice.asp This info (above) means to me that I should not automate Word from a thread. I am currently automating Word from a worker thread, not my main process. However, I ...
|
| Displaying WinForms from an office COM Add-In | 21 Oct 2004 15:59 GMT | 2 |
Okay, here's a problem that's been bedevilling me for a long, long time, and I believe I'm getting closer to pinpointing it: I've written a MS Office COM add-in using C#. In the add-in, I display some windows forms. All seems to go well (at least in Debug
|
| Calling C++ library function from C# ? | 21 Oct 2004 08:19 GMT | 2 |
I would like to call unmanaged code (C++ Library Code) in C# library. When I Call C++ Function with an "int" parameter. It seems that there is a Marshalling problem; because when I put 88 as parameter,
|
| Strange problem on runtime | 21 Oct 2004 07:36 GMT | 1 |
See the thread in csharp group. Please try to help us. TNX ----------------------------------
|
| GetNamedSecurityInfo - Read Owner | 21 Oct 2004 07:00 GMT | 7 |
I am looking for a way to 'override' file security and read the Owner of a file to which I have no access. I am a system administrator, as such I have administrative rights to all the computers in the company. Some of my user base has full control rights to their files and have ...
|