Pelles C forum

Pelles C => General discussions => Topic started by: nilspalm on July 09, 2009, 10:11:11 AM

Title: from VB 6.0 to Pelles C - howto ?
Post by: nilspalm on July 09, 2009, 10:11:11 AM
Hi Everybody !

I want ( and need ) to migrate away from VB 6.0 ...

At present I use VB 6.0 to control some industrial control (Beckhoff ) via a AdsOcx OLE control module.

Is there any way to get the simplicity of the VB 'event oriented environment' with Pelles C ?

Thanks a lot !



Title: Re: from VB 6.0 to Pelles C - howto ?
Post by: JohnF on July 09, 2009, 10:24:01 AM
Quote from: nilspalm on July 09, 2009, 10:11:11 AM
Hi Everybody !

I want ( and need ) to migrate away from VB 6.0 ...

At present I use VB 6.0 to control some industrial control (Beckhoff ) via a AdsOcx OLE control module.

Is there any way to get the simplicity of the VB 'event oriented environment' with Pelles C ?

Thanks a lot !


I've no doubt that it is possible but you will not find it as easy as using VB.

The best course of action would be to find someone or some code written in C that that already interfaces with those various libraries.

John
Title: Re: from VB 6.0 to Pelles C - howto ?
Post by: AlexN on July 09, 2009, 11:20:39 AM
Quote from: nilspalm on July 09, 2009, 10:11:11 AM

Is there any way to get the simplicity of the VB 'event oriented environment' with Pelles C ?


I don't know if it helps you, but do you know BCX. This is a BASIC to C translater.

There are some links:
http://bcx-basic.sourceforge.net/
http://www.bcxgurus.com/

If you are interested, you can also look in the forum for BCX. :)
Title: Re: from VB 6.0 to Pelles C - howto ?
Post by: MrBcx on July 11, 2009, 04:14:08 AM
Quote from: AlexN on July 09, 2009, 11:20:39 AM
Quote from: nilspalm on July 09, 2009, 10:11:11 AM

Is there any way to get the simplicity of the VB 'event oriented environment' with Pelles C ?


I don't know if it helps you, but do you know BCX. This is a BASIC to C translater.

There are some links:
http://bcx-basic.sourceforge.net/
http://www.bcxgurus.com/

If you are interested, you can also look in the forum for BCX. :)

BCX has pretty decent OLE/COM support (late binding). 

BCX was written in BCX BASIC and compiles beautifully with Pelles C.

I personally think it's a great way to productively ease into C for Windows.