Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hexedit not working
Message
 
To
07/10/1997 15:49:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00053580
Message ID:
00053590
Views:
22
>>>I tried to run c:\vfp50\tools\hexedit
>>>and it does not seem to be working.
>>>Is anybody else having this problem?
>>>I am trying to convert hex to Decimal.
>>>thanks
>>
>>Rob,
>>
>>If you can't run the app because it's corrupt, rebuild the project. I have a feeling from the way your question is phrased, however, that you might be trying to do something that it wasn't designed to do. hexedit.app is a low level file editor, which can be used for view and changing the acutal contents of a file. If you're simply trying to convert hex to dec, the Windows calculator can do that for you.
>>
>>George
>
>I use the Windows calculator to convert. (thanks) I was checking your work.
>64 is 40 in hex. under CommonDialog Control Constants, I found 40 under PrintSetup. that is why you used 64 as your flag. Had to check
>for myself. DLLs is the only way to go. It there a web page that is loaded
>with DLLs?
>:)

Rob,

I'm not 100% sure of exactly what it is you're asking here, but I'm going to try to answer what I think you're asking. If I miss the mark a bit, please forgive.

Interfacing with some of the Windows DLLs can extend the functionality of an application. Unfortunately, communicating with some of the more useful ones (like Comdlg32.dll) can be extremely complex, and, in some cases, beyond the ability of a given development environment. In many instances, the dll requires a structure, which may contain pointers to other structures (see my response on terminating a running application earlier today). While passing a structure can be done from VFP, passing one with pointers to other structures is complete beyond VFPs ability (unless, of course, you use a control like Paul Vlad Tatavu's Pointers Class).

Enter ActiveX controls, these controls mask these complexities. Basically, you fill in the blanks and the control does the rest. Most of these controls are written in C++, but VB has a control creation edition as well. Theoretically, an ActiveX control can be used in any development environment that supports them. There is an enormous upside to them, in that they can provide additional functionality to any development environment. It's still pretty early in the ActiveX game, and you may have noticed some negative comments here because, in some instances, they can be pretty buggy.

I get most of my information regarding the Windows API and associated DLLs from the Microsoft Developer Network (MSDN) CDs. But the knowledge base also can be a source of information.

HTH,

George
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform