Ultrasound has been found to enhance N-substitution against elimination in the reaction of carbazole-containing bromides 3 with a Disperse Orange 3 derivative 2 under PTC condition. Upon using combined PTC and ultrasound conditions, a series of bifunctional molecules 1 have been prepared to possess charge-transporting agents and nonlinear optical chromophores in 2: 1 ratio.