A cantilever-based probe is introduced for use in scanning near-field optical microscopy (SNOM) combined with scanning atomic-force microscopy (AFM). The probes consist of silicon cantilevers with integrated 25-mum-high fused-silica tips. The probes are batch fabricated by microfabrication technology. Transmission electron microscopy reveals that the transparent quartz tips are completely covered with an opaque aluminum layer before the SNOM measurement. Static and dynamic AFM imaging was performed. SNOM imaging in transmission mode of single fluorescent molecules shows an optical resolution better than 32 nm.