Invalid memory access x64
Posted: Tue Dec 31, 2013 9:03 pm
I have this procedure
Procedure.S ConvertCFStringIntoString(CFStringRef)
Protected String.s = Space(256)
If CFStringRef
CFStringGetCString(CFStringRef, @String, Len(string), 0) <--- Invalid memory access
EndIf
ProcedureReturn Trim(String)
EndProcedure
I only get this error when I compile to x64, it works in x86?
Anyone know why it would not work in 64-bit mode?
Thanks All
Procedure.S ConvertCFStringIntoString(CFStringRef)
Protected String.s = Space(256)
If CFStringRef
CFStringGetCString(CFStringRef, @String, Len(string), 0) <--- Invalid memory access
EndIf
ProcedureReturn Trim(String)
EndProcedure
I only get this error when I compile to x64, it works in x86?
Anyone know why it would not work in 64-bit mode?
Thanks All