Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Temporary FXP are being created by VC++
Message
 
To
All
General information
Forum:
Visual C++
Category:
Other
Title:
Temporary FXP are being created by VC++
Miscellaneous
Thread ID:
00057204
Message ID:
00057204
Views:
70
>>>Each time I run my Visual C++ program that accesses a VFP 3.0 database, a file is created in the Windows\temp directory. The file has an eight digit name and the fxp extension. Example, 17933319.fxp. It is 22K in length. Any ideas where this is coming from? I had to eliminate 174 of these files that have been created over the last 4 months.
>>>Thanks. Don West.
>>
>>Sounds like Visual C++ does not clean up (temp files) after itself like VFP does. VFP, if exited gracefully, always deletes temporary files it has created during its session. Visual C++, just like VFP is creating a temporary file in the directory defined in the environment variable SET TEMP=C:\WINDOWS\TEMP. I am not familiar enough with C++ to tell you why it does not clean up after itself.
>
>
>Either VC++ or the ODBC Driver or VFP is creating the temp file when I issue an OPEN from C++ on the highest level table in my database. I can open other tables that are lower level and no additional temp files are created. It only happens once during program execution. I'll put out an email on a VC++ user thread if I can find one. Do you know of one? Thanks. Don West.

There is a Visual C++ Forum here (very top of upper frame where it says Universal Thread Forum). I have never heard of ODBC creating temp files, all it is is a means of accessing data -- a conduit so to speak. Since no executable in VFP is launched, I can't see it is VFP creating the temp file. I know nowhere else to steer you for an answer -- except to a VC++ forum and hope someone there with VC experience has seen this.
Reply
Map
View

Click here to load this message in the networking platform