473,320 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How can i delivery unmanaged struct as pointer of method parameter to my managed component?

I read brilliant ManWrap Lib article in MSDN Mag
(http://msdn.microsoft.com/msdnmag/is...C/default.aspx)

I'm making Internet Authenticatioin Server Extension DLL

This DLL must be only Win32 DLL and I trying to use your ManWrap Lib as my
dotnet component adapter layer

My Question is how can i deliever the C++ struct pointer parameter to my
DotNET Component
Internet Authenticaion Server calls following function
"RadiusExtensionProcess2"

I want to deliver RADIUS_EXTENSION_CONTROL_BLOCK struct pointer parameter to
my dotnet component

DWORD WINAPI RadiusExtensionProcess2(
PRADIUS_EXTENSION_CONTROL_BLOCK pECB
);

http://msdn.microsoft.com/library/en...asp?frame=true

I thank you in advance for your help
Nov 17 '05 #1
1 1532


"Ryu, Kyoung-Seok" wrote:
I read brilliant ManWrap Lib article in MSDN Mag
(http://msdn.microsoft.com/msdnmag/is...C/default.aspx)

I'm making Internet Authenticatioin Server Extension DLL

This DLL must be only Win32 DLL and I trying to use your ManWrap Lib as my
dotnet component adapter layer

My Question is how can i deliever the C++ struct pointer parameter to my
DotNET Component
Internet Authenticaion Server calls following function
"RadiusExtensionProcess2"

I want to deliver RADIUS_EXTENSION_CONTROL_BLOCK struct pointer parameter to
my dotnet component

DWORD WINAPI RadiusExtensionProcess2(
PRADIUS_EXTENSION_CONTROL_BLOCK pECB
);

http://msdn.microsoft.com/library/en...asp?frame=true

I thank you in advance for your help

Check out this link.
http://msdn2.microsoft.com/library/e...us,vs.80).aspx
Thanks,
Kapil
Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Angel | last post by:
I'm trying to call a DLL function that receives as parameter a user-defined structure created by the company that made the dll. When I call the function from my main form, I call...
8
by: Don | last post by:
I have a third party C++ DLL that I am trying to use from C#. The specific function I am trying to use is declared in C++ as follows: ladybugConvertToMultipleBGRU32( LadybugContext ...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
3
by: zhphust | last post by:
I want to convert a object of a managed class to a unmanaged structure that has the same member with that managed class. Can anybody tell me how i can do it? Thanks in advance. -- zhphust...
2
by: interX | last post by:
Hi, I have a little problem with managed/unmanaged in Visual Studio 2005 (Compiler setting /clr). I need to overhand several function pointers from managed to unmanaged. These function pointers...
6
by: Aston Martin | last post by:
Hi All, ********************** My Situation ********************** I am working on project that involves passing a structure to unmanaged code from .Net world (well using C#). Perhaps an example...
16
by: pkoniusz | last post by:
Hello everybody, Been just thinking how actually one could convert the following unmanaged code to the managed C++: struct JustAnExample { char value1; int value2; // etc ....
17
by: =?Utf-8?B?U2hhcm9u?= | last post by:
Hi Gurus, I need to transfer a jagged array of byte by reference to unmanaged function, The unmanaged code should changed the values of the array, and when the unmanaged function returns I need...
3
by: Klaus | last post by:
Hi, I have an existing VC 6 MFC application which communicates asynchronly with a VC 2005 managed code dll. I use an unmanaged base class with virtual functions to access methods in the MFC...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.