Skip to main content



      Home
Home » Newcomers » Newcomers » Windows SDK for Eclipse
Windows SDK for Eclipse [message #233941] Fri, 21 September 2007 09:47 Go to next message
Eclipse UserFriend
Originally posted by: tom.xxxxxx.xxx

Hello together,

is it possible to use the Windows Platform SDK or the Windows Mobile SDK
with Eclipse? If not, how is it possible to create applications for
Windows XP/Windows Mobile with Eclipse then?

Thanks for your help.

Tom
Re: Windows SDK for Eclipse [message #233956 is a reply to message #233941] Fri, 21 September 2007 10:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Tom,

I think you're asking about setting the Windows->Preferences->Plug-in
Development->Target Platform? That's normally set by default to be the
platform that you're running with so yes, you can use Eclipse to develop
applications that target the platform you are using...


Tom wrote:
> Hello together,
>
> is it possible to use the Windows Platform SDK or the Windows Mobile
> SDK with Eclipse? If not, how is it possible to create applications
> for Windows XP/Windows Mobile with Eclipse then?
>
> Thanks for your help.
>
> Tom
>
Re: Windows SDK for Eclipse [message #233976 is a reply to message #233956] Fri, 21 September 2007 11:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.xxxxxx.xxx

Hi,

thanks for your response!

Actually I was wondering how or if I can use the Windows Mobile SDK in
Eclipse.

Afaik I think the Windows SDKs are libraries that come with several
classes and functions you need to - let's say - access a GPS port on a
Windows Mobile device.

If I can't use these SDKs with Eclipse I suppose I don't have the
functions I need to debug and compile the code. So how is it possible to
develop such applications with Eclipse. I would really like to use it
instead of Visual Studio.

Thanks.

Tom
Re: Windows SDK for Eclipse [message #233983 is a reply to message #233976] Fri, 21 September 2007 12:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Tom,

I guess it depends a little bit how you are using it. If you are
building OSGi bundles, you'd want to package these libraries up as a
plugin for reuse by other plugins and so that they are available at
runtime as a proper bundle. Otherwise you can just add the jars to the
classpath of the Java projects that need to use them (via the pop-up
properties of the project).

Tom wrote:
> Hi,
>
> thanks for your response!
>
> Actually I was wondering how or if I can use the Windows Mobile SDK in
> Eclipse.
> Afaik I think the Windows SDKs are libraries that come with several
> classes and functions you need to - let's say - access a GPS port on a
> Windows Mobile device.
>
> If I can't use these SDKs with Eclipse I suppose I don't have the
> functions I need to debug and compile the code. So how is it possible
> to develop such applications with Eclipse. I would really like to use
> it instead of Visual Studio.
>
> Thanks.
>
> Tom
>
Re: Windows SDK for Eclipse [message #233999 is a reply to message #233983] Fri, 21 September 2007 13:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.xxxxxx.xxx

Hi Ed,

maybe I should have mentioned that I am talking about C++. Sorry for
confusing you.

Thanks.

Tom
Re: Windows SDK for Eclipse [message #234007 is a reply to message #233999] Fri, 21 September 2007 13:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------040807020807010702080104
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Tom,

Yep, that's useful information. Probably it's better to ask about this
on the CDT newsgroup:

news://news.eclipse.org/eclipse.tools.cdt

I imagine that they can support you using any library..


Tom wrote:
> Hi Ed,
>
> maybe I should have mentioned that I am talking about C++. Sorry for
> confusing you.
>
> Thanks.
>
> Tom
>


--------------040807020807010702080104
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tom,<br>
<br>
Yep, that's useful information.
Re: Windows SDK for Eclipse [message #234013 is a reply to message #233983] Fri, 21 September 2007 13:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fd0qss$88b$1@build.eclipse.org...
> Tom,
>
> I guess it depends a little bit how you are using it. If you are
> building OSGi bundles, you'd want to package these libraries up as a
> plugin for reuse by other plugins and so that they are available at
> runtime as a proper bundle. Otherwise you can just add the jars to the
> classpath of the Java projects that need to use them (via the pop-up
> properties of the project).

I think Tom is asking, basically, "how to write a Windows application with
Eclipse". That is, how to call Windows APIs, and in this case specifically
the APIs that are part of a different Windows distribution than the normal
desktop Win32 API.

If I'm wrong, then ignore the rest of this...

Tom, when you use Eclipse as a Java development environment, you typically
access the operating system through Java libraries. The Windows APIs aren't
exposed as Java APIs, however. Instead, some of them are reached indirectly
via the Java VM (for instance, file access and threading); others are
exposed through a windowing toolkit, such as SWT or Swing. Java
applications almost never make direct OS calls themselves.

If a Java application has to make a direct OS call, it has to do it through
the Java Native Interface (JNI). This is basically a way of calling C code
from Java. With JNI, you specify a DLL to link to and bind to a particular
function, and then call that; and there's ways to marshal parameters and
return values back and forth. Under the covers that's what the VM or
Swing/SWT have to do, also.

So, you can choose one of a few levels of abstraction:

1. Use Eclipse as a C/C++ IDE, with the CDT plug-ins, to write a C/C++
application that links directly to the appropriate Windows API libraries.

2. Use Eclipse as a Java IDE, targeting a VM and operating environment that
is designed to run on the mobile platform you have in mind. For instance,
your Java runtime library would probably be J2ME (Mobile Edition) rather
than J2SE, the default. You would also need to use an appropriate version
of whatever windowing toolkit you select.

3. Same as #2, but use JNI to make the particular OS calls you want
directly.
Re: Windows SDK for Eclipse [message #234019 is a reply to message #234013] Fri, 21 September 2007 13:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.xxxxxx.xxx

Hey Walter,

thanks. You enlightened this topic to me. Option No 1 suits me best as I
wanted to program in C++. I suppose it is the easiest way if I have a
device with Windows Mobile on it as it has very easy functions to - for
example - access the GPS Port. So yeah, actually the most important thing
I didn't know is that CDT is addressing the Windows SDKs on my computer. I
hope it really works with the Windows Mobile SDK. Maybe VS would still be
better because it also offers emulators for my PDA but it's just to
expensive for a student project. Thanks again for you help!

Cheers.

Tom

PS: Cool name ;-).
Re: Windows SDK for Eclipse [message #234027 is a reply to message #234019] Fri, 21 September 2007 14:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.xxxxxx.xxx

Hello again Walter,

just thought it was wrong to say "CDT is addressing the Windows SDKs"
because it's addressing the API, isn't it? But aren't headers and stuff
that is included in the Windows Platform SDK an API extension. Or am I
totally confusing things now? It seems like in the Windows Mobile SDK
there are no headers included but just tools like emulators and other
plugins for VS. I just know that I cannot use certain functions without
including headers of the Platform SDK. So not every function is already
included in DLLs on the computer. Are all the functions I need for Windows
Mobile already included in the Platform SDK I installed? Is there also a
way to use .NET with Eclipse? I guess not. Maybe it would really make
sense to use VS for my purposes. I read that it is much easier to access
ports via .NET.

Sorry, many questions. It's hard to understand all the connections.

Tom
Re: Windows SDK for Eclipse [message #234073 is a reply to message #234027] Fri, 21 September 2007 17:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Tom" <tom@xxxxxx.xxx> wrote in message
news:915ed3398325e1b43d27558b0d27aadf$1@www.eclipse.org...
> Hello again Walter,
>
> just thought it was wrong to say "CDT is addressing the Windows SDKs"
> because it's addressing the API, isn't it? But aren't headers and stuff
> that is included in the Windows Platform SDK an API extension. Or am I
> totally confusing things now? It seems like in the Windows Mobile SDK
> there are no headers included but just tools like emulators and other
> plugins for VS. I just know that I cannot use certain functions without
> including headers of the Platform SDK. So not every function is already
> included in DLLs on the computer. Are all the functions I need for Windows
> Mobile already included in the Platform SDK I installed? Is there also a
> way to use .NET with Eclipse? I guess not. Maybe it would really make
> sense to use VS for my purposes. I read that it is much easier to access
> ports via .NET.

These would probably be good questions to post to the CDT newsgroup. There
are more people there who will know how to access the different platforms'
features.
Re: Windows SDK for Eclipse [message #234096 is a reply to message #234073] Fri, 21 September 2007 18:42 Go to previous message
Eclipse UserFriend
Originally posted by: tom.xxxxxx.xxx

Thanks Walter. I will see if someone has answers in the other group.

Cheers.

Tom
Previous Topic:Web interface to search the newsgroups
Next Topic:Can I delete a project from CVS in Eclipse?
Goto Forum:
  


Current Time: Sun Jun 08 15:54:07 EDT 2025

Powered by FUDForum. Page generated in 0.08476 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top