From: Mario Schulz on
hi,

i recive such this error :

GenCode 1 -> Argument error
SubSystem -> BASE
FuncSym -> REGISTERKID FuncPtr 0x00000000
VO-Description -> PTR belongs to Dynamic Memory
FError 0 = Successful completion
Arg -> 0x04E2C384 -> 0x00000000Calling Stack :
00: 18 - McpErrorHandler - MCPWRITELOGFILE
01: 132 - McpErrorHandler - MCPERRORHANDLER
02: 2 - Predefined IconPushbuttons - OKPUSHBUTTON:INIT
03: 53 - Start - STARTOperating system :


can someone tell me whats wrong ?

bye,
Mario
From: Karl Faller on
Mario
>00: 18 - McpErrorHandler - MCPWRITELOGFILE
what's in this code?

Karl
From: Mario Schulz on
Am 27.07.2010 09:30, schrieb Karl Faller:
> Mario
>> 00: 18 - McpErrorHandler - MCPWRITELOGFILE
> what's in this code?
>
> Karl

LOCAL cAlias AS STRING

cFile := GetMainPfad()+"ERROR.TXT"

StrFile( cFile, "Datum : " + DToC(Today())+" UhrZeit : " + Time() + "
User : " + UserName()+CRLF )
StrFile( cFile, GetErrorDescription(oError) )
StrFile( cFile, GetCallingStack() )
StrFile( cFile, GetOsInfo(iDosError, iFError) +CRLF) <== line18
StrFile( cFile, "DynError " + AsString(DynCheckError())+CRLF)
//StrFile( cFile, ShowGCDump()+CRLF)

From: Geoff Schaller on
Are you going to tell us which is line 18 or do we guess?


"Mario Schulz" <info(a)removethiswegenspamconcept-dv.de> wrote in message
news:i2m3d8$q56$1(a)online.de:

> Am 27.07.2010 09:30, schrieb Karl Faller:
>
> > Mario
>
> >> 00: 18 - McpErrorHandler - MCPWRITELOGFILE
>
> > what's in this code?
> >
> > Karl
>
>
> LOCAL cAlias AS STRING
>
> cFile := GetMainPfad()+"ERROR.TXT"
>
> StrFile( cFile, "Datum : " + DToC(Today())+" UhrZeit : " + Time() + "
> User : " + UserName()+CRLF )
> StrFile( cFile, GetErrorDescription(oError) )
> StrFile( cFile, GetCallingStack() )
> StrFile( cFile, GetOsInfo(iDosError, iFError) +CRLF) <== line18
> StrFile( cFile, "DynError " + AsString(DynCheckError())+CRLF)
> //StrFile( cFile, ShowGCDump()+CRLF)

From: Mario Schulz on
hi Geoff,

sorry maybe to much code ?

StrFile( cFile, GetOsInfo(iDosError, iFError) +CRLF) <== line18

but i only wish an explain what that error code mean... i thought all
ptr belongs to dynmic memory (g) ... or not ?

bye,
Mario