Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / December 2004

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
Unable to successfully return data from dllimport function (C#)31 Dec 2004 16:46 GMT1
I am having difficulty figuring out which datatypes to use for return values
in a particular DLL import function (C#).
I am trying to use the CryptGetKeyParam function from the ADVAPI32.dll API
call to return certificate information.  I am able to successfully call
COM Interop 429-error30 Dec 2004 16:59 GMT6
I've made a simple .NET .dll assembly which I deployed to another computer
through a Setup-project (.msi-file). I opened Visual Studio Basic 6.0 and
referenced the assembly. When I run the program it gives me: "Runtime Error
429 ActiveX Component can't Create Object". Doesn't the ...
Marshalling COM components between threads in dotnet30 Dec 2004 16:36 GMT1
I'm hoping someone can help here.
In C++, if you create a com object in a thread running as an STA, &
then want to use it on another thread running either as an STA or MTA,
then the interface needs to be explicitly marshalled using, for
GetHdevmode, GetHdevnames and PtrToStructure30 Dec 2004 15:59 GMT4
Answering my question may require some familiarity with printer
drivers in addition to interop. I'm trying to implement some interop
code between a C# application and our UniDriver printer driver. I'm
having two problems really:
Casting Manged Array To Unmanged type30 Dec 2004 05:51 GMT1
If you have something like this:
Byte myArray[] = new Byte[someSize];
And you pass that to a Win32 function using P/Invoke, is it possible to then
cast that array to the "real" unmanged type that is contained within that
Terminal Server API29 Dec 2004 12:57 GMT4
I am makeing an app which uses WTS API function.
I have done most of it, except a little part where I should marshal a
structure from pointer.
I have found some code in newsgroups, but it is in C# and I use VB .NET.
Get text from Web Browser control29 Dec 2004 09:33 GMT4
Is there any way to 'scrape' the ascii text from an
AxSHDocView:AxWebBrowser control?
IOW, I'd like to get the text as it is displayed by the browser.
Somewhat like selecting all text in IE and doing a capture to
Union in VB.NET28 Dec 2004 16:18 GMT3
I am trying to port a C stucture with union 's inside to VB.NET.
I know there is no UNION keyword in VB.NEt, but how can i solve this in
VB.NEt ?
kind regards
C# to C++28 Dec 2004 00:11 GMT4
What would be the analogous c++ statement for this C# code
ComInterface ci = (ComInterfaceClass)Marshal.CreateWrapperOfType(
GenericType, typeof(ComInterfaceClass));
or
Memory Allication (Managed VC++ to Unmanaged DLL) 28 Dec 2004 00:05 GMT2
Simple question on memory allocation.
I have a "Unmanaged" Client DLL that I'm creating a Managed wrapper to be
used in Visual Basic .Net and C#..
Current in on the client side of the application, There are points where I
Making a PIA from an imported typelib28 Dec 2004 00:02 GMT4
I have a very custom case where a typelib relies on another typelib that does
not have a PIA.  We want to make our interop for our typelib a PIA.  We
cannot change our typelib at all (interfaces are cemented), so the decision
was to modify the interop assembly created from our ...
Problem with WinAPI27 Dec 2004 23:57 GMT1
I use some of Windows Terminal Services APIs in my app.
The is an API function which enumerates sessions on a terminal server.
It uses a pointer from another API function to know on which exactly server
to operate.
null reference exception on DLL call in C#27 Dec 2004 23:45 GMT1
I'm trying to implement calls to an existing C-based DLL within a C# program.  It sounds straightforward enough, but any calls to the extern functions produce a NullReferenceException.
My code looks like this:
[DllImport( @"e:\jbhexe\sscam.dll", EntryPoint="BAM_calcs" )]
public ...
Returning char* as string27 Dec 2004 23:31 GMT1
As I understood, when returning System.String with interop, .NET tries
to delete it with CoTaskMemFree(). But, this char* points to permanent
part of memory, and should not be deleted. Is it possible to disable
this behaviour (with some marshal attribute maybe)? I know I can return
RAM used goes crazy with Dllimport ?27 Dec 2004 11:52 GMT2
I have a native, C++ console app that uses ~26MB of RAM when it runs.
It uses quite a lot of RAM to make some math but will never xceed 26MB.
Now I've  made a dll out of this code and use it with DllImport in a C#
console application.
Pages: 1 2 3 4 5 6 7 November, 2004
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.