Patch level : 2003 582
Files correlati : xvaga.dll Ricompilazione Demo : [ ] Commento : GF20096 Inserisco un documento con una riga omaggio con qta e prezzo, dò registra ma qundo esco proprio dalla voce di menù documenti interattivi mi dà errorre VE0 questo programma ha eseguito un'operazione non valida e sarà terminato. git-svn-id: svn://10.65.10.50/trunk@11445 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8aedaf353f
commit
ef60f5180e
@ -2518,6 +2518,8 @@ BOOLEAN xvt_fsys_get_dir(DIRECTORY *dirp)
|
||||
BOOLEAN xvt_fsys_is_removable_drive(const char* path)
|
||||
{
|
||||
#ifdef WIN32
|
||||
if (path != NULL && path[0] == '\\' && path[1] == '\\')
|
||||
return FALSE;
|
||||
char drive[_MAX_DRIVE+1];
|
||||
xvt_fsys_parse_pathname(path,drive,NULL,NULL,NULL,NULL);
|
||||
strcat(drive,"\\");
|
||||
@ -2533,6 +2535,8 @@ BOOLEAN xvt_fsys_is_removable_drive(const char* path)
|
||||
BOOLEAN xvt_fsys_is_network_drive(const char* path)
|
||||
{
|
||||
#ifdef WIN32
|
||||
if (path != NULL && path[0] == '\\' && path[1] == '\\')
|
||||
return TRUE;
|
||||
char drive[_MAX_DRIVE+1];
|
||||
xvt_fsys_parse_pathname(path,drive,NULL,NULL,NULL,NULL);
|
||||
strcat(drive,"\\");
|
||||
@ -2545,6 +2549,8 @@ BOOLEAN xvt_fsys_is_network_drive(const char* path)
|
||||
BOOLEAN xvt_fsys_is_fixed_drive(const char* path)
|
||||
{
|
||||
#ifdef WIN32
|
||||
if (path != NULL && path[0] == '\\' && path[1] == '\\')
|
||||
return FALSE;
|
||||
char drive[_MAX_DRIVE+1];
|
||||
xvt_fsys_parse_pathname(path,drive,NULL,NULL,NULL,NULL);
|
||||
strcat(drive,"\\");
|
||||
@ -3892,10 +3898,16 @@ void xvt_vobj_destroy(WINDOW win)
|
||||
if (_TheCaret.Owner() == win)
|
||||
_TheCaret.Kill();
|
||||
|
||||
CAST_TWIN(win, w);
|
||||
_dc_map.DestroyTDC(&w);
|
||||
|
||||
w.Close(true);
|
||||
if (_nice_windows.Get(win) != NULL)
|
||||
{
|
||||
CAST_TWIN(win, w);
|
||||
_dc_map.DestroyTDC(&w);
|
||||
w.Close(true);
|
||||
}
|
||||
#ifdef DBG
|
||||
else
|
||||
XVT_ASSERT(FALSE); // Happens to list box windows
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user