Click here to Skip to main content
15,510,057 members
Home / Discussions / C#
   

C#

 
GeneralRe: Check for the dialog box. Pin
Heath Stewart23-Jan-04 9:26
protectorHeath Stewart23-Jan-04 9:26 
GeneralServer 2003 DDK, ZMODEM Pin
Shahin7723-Jan-04 6:51
Shahin7723-Jan-04 6:51 
GeneralRe: Server 2003 DDK, ZMODEM Pin
leppie23-Jan-04 7:01
leppie23-Jan-04 7:01 
GeneralRe: Server 2003 DDK, ZMODEM Pin
Shahin7723-Jan-04 7:31
Shahin7723-Jan-04 7:31 
GeneralRe: Server 2003 DDK, ZMODEM Pin
Heath Stewart23-Jan-04 7:38
protectorHeath Stewart23-Jan-04 7:38 
GeneralRe: Server 2003 DDK, ZMODEM Pin
leppie23-Jan-04 10:02
leppie23-Jan-04 10:02 
Generalneed to import weird C struct Pin
sammyh23-Jan-04 6:28
sammyh23-Jan-04 6:28 
GeneralRe: need to import weird C struct Pin
Heath Stewart23-Jan-04 6:40
protectorHeath Stewart23-Jan-04 6:40 
The XY and LP structs are easy:
[StructLayout(LayoutKind.Sequential)]
public struct XY
{
  public double x;
  public double y;
}
[StructLayout(LayoutKind.Sequential)]
public struct LP
{
  public double lam;
  public double phi;
}
If you look at the PJconsts struct, though, it's actually being used as a class (possible in C++). You should instead define this as a class, keeping in mind that anything declared as a class is a reference Type already, so you don't need a pointer to it. If you need to pass a reference to a value type (like structs, for example), use either the out or ref keyword, depending on whether or not the param is defined as [out] or [in,out] respectively.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: need to import weird C struct Pin
sammyh23-Jan-04 7:00
sammyh23-Jan-04 7:00 
GeneralRe: need to import weird C struct Pin
Heath Stewart23-Jan-04 7:08
protectorHeath Stewart23-Jan-04 7:08 
GeneralRe: need to import weird C struct Pin
leppie23-Jan-04 7:08
leppie23-Jan-04 7:08 
GeneralRe: need to import weird C struct Pin
sammyh23-Jan-04 9:27
sammyh23-Jan-04 9:27 
GeneralRe: need to import weird C struct Pin
leppie23-Jan-04 9:47
leppie23-Jan-04 9:47 
GeneralRe: need to import weird C struct Pin
sammyh23-Jan-04 10:25
sammyh23-Jan-04 10:25 
Questionhow do i enable directx? Pin
godzooky23-Jan-04 6:20
godzooky23-Jan-04 6:20 
AnswerRe: how do i enable directx? Pin
sammyh23-Jan-04 6:33
sammyh23-Jan-04 6:33 
AnswerRe: how do i enable directx? Pin
Heath Stewart23-Jan-04 6:35
protectorHeath Stewart23-Jan-04 6:35 
GeneralRe: how do i enable directx? Pin
godzooky23-Jan-04 7:13
godzooky23-Jan-04 7:13 
GeneralRe: how do i enable directx? Pin
Heath Stewart23-Jan-04 7:34
protectorHeath Stewart23-Jan-04 7:34 
GeneralRe: how do i enable directx? Pin
AllanC123-Jan-04 18:34
AllanC123-Jan-04 18:34 
GeneralNeed help from someone with C++ background Pin
J. Eric Vaughan23-Jan-04 5:39
J. Eric Vaughan23-Jan-04 5:39 
GeneralRe: Need help from someone with C++ background Pin
Heath Stewart23-Jan-04 6:17
protectorHeath Stewart23-Jan-04 6:17 
GeneralRe: Need help from someone with C++ background Pin
J. Eric Vaughan23-Jan-04 7:33
J. Eric Vaughan23-Jan-04 7:33 
GeneralRe: Need help from someone with C++ background Pin
Heath Stewart23-Jan-04 7:36
protectorHeath Stewart23-Jan-04 7:36 
GeneralRe: Need help from someone with C++ background Pin
J. Eric Vaughan23-Jan-04 9:42
J. Eric Vaughan23-Jan-04 9:42 

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.