[hpsdr] .net framework 1.1

george byrkit ghbyrkit at chartermi.net
Mon Nov 1 14:47:16 PDT 2010


Joe,
Yes, that's true, at least for C# and VB.Net applications.  That causes 32
bit code to be generated.  It may be different for C/C++ (the DLLs), where I
think they are marked as 'Win32'.

Vy 73,
George K9TRV

-----Original Message-----
From: Joe Martin K5SO [mailto:k5so at valornet.com] 
Sent: Monday, November 01, 2010 5:34 PM
To: george byrkit
Subject: Re: [hpsdr] .net framework 1.1

Hi George,

Thank you for that explanation.

One more question for you.  In VS2008, should I  be using "x86"  
platforms only, as the target, to build the solution for my PowerSDR  
v1.19.3.1.diversity programs?

Joe

On Nov 1, 2010, at 3:21 PM, george byrkit wrote:

> ***** High Performance Software Defined Radio Discussion List *****
>
> Dear Joe,
> Yes, you now understand.  C# applications generate 'pseudo-code',  
> which is
> turned into 'real code' at the time that the application is loaded  
> to run.
> If it is marked 'any cpu', then on a 64 bit OS, it turns into 64 bit  
> code.
> This will then cause a problem when running 32 bit code in a C/C++  
> dll.
>
> Now, it isn't really 'emulation' that allows the code to run as 32  
> bit code
> on a 64 bit OS.  At least I wouldn't use that term, because the code  
> is not
> EMULATED.  It runs thru a 'shim' or 'thunk' layer that deals with
> interfacing the 32 bit code to the 64 bit operating system, when OS  
> calls
> are made.  Otherwise, the 32 bit code 'just runs' as 32 bit code.   
> No real
> emulation involved.  This may be 'hair-splitting', but I think it's  
> more
> correct than saying it is emulated.
>
> While somewhat similar to how 16 bit code would run on Windows 95  
> (gosh!  15
> years ago!), it's different.
>
> Vy 73,
> George K9TRV
>
> _______________________________________________
> HPSDR Discussion List
> To post msg: hpsdr at openhpsdr.org
> Subscription help:
http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org
> HPSDR web page: http://openhpsdr.org
> Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/


 1288648036.0


More information about the Hpsdr mailing list