A structure member is used wherein a circuit board is connected to a solid-state
image pickup element and placed between a portion of the structure member to which
the solid-state image pickup element is attached, and another portion to which
a light-transmitting member is attached, and the circuit board is sealed integrally
into the structure member. The solid-state image pickup element is attached to
a through-opening portion 1C, and a light-transmitting member is attached
so as to cover the through-opening portion 1C with being separated from
the solid-state image pickup element by a predetermined distance. In a process
of molding the structure member, the circuit board is integrally molded, whereby
the manpower can be reduced, and the structures of the attaching portions can be
simplified to miniaturize the device.