Click here to Skip to main content
15,909,939 members
Home / Discussions / C#
   

C#

 
QuestionPrinting an Image scaled to full page Pin
STRICQ19-Jun-06 19:05
STRICQ19-Jun-06 19:05 
AnswerRe: Printing an Image scaled to full page Pin
STRICQ22-Jun-06 19:40
STRICQ22-Jun-06 19:40 
QuestionDataSet/DataTable to .dbf convertion Pin
Nagendra Gunaga19-Jun-06 18:59
Nagendra Gunaga19-Jun-06 18:59 
NewsQQ group for Wuhan-China's programer Pin
whChina19-Jun-06 17:12
whChina19-Jun-06 17:12 
GeneralRe: QQ group for Wuhan-China's programer Pin
whChina20-Jun-06 23:27
whChina20-Jun-06 23:27 
QuestionMultiplatform (32bits/64bits/CE) & Interop Pin
Super Lloyd19-Jun-06 16:16
Super Lloyd19-Jun-06 16:16 
AnswerRe: Multiplatform (32bits/64bits/CE) & Interop Pin
leppie19-Jun-06 22:01
leppie19-Jun-06 22:01 
GeneralRe: Multiplatform (32bits/64bits/CE) & Interop Pin
Super Lloyd19-Jun-06 22:13
Super Lloyd19-Jun-06 22:13 
er...
thanks for answering!

what I was trying to do in a simple manner (if possible) is to have one library to run them all!

like imagine my program is a click once application, I would like (if possible) to avoid the x32 link, the x64 link, the CE link.
Just one link and it runs whatever the end-user machine.

Or also imagine the user "install" (i.e. copy) the file on one PC, and then he simply copy on an other PC and it sill works!

Conditional compilation is a clean way to have a build for a given platform.
But I wonder if there is a no hassel way to have one build for all platform that the user could simply copy without worrying about his pc's architecture....

you see what I mean?
is it possible? (in a simple way)


Note:
I did something like that on the PocketPC a while ago but it was akward.
Basically it was worked like that:

enum Platform
{
CE,
Win32,
}
public class OSUtil
{
internal static Platform Platform { get {} }

public Value AMethod()
{
switch(Platform)
{
case CE:
return OSUtilCE.AMethod();
case CE:
return OSUtilWin32.AMethod();
}
}
}
class OSUtilCE
{
static Value AMethod() {}
}
class OSUtil32
{
static Value AMethod() {}
}
GeneralRe: Multiplatform (32bits/64bits/CE) & Interop Pin
Super Lloyd19-Jun-06 22:17
Super Lloyd19-Jun-06 22:17 
GeneralRe: Multiplatform (32bits/64bits/CE) & Interop Pin
Super Lloyd20-Jun-06 5:40
Super Lloyd20-Jun-06 5:40 
QuestionXSL:, XMLDOM C# Pin
Ramon Gzz M19-Jun-06 16:10
Ramon Gzz M19-Jun-06 16:10 
QuestionMicrosoft Word/Excel Automation Errors [modified] Pin
dbloch19-Jun-06 15:19
dbloch19-Jun-06 15:19 
QuestionUser settings for application Pin
Mike0919-Jun-06 14:27
Mike0919-Jun-06 14:27 
AnswerRe: User settings for application Pin
Mike Poz19-Jun-06 15:03
Mike Poz19-Jun-06 15:03 
QuestionHow to get distinct items from an array? Pin
mejobloggs19-Jun-06 13:34
mejobloggs19-Jun-06 13:34 
AnswerRe: How to get distinct items from an array? Pin
Alexander Wiseman19-Jun-06 14:04
Alexander Wiseman19-Jun-06 14:04 
GeneralRe: How to get distinct items from an array? Pin
mejobloggs19-Jun-06 15:57
mejobloggs19-Jun-06 15:57 
GeneralRe: How to get distinct items from an array? Pin
leppie19-Jun-06 22:07
leppie19-Jun-06 22:07 
GeneralRe: How to get distinct items from an array? Pin
Alexander Wiseman20-Jun-06 5:43
Alexander Wiseman20-Jun-06 5:43 
AnswerRe: How to get distinct items from an array? Pin
Leslie Sanford19-Jun-06 16:43
Leslie Sanford19-Jun-06 16:43 
GeneralRe: How to get distinct items from an array? Pin
mejobloggs19-Jun-06 17:09
mejobloggs19-Jun-06 17:09 
AnswerRe: How to get distinct items from an array? Pin
Judah Gabriel Himango19-Jun-06 18:22
sponsorJudah Gabriel Himango19-Jun-06 18:22 
QuestionProcess.Start() mailto exception - default mail client Pin
stretchtack19-Jun-06 13:11
stretchtack19-Jun-06 13:11 
AnswerRe: Process.Start() mailto exception - default mail client Pin
Alexander Wiseman19-Jun-06 13:54
Alexander Wiseman19-Jun-06 13:54 
GeneralRe: Process.Start() mailto exception - default mail client Pin
stretchtack19-Jun-06 19:20
stretchtack19-Jun-06 19:20 

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.