Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

c++ - How to define where libs are loaded from -


i trying compile omniorb on aix 6.1 gcc 4.2.0.

the initialization not work picking non pthreaded library.

if set libpath /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/ omninames not work, streams interface gives exception.

setting libpath /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/pthread seems work, other non pthreaded programs pick pthreaded lib may cause problems...

the link looks this:

g++ -o omninames -o2 -wall -wno-unused -fexceptions -wl,-brtl -wl,-blibpath:/lib:/usr/lib:/opt/dbx/omniorb-4/lib -l../../../lib -l../../../../lib omninames.o namingcontext_i.o log.o omninameswin.o -lomniorb4-ar -lomnithread34 -lpthreads 

how resolve ??

note have tried change libpath using configure arguments without success.

launching via wrapper script set libpath correctly easiest.

then there runpath/rpath feature of elf allows embded search path dynamic libraries in executable; don't know if aix implement it. it , set same argument linux , solaris, -wl,--enable-new-dtags -wl,-r$(runpath) dt_runpath, -wl,--disable-new-dtags -wl,-r$(rpath) dt_rpath; may want test -wl,-r$(rpath) (which set dt_rpath).


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -