Click here to Skip to main content
15,907,231 members
Home / Discussions / C#
   

C#

 
GeneralRe: Server 2003 DDK, ZMODEM Pin
Heath Stewart23-Jan-04 6:38
protectorHeath Stewart23-Jan-04 6:38 
GeneralRe: Server 2003 DDK, ZMODEM Pin
leppie23-Jan-04 9:02
leppie23-Jan-04 9:02 
Generalneed to import weird C struct Pin
sammyh23-Jan-04 5:28
sammyh23-Jan-04 5:28 
GeneralRe: need to import weird C struct Pin
Heath Stewart23-Jan-04 5:40
protectorHeath Stewart23-Jan-04 5:40 
GeneralRe: need to import weird C struct Pin
sammyh23-Jan-04 6:00
sammyh23-Jan-04 6:00 
GeneralRe: need to import weird C struct Pin
Heath Stewart23-Jan-04 6:08
protectorHeath Stewart23-Jan-04 6:08 
GeneralRe: need to import weird C struct Pin
leppie23-Jan-04 6:08
leppie23-Jan-04 6:08 
GeneralRe: need to import weird C struct Pin
sammyh23-Jan-04 8:27
sammyh23-Jan-04 8:27 
I'm still having problems with the marshalling

I get an exception "Can not marshal field param of type ProjWrapper.PJ: The type definition of this field has no layout information."

I have tagged it with Layout.Sequential

//XY  (*fwd)(LP, struct PJconsts *); original<br />
	public delegate XY fwd(LP lp, PJ pj);		<br />
	///etc<br />
<br />
	[StructLayout(LayoutKind.Sequential)]<br />
	public class PJ<br />
	{<br />
		fwd fwdcallback;<br />
		//etc<br />
        }


Could the problem be in the return Marshal of the PJ class, or am I messing up the callback definitions still

Thank you very much for your help....

-Sam
GeneralRe: need to import weird C struct Pin
leppie23-Jan-04 8:47
leppie23-Jan-04 8:47 
GeneralRe: need to import weird C struct Pin
sammyh23-Jan-04 9:25
sammyh23-Jan-04 9:25 
Questionhow do i enable directx? Pin
godzooky23-Jan-04 5:20
godzooky23-Jan-04 5:20 
AnswerRe: how do i enable directx? Pin
sammyh23-Jan-04 5:33
sammyh23-Jan-04 5:33 
AnswerRe: how do i enable directx? Pin
Heath Stewart23-Jan-04 5:35
protectorHeath Stewart23-Jan-04 5:35 
GeneralRe: how do i enable directx? Pin
godzooky23-Jan-04 6:13
godzooky23-Jan-04 6:13 
GeneralRe: how do i enable directx? Pin
Heath Stewart23-Jan-04 6:34
protectorHeath Stewart23-Jan-04 6:34 
GeneralRe: how do i enable directx? Pin
AllanC123-Jan-04 17:34
AllanC123-Jan-04 17:34 
GeneralNeed help from someone with C++ background Pin
J. Eric Vaughan23-Jan-04 4:39
J. Eric Vaughan23-Jan-04 4:39 
GeneralRe: Need help from someone with C++ background Pin
Heath Stewart23-Jan-04 5:17
protectorHeath Stewart23-Jan-04 5:17 
GeneralRe: Need help from someone with C++ background Pin
J. Eric Vaughan23-Jan-04 6:33
J. Eric Vaughan23-Jan-04 6:33 
GeneralRe: Need help from someone with C++ background Pin
Heath Stewart23-Jan-04 6:36
protectorHeath Stewart23-Jan-04 6:36 
GeneralRe: Need help from someone with C++ background Pin
J. Eric Vaughan23-Jan-04 8:42
J. Eric Vaughan23-Jan-04 8:42 
Questionhow to load referenced assemblies Pin
occcy23-Jan-04 4:23
occcy23-Jan-04 4:23 
AnswerRe: how to load referenced assemblies Pin
Heath Stewart23-Jan-04 4:53
protectorHeath Stewart23-Jan-04 4:53 
GeneralGAC / Reference / VStudio Pin
dabossuk23-Jan-04 2:25
dabossuk23-Jan-04 2:25 
GeneralRe: GAC / Reference / VStudio Pin
Heath Stewart23-Jan-04 4:44
protectorHeath Stewart23-Jan-04 4:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.