473,395 Members | 1,679 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,395 software developers and data experts.

InAttribute/OutAttribute vs out/ref

Hi,

How do InAttribute/OutAttribute interact with out/ref when PInvoking (in my
case, linking a dll).

Thank you,
---
Tom Tempelaere

Nov 16 '05 #1
1 4940
Hi,

Have a look at:

http://msdn.microsoft.com/library/de...ngBehavior.asp

(expecially "Directional Attributes")
HTH,
Greetings

"TT (Tom Tempelaere)" <_N_0SPA|/\|t*******@hotmail.com|/\|APS0_N_> wrote in
message news:2R*********************@phobos.telenet-ops.be...
Hi,

How do InAttribute/OutAttribute interact with out/ref when PInvoking (in my case, linking a dll).

Thank you,
---
Tom Tempelaere

Nov 16 '05 #2

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

Similar topics

3
by: Nikolay Petrov | last post by:
Guys, please help. I am trying to make this work from at least 4 months. I am new to programming and some things are difficult to me, but I really need to make my project work. I can't find...
16
by: dev | last post by:
Hello, How can the following code be converted to VB.Net? I am mostly interested in how to handle the StrPtr calls in the function. Private Declare Function PathRelativePathToW Lib...
10
by: Juan Sutton | last post by:
I'm building a web service and trying to get an output similar to this: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body>...
6
by: VJ | last post by:
Does ByRef work when calling a Method in DLL from a Executable? VJ
8
by: **Developer** | last post by:
Been reading some of the Marshal doc and am a little confused. Anyway, I've been using the following and it works OK. Public Declare Auto Function SHGetFolderPath Lib "shell32.dll" (ByVal hWnd...
0
by: humbleaptience | last post by:
I'm migrating from 1.1 to 2.0. This code worked fine in 1.1 , but now it throws an exception. public static int LLtoUTM(int datumIn, int datumOut, double p_lat, double p_lon,ref double...
2
by: humbleaptience | last post by:
I have a web application that uses a DLL using DLLImport. Twice I have put the application live on the net and it has been used hundreds or thousands of time before it has been strangely brought...
3
by: John Olbert | last post by:
What Method signature do you use in Managed C++ that will appear as the following in C#-- F1(out int Int1){} I have tried-- public void F1(int^ Int1){} Thanks. --
3
by: =?Utf-8?B?TWFyYw==?= | last post by:
I am using VB 2005 to get the printers that have been installed on a Windows Server 2003 R2 box. I would like to write these printers into a table in SQL Server. The problem is when I run the code...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.