Posts

Emacs + GDB + SCons + Step through Debugging -

when compiling project via makefile using emacs compile command, when gdb run on resultant binary application can stepped through. however, when building using large project scons, attempting step through not work in emacs doesn't seem know files load or how they're related binary. what 1 have do step through in emacs? if emacs can't support scons natively how can done manually; make must using mechanism alert emacs file's presence. are sure make , scons compile options same? sounds scons build lacking debug symbols (in gcc, use -g option).

dynamic linking - dynamically link one lib to another lib at build time, yet link statically into iphone app -

i've got lib, a, can linked iphone app itself. i'd make 2 other libs, b , c, depend on a. an app may want built linking libs statically in of these combinations: a, a+b, a+c, or a+b+c. however, when building b or c, i'd them link dependent lib dynamically, e.g. b depends on not copy statically. possible? note: i'm not asking if libs can dynamically link apps. i'm trying find out if libs can dynamically linked @ compile time, such lib not contain copy of dependent lib inside of itself. @ when building app, user can statically link of above allowable combinations above. iphone apps not support dynamic linking of third-party libraries.

winforms - Interprocess communication using sockets between windows service and form app -

i need send command windows service windows form. have tried executecommand of servicecontroller had hard time testing. i planning use sockets ipc can receive feedback. if 1 find similar example great. thanks. if don't mind third-party solution, our msgconnect ( http://www.eldos.com/msgconnect/ ) designed purpose , has sample. msgconnect can use mmf or sockets transport.

c# - Deepclone issue with child object need deep serializing -

i've got issue when implementing deepclone serialization/deserialization way. fact: want class owndataset have deepclone instance, 2 below common procedures - constructor , getobjectdata declared: protected owndataset(serializationinfo info, streamingcontext context) : base(info, context) { dstype = datasettype.standard; attributes = new ownattributelist( (list<ownattribute>) info.getvalue("attributes", typeof (list<ownattribute>))); islinkedds = info.getboolean("islinkedds"); pcaforscores = (pca)info.getvalue("pcaforscores", typeof(pca)); levels = (string[])info.getvalue("levels", typeof(string[])); } [securitypermission(securityaction.demand, serializationformatter = true)] public override void getobjectdata(serializationinfo info, streamingcontext context) { base.getobjectdata(info, context); info.addvalue...

cocoa touch - App to display safari cookies on iphone -

i want make app in iphone such displays history of safari browser in iphone. means want access safari cookies through other app. first time m placing query on overflow...... can please let me know this... please reply i don't know whether work or not can try using nshttpcookie , nshttpcookiestorage classes... code similar nshttpcookiestorage *cookiestorage = [nshttpcookiestorage sharedhttpcookiestorage]; nsurl *url; nsarray *cookies; nsstring *cookiestring = @""; cookies = [cookiestorage cookies]; if([cookies count] > 0) { nshttpcookie *cookie =[cookies objectatindex:0]; cookiestring = [nsstring stringwithformat: @"%@=%@", [cookie name], [cookie value]]; nslog(cookiestring); }

asp.net - Request.Form in Inline Data-Binding Code -

i've got asp:repeater on page holds < input type="radio" elements. appreciate asp:radiobuttonlist control used this, problem after radio buttons require textbox enabled using javascript when associated radio button in repeater clicked (while other textboxes in repeater disabled), hence decision use native html elements. problem validation; if text box blank when posting want display warning , force user enter text, leaving radio button selected checked. request.form collection doesn't appear populated when accessing between <%# ... %> placeholders, , therefore unabled detect selected radio button write "checked" attribute to. any suggestions on how read request.form collection in order check appropriate radio button input element? edit - requested, below html markup used in repeater: <asp:repeater id="choicerepeater" runat="server"> <itemtemplate> <input type="radio" name...

javascript - Background Page in popup- chrome extension -

i embedding dynamic webpage in popup. working , every time popup loaded webpage loaded again, me losing work did on webpage in popup. though fine, want webpage remain loaded in background , show in popup on click. copied complete code pop page(script+html) background.html. how should access page in popup , show directly(i want show html also-from background page) thanks popups live in same process (the extension process) background page, , 1 page can dom window of other. popup gets background page calling chrome.extension.getbackgroundpage() . every time open popup, read , write variable on background page, example chrome.extension.getbackgroundpage().entereddata = "value"; . alternately, can use html5 localstorage store variables after browser shut down; e.g. localstorage['entereddata'] = "value" .