Application design tips for integration with Wine ??

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
arunb
Level 1
Level 1
Posts: 9
Joined: Mon Sep 15, 2008 6:12 am

Application design tips for integration with Wine ??

Post by arunb »

Hi,

I ussually develop in VB 6.0 for Windows XP operating system. Are there any application design tips that I could follow, so that my applications could work in Wine ??

I mostly design real-time applications that use the serial port for interaction with an external hardware.

Are there any such design tips ??

thanks
aa
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Application design tips for integration with Wine ??

Post by austin987 »

On Sun, Mar 29, 2009 at 5:21 AM, arunb <[email protected]> wrote:
Hi,

I ussually develop in VB 6.0 for Windows XP operating system. Are there any application design tips that I could follow, so that my applications could work in Wine ??
Be sure to bundle the visual basic runtimes with your application.
Test your application on Wine, and file bugs for any problems you see.
Since you have the source, attach a small testcase to make the bug
easier to fix.
I mostly design real-time applications that use the serial port for interaction with an external hardware.
Serial support is kinda crappy in Wine...most developers don't have
that hardware, and so support has languished. As for real-time,
depending on the user's kernel, this may be difficult to achieve.

--
-Austin
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Application design tips for integration with Wine ??

Post by vitamin »

arunb wrote:I ussually develop in VB 6.0 for Windows XP operating system. Are there any application design tips that I could follow, so that my applications could work in Wine ??

I mostly design real-time applications that use the serial port for interaction with an external hardware.
You kidding right? VB and real-time? ROFL... I never had sooooo much laugh in my life!

You either don't use VB or you don't write real-time anything. Besides, what RT are you talking about on windows? Or you using specially modified versions of it for soft RT (windows by definition is incapable of hard-RT)?

As Austin said, Wine has number of issues with serial ports. It's a hit and miss. My suggestion write native Linux app instead.
arunb
Level 1
Level 1
Posts: 9
Joined: Mon Sep 15, 2008 6:12 am

RE:

Post by arunb »

You kidding right? VB and real-time? ROFL... I never had sooooo much laugh in my life!
I develop firmware for PIC micro-controllers, these devices interface to a PC via the serial port, ethernet, the applications on the PC end are in VB.

I can't think what's funny with this...
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: RE:

Post by vitamin »

arunb wrote:I can't think what's funny with this...
Please read the definition of the "real-time" before using this term anywhere. Here is a decent explanation of what it is: http://en.wikipedia.org/wiki/Real-time_computing
arunb
Level 1
Level 1
Posts: 9
Joined: Mon Sep 15, 2008 6:12 am

RE:

Post by arunb »

I agree entirely, but if you read carefully in my post.

I do not actually use VB for real time application (this is an an assumption made by you), the firmware inside the PIC instead works in real-time..

hope this helps you out.
Locked