from VB 6.0 to Pelles C - howto ?

Started by nilspalm, July 09, 2009, 10:11:11 AM

Previous topic - Next topic

nilspalm

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 !




JohnF

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

AlexN

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. :)
best regards
Alex ;)

MrBcx

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.
Bcx Basic to C/C++ Translator
https://www.bcxbasiccoders.com