Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with GetLongPathName()
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00871372
Message ID:
00871387
Vues:
14
select LABORHIS

afields( aStruct )

create cursor TIMESHEET from array aStruct 
alter table TIMESHEET add column PRINT_IT L(1)
alter table TIMESHEET add column PROJECT C(10)
alter table TIMESHEET add column COST_CENT C(15)
alter table TIMESHEET add column WO_TYPE C(2)

select TIMESHEET    && I think this is where Error Messages shows.
But honestly I don't know if the code they use is exactly the same, since they (the customer) is using version dating back about 1.5 years. But I don't remember making changes to this particular code.

Do you see anything wrong with the code above?




>How do you create this cursor? Can you post a piece of code that creates a cursor and where error is generated?
>>
>>Thank you so much for your helpful reply. Let me explain about the actual problem the customer is having.
>>
>>In my program I have a code creating a cursor. Then when program tries to select the cursor, the customer gets error message:
>>
>>
>>File 'c:\temp\Gw9eoi14.tmp' does not exist.
>>
>>
>>So I thought that they are having problem with VFP 6 app creating cursor in a TEMP folder but not finding it. That is why I sent them a little test program to determine where their PC/OS is looking for a temp file.
>>
>>They say that this code (creating and using a cursor) used to work, not consistently, but still worked. But now it stopped working with the above error message.
>>
>>Do you think that the problem is related to the fact that WinNt does not support GetLongPathName?
>>
>>Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform