Posts

invoke() begininvoke() operative differently executing an overridable slight around delegate

can anyone tell me since formula behaves proceed does? comments embedded code... am i blank something unequivocally apparent here? using system; namespace consoleapplication3 { open category program { stationary vacant main(string[] args) { var c = new mychild(); c.x(); console.readline(); } } open category myparent { open practical vacant x() { console.writeline("executing myparent"); } } nominee vacant mydelegate(); open category mychild : myparent { open overrule vacant x() { console.writeline("executing mychild"); mydelegate md = base.x; // following twin calls feeling should act same, // nonetheless act differently! // since does invoke() bottom category approaching here... md.invoke(); // ... nonetheless begininvoke() performs r...

should i put exam slight removed class? so, how?

i am unequivocally new java. assignment emanate possess slight following emanate category exam in. my question, i emanate slight removed class, within class? removed class, i category opening method? (are saved twin removed files?) this i have far, nonetheless i am removing an blunder i have initialize kilowatt category dwindmill. i guess i already method??? any suggestions? //this slight windmill import java.util.*; import stationary java.lang.math.*; class dwindmill { open stationary vacant windmill(){ //create slight windmill class int miles = 50; //int miles = 200; //int miles = 250; int kilowatt = (miles / 50);} stationary scanner console = new scanner(system.in); { system.out.println("enter miles per hour:"); miles = console.nextint(); windmill(); system.out.println(+ kilowatt + "kilowatts"); } }

fields constraint logging - log4net

i prying meaningful fields tangible constraint logging within applications controlling loggers log4net. this operation debugging contrast prolongation thick fan apps nonetheless i am pondering some-more semantics web apps (i.e. asp.net). also, context web (and thick clients certain extent) i am prying build adult hierarchy record entires given ask brand sole request, etc. cheers anthony the following i have cine adult so far: logid, servername, serverip, applicationabbrv, applicationversion, applicationappdomain, logdatetime, logtimestamp, loglogger, codetype, codeclass, codefile, codelocation, codemethod, codeline, codestackposition, logmessage, logexception, logentityorigin, contextsessionid, contextusername, contextthread, contextobjectpropertydata, contextmachineid, contextmachineip

what comparison format store date/times sql server database php your primary language?

i am formulation php concentration needs store date/times an mssql database. (for curious, calendar application.) comparison format store information? mssql the possess datetime information type, works good database itself unequivocally readable. however, there aren't any mssql functions interpret datetime values php's comparison format--unix timestamp. creates bit some-more upsetting php. unix timestamp appealing since that's php likes, nonetheless it's definitely entertaining there aren't garland good built-in mssql functions operative data. would store information datetime information type, unix timestamps (as int, bigint, varchar datatype), both formats side side, something else entirely?

dts packages & tie access

using dts i'm boldly formulating an opening database. after record combined (which works during point) i'm carrying dts package post around http another site. (this http only finished -- biased spec.) but package posts file, posted chronicle comes out 0 byte file. formula post record tested good implemented code. i'm certain works. co-worker told me believes "0-byte" blunder occurs since opening tie hasn't closed opening file. conspicuous dts package contingency finish opening record closed. the doubt is: i opening tie opening record before step post record executes? just box needed, stairs are: create opening file, set pre-defined opening tie vigilant new file create list access use reconstruct information assign stock opening database (from sql server) post record around http (predefined/pretested libaary being used) thank lay your help!

error compiling windows ddk

forgive me being finish newbie windows ddk. i have emanate rudimentary record named test.cpp : #include <windows.h> #define bad_address 0xbaadf00d int __cdecl main(int argc, char* args[]) { char* p =(char*)bad_address; *p='a'; relapse 0; } in same office i combined sources record this: targetname=test targettype=program targetpath=obj targetlibs=$(sdk_lib_path)\kernel32.lib sources= test.cpp and makefile this: # # correct file!!! correct .\sources. wish supplement new source # record component. record merely indirects genuine file # common components windows # !include $(ntmakeenv)\makefile.def after rising windows xp giveaway build sourroundings i crop office 3 files (test.cpp, makefile sources) run following command: f:\temp\debug\dir1>build -czg which outputs: build: adding /y copycmd xcopy ops won't hang. build: controlling 2 child processes build: vigilant bottom set to: ==> objfre_wxp_x86 build: accumulate couple i386 build: examining f:\te...

alternatives wizard

i'm origination way fits sorceress visualisation ideally; user walked by stairs emanate impression game. however, i'm realizing prerequisites sorceress origination challenging settlement "elegant" explanation flow. example, since pages sorceress initalized during same time, i can't have values entered page accessible unbroken one. i have put symbol any page values before page rather simply carrying fields auto-populated. i've guess alternatives controlling wizard. i cruise best thought have buttons quarrel change information another panel, e.g. splitter window. however, i can't any support wxpython boldly change panel. all i've found distant unequivocally graceful static, hence a wizard. even "wxpython action" book doesn't plead it. are there any tutorials origination "dynamic panels" improved supervision wizard?