Skip to content

Instantly share code, notes, and snippets.

View jerstlouis's full-sized avatar

Jerome St-Louis jerstlouis

View GitHub Profile
import "ecere"
enum FancyState { start, finish, fail };
class FancyString : struct
{
public property const String s
{
set { s = CopyString(value); }
get { return s; }
import "ecere"
enum FancyState { start, finish, fail };
class FancyString : struct
{
public property const String s
{
set { s = CopyString(value); }
get { return s; }
import "ecere"
define app = (GuiApplication)__thisModule.application;
enum FancyState { start, finish, fail };
class FancyString : struct
{
public property const String s
{
(gdb)
*20141105-143226* src\debugger\Debugger.ec: 1659: GDB Command: -exec-step
^running
*running,thread-id="1"
(gdb)
&"Warning:\n"
&"Cannot insert breakpoint -102.\n"
&"Cannot access memory at address 0x661eb6a6\n"
&"Cannot insert breakpoint -101.\n"
&"Cannot access memory at address 0x69f6db66\n"
I/ActivityManager( 1073): Start proc com.ecere.test01 for activity com.ecere.test01/android.app.NativeActivity: pid=15110 uid=10083 gids={50083, 3003, 1028}
W/ContextImpl( 1073): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1543 com.nvidia.ControllerMapper.MapperClient$ServiceClient.connect:597 com.nvidia.ControllerMapper.MapperC
iewRootImpl$ViewRootHandler.handleMessage:3185 android.os.Handler.dispatchMessage:102
W/ContextImpl( 1073): Implicit intents with startService are not safe: Intent { act=com.nvidia.ControllerMapper.START_SERVICE } com.nvidia.ControllerMapper.MapperClient$ServiceClient.connect:597 com.nvidia.ControllerMapper.MapperC
iewRootImpl$ViewRootHandler.handleMessage:3185
W/ControllerMapper( 1776): Skipped mapper file url : http://ota.nvidia.com/ota/mapper/query.php?p=com.ecere.test01
I/dalvikvm(15110): Enabling JNI app bug workarounds for target SDK version 9...
V/PhoneStatusBar( 1433): setLightsOn(true)
W/NvAppProfileService( 1073): App
class HiddenWindow : Window
{
alphaBlend = true;
hasMinimize = true;
opacity = 0;
size = { 1, 1 };
}
HiddenWindow hidden { };
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>ec</string>
<string>eh</string>
</array>
<key>name</key>
TAHOMA.TTF
MEIRYO.TTC,Meiryo,128,85
MEIRYO.TTC,Meiryo
MSGOTHIC.TTC,MS UI Gothic
MSJH.TTF,128,96
MSJH.TTF
MSYH.TTF,128,96
MSYH.TTF
MALGUN.TTF,128,96
MALGUN.TTF
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\jerome>cd "\Program Files"
C:\Program Files>cd "Ecere SDK"
C:\Program Files\Ecere SDK>bin
'bin' is not recognized as an internal or external command,
operable program or batch file.
unsigned int OnReceive(const unsigned char * buffer, unsigned int count)
{
String s = RSearchString(buffer, "</Rows>", count, false, true);
if(s)
{
int len = s - buffer + 7 /* sizeof("</Rows>") */;
String sql = new char[len + 1];
memcpy(sql, s, len);
sql[len] = '\0';
theForm.setSQL(sql);