Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read parameters needed by _screen.activeform
Message
From
01/12/2016 14:47:05
 
 
To
01/12/2016 11:45:52
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01644104
Message ID:
01644205
Views:
60
>>>>I had to be creative many times, when I got black box pieces like that and had to work around them... Debugger is one of my favorite can openers. The other one is, once you know the name of a variable holding >an object reference, to type in command window the name of that variable and a dot, and enjoy the benefits of intellisense...
>>>
>>>Thank you, but I'm missing something, this is the scenario: a third party have a vfp application "contab.exe" I'm allowed to add .scx forms to grow the program, there are menu options in sql tables that can be used to call the new forms. In these new forms I can call existing forms for using some "internal methods" created by third party, like createform("presups") this command open the compiled form and I can use the buttons, add field and so on by programmatic code. I tried to open the program contab.exe from vfp but its not possible, I tried to call debug from my form but it's not allowed so I cannot check using debug. If i call ccode=object.readmethod("init") on any of my created forms I can have the complete code but doing the same in the contab.exe forms i just have: "init" Can you understand what I mean?

>If you "do contab.exe" from VFP IDE, does it run? If it does, then you should be able to fire up the debugger from your add-on code. A "set step on" before the createform() call should do it. Even if the source code is removed, the code should still break on breakpoints based on variables, aliases, program() etc and you should be able to see the variables in the debugger.

>Another way is to "set procedure to contab.exe" from VFP IDE, but that gives you mostly the prg code and classes defined in it; if you know the names of the procedures, you may run some of them, assuming you have some idea what they are doing.

I tried con do contab.exe from vfp ide and it's giving me error about program was compiled in different version of foxpro, I think it has some anti-decoding layer. The same as set procedure to. Thank you for your help. I'm doing some research between people inside the company to help me to find the code needed, not easy but trying...
John Harold Belalcázar Lozano
Associate Director Of Development
http://www.belvicto.co/
jhbelalc@gmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform