No announcements
Found 2930199 threads
-
0 Votes
c function that return a struct to c#
Hello, i have a c function that return a structure, i have build a .dll and i want to call it from ...Proposed | 1 Replies | 1112 Views | Created by Raed lafi - Friday, May 18, 2018 12:08 AM | Last reply by Wendy Zang - Sunday, May 20, 2018 2:55 PM -
2 Votes
c function that return a struct to c#
i have a c function that return a structure, i haveUnanswered | 6 Replies | 480 Views | Created by Raed lafi - Saturday, May 19, 2018 2:55 PM | Last reply by RLWA32 - Monday, May 28, 2018 3:09 PM -
0 Votes
Using Graphics Diagnostic with Store App, C#/C++, DirectX, MediaFoundation
The problem is that GetInnerUnknown function return NULL in eax, and the exception is thrown when dereferencing eax. So my ... -
0 Votes
transporting bytes with send/recv via 127.0.0.1 is not working
Hello, world! I run the "sender" app CHAR c = 'a'; struct sockaddr_in name; WSADATA ... -
1 Votes
Import C struct in C#
Hello, I am trying to import a dll written in C to C# (.NET 2012). Most of the functions work correct except those ...Answered | 2 Replies | 15722 Views | Created by ricky_CSharp - Tuesday, October 29, 2013 9:13 AM | Last reply by ricky_CSharp - Wednesday, October 30, 2013 6:29 AM -
0 Votes
How to import an unmanaged c++ exported function with a struct return value.
http://msdn.microsoft.com/netframework/programming/interop/default.aspx For your particular question about how to import a function that has ...Answered | 1 Replies | 5457 Views | Created by skumarpraveen - Wednesday, February 15, 2006 11:32 AM | Last reply by Jesse Kaplan - MSFT - Thursday, February 23, 2006 7:23 PM -
0 Votes
little winsock information required in C++
Hi I did some network programming in .net and i have started in C== i have got my project up and running but i need a little bit of information about the host . currently i know how ... -
0 Votes
A struct problem on Visual studio 2010.
notifies me that there is an error as follows: error C2556: 'struct Numbers MaxNum (unsigned char *)' : overloaded function differs only by ...Unanswered | 1 Replies | 1943 Views | Created by ShimonShami - Tuesday, November 1, 2011 2:27 PM | Last reply by Brian Muth - Wednesday, November 2, 2011 4:10 AM -
0 Votes
Marshalling C++ Struct with function pointers in C#
; definition here) NPS passed a control block to the functionUnanswered | 2 Replies | 1266 Views | Created by xxVictorxx - Friday, April 20, 2018 9:30 AM | Last reply by xxVictorxx - Friday, April 20, 2018 2:51 PM -
0 Votes
Return value problem
struct S { long long _x; }; #pragma pack(pop) } I have a function GetS declared in F.H as ...Unanswered | 0 Replies | 3714 Views | Created by Accel - Monday, March 17, 2008 10:47 AM | Last reply by Accel - Monday, March 17, 2008 10:49 AM -
1 Votes
GTK trouble - error LNK2028: unresolved token (0A00000B)....
) "extern "C" struct _GtkWidget * __cdecl gtk_window_new(enum GtkWindowType)" (?gtk_window_new@@$$J0YAPAU_GtkWidget@@W4GtkWindowType@@@Z) referenced in ...Answered | 1 Replies | 6477 Views | Created by Kraftfurz - Monday, October 29, 2007 10:34 AM | Last reply by Bite Qiu - MSFT - Friday, November 2, 2007 9:04 AM -
4 Votes
Field Initializer in Struct C#
You need to understand that at compile time, the compiler will attempt to take your code that initializes a given field and put it it in a niladic ...Answered | 1 Replies | 11998 Views | Created by richard1994x - Wednesday, July 31, 2013 7:26 AM | Last reply by ByteBlast - Wednesday, July 31, 2013 8:48 AM -
0 Votes
DirectX3D Make File Question (Makefile almost done)
So i pieced together a make file, and all seems be going well except the fact that it is not pulling in any of the DirectX libs stored on my C ...Answered | 1 Replies | 4574 Views | Created by Dudebodacious - Sunday, May 2, 2010 4:59 AM | Last reply by Dudebodacious - Sunday, May 2, 2010 5:04 AM -
0 Votes
struct vs. class
in C#. I need the C++ answer. I am not just asking that when to use class and when to use ...Answered | 1 Replies | 3931 Views | Created by v3kt0Rrr - Tuesday, July 6, 2010 11:28 AM | Last reply by ildjarn - Tuesday, July 6, 2010 11:30 AM -
0 Votes
Problem with C++ callback function call in C#
the function pointer that the unmanaged function accepts should respect the C calling convention but the delegate instance you pass to it does not (it ...Answered | 2 Replies | 8202 Views | Created by Neal C - Tuesday, October 30, 2007 8:23 PM | Last reply by 心蓝 - Friday, October 28, 2011 4:19 PM -
0 Votes
C malloc vs C++ new.... acting differently on their return pointer ?
>Finally, you return the address to the first element of this array (note how the return value is rec**, and not rec*). >That is, you ...Answered | 2 Replies | 4334 Views | Created by _roberto_ - Sunday, December 12, 2010 7:33 PM | Last reply by _roberto_ - Sunday, December 12, 2010 10:14 PM -
0 Votes
operator overloading and extension method for a C++ component
in c++ and a length function. Unfortunately they are not available in C#! So I have to redefine method in C# to do ...Answered | 2 Replies | 1899 Views | Created by Lloyd - Sunday, December 16, 2012 4:48 PM | Last reply by Lloyd - Tuesday, December 18, 2012 9:56 AM -
0 Votes
How to use COM to pass a C struct to a C# Class Library function
struct { int x; char foo[50]; double y; } ...Answered | 3 Replies | 1443 Views | Created by bluewindow99 - Sunday, March 10, 2013 10:23 PM | Last reply by Tonchi91 - Monday, March 11, 2013 6:28 AM -
1 Votes
Errors from testing MFC program
: '=' : cannot convert from 'class COurWnd *' to 'int' This conversion requires a reinterpret_cast, a C-style ...Answered | 2 Replies | 3875 Views | Created by bae bae - Monday, October 6, 2008 3:30 AM | Last reply by bae bae - Monday, October 6, 2008 3:37 AM -
0 Votes
struct inheritance - the PIDL problem
are there any C++ inheritance features available to struct type objects? That is C style structs where a vtable is not ...Answered | 3 Replies | 1953 Views | Created by Steve Richter - Thursday, June 14, 2012 9:56 PM | Last reply by Steve Richter - Friday, June 15, 2012 12:25 PM - Items 1 to 20 of 2930199 Next ›
No announcements