Comm32 Logo
Home Button   

Topic:   Visual Foxpro issue running OCX from executable

By: BenPosted on: Jan 16 2012 at 04:11:23 PM
I just recently downloaded and purchased the ocx control but having problems running it from the executable. It runs fine in the development environment but gets errors in the EXE. The error reported is "type mismatch" but only in the exe. It runs fine in development environment

By: SupportPosted on: Jan 16 2012 at 05:36:23 PM
Hello Ben - I replied to your email.

Does the error appear as soon as you open your exe (before even touching any of the control’s properties) or does it happen when you set up some property or do something with the port ?

By: SupportPosted on: Jan 17 2012 at 10:44:28 PM
Tested SComm32 in a simple project in visual Foxpro 6 and 9 SP1

Project runs fine in the Debugger and then once built to an exe I select DO from the program menu and select my new exe and run that and that works fine as well.

Is that how you're testing it?