Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Once only problem
Message
From
12/09/2008 08:31:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
12/09/2008 06:20:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01346984
Message ID:
01347002
Views:
15
>i have this problem with the program onceonly which i use to ensure that the user only executes the EXE once only.
>the program uses the WINAPI findwindow, bringwindowtotop and showwindow functions
>
>the problem is
>
>if i compile my prg as an EXE and distribute it, it does not run, however if the user machine has visual fox pro installed there is no problem.
>
>i can understand that there must be some other file i need to have in the directory from where i run my program other than the normal DLLs that are used, but which one ?

Does not run? Do you get any error messages - or does the EXE just close immediately? 'Cause those are two quite distinct problems.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform